diff --git a/packages/Castle.Core.5.1.1/.signature.p7s b/packages/Castle.Core.5.1.1/.signature.p7s new file mode 100644 index 000000000..e32d4930c Binary files /dev/null and b/packages/Castle.Core.5.1.1/.signature.p7s differ diff --git a/packages/Castle.Core.5.1.1/ASL - Apache Software Foundation License.txt b/packages/Castle.Core.5.1.1/ASL - Apache Software Foundation License.txt new file mode 100644 index 000000000..e259b5841 --- /dev/null +++ b/packages/Castle.Core.5.1.1/ASL - Apache Software Foundation License.txt @@ -0,0 +1,57 @@ +Apache License, Version 2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and + + 2. You must cause any modified files to carry prominent notices stating that You changed the files; and + + 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS diff --git a/packages/Castle.Core.5.1.1/CHANGELOG.md b/packages/Castle.Core.5.1.1/CHANGELOG.md new file mode 100644 index 000000000..19edd6140 --- /dev/null +++ b/packages/Castle.Core.5.1.1/CHANGELOG.md @@ -0,0 +1,441 @@ +# Castle Core Changelog + +## 5.1.1 (2022-12-30) + +Bugfixes: +- Proxies using records derived from a base generic record broken using .NET 6 compiler (@CesarD, #632) +- Failure proxying type that has a non-inheritable custom attribute type applied where `null` argument is given for array parameter (@stakx, #637) +- Nested custom attribute types do not get replicated (@stakx, #638) + +## 5.1.0 (2022-08-02) + +Enhancements: +- Support for covariant method returns (@stakx, #619) +- Performance improvement with proxy type generation for class proxies (without target). Abstract class methods now reuse a predefined invocation type (like methods of interface proxies without target; see explanation below at version 5.0.0 enhancements) (@stakx, #626) + +Bugfixes: +- DynamicProxy emits invalid metadata for redeclared event (@stakx, #590) +- Proxies using records with a base class broken using .NET 6 compiler (@ajcvickers, #601) +- `MissingMethodException` when proxying interfaces containing sealed methods (@stakx, #621) + +## 5.0.0 (2022-05-11) + +Enhancements: +- .NET 6.0 support (@Jevonius, #616) +- .NET Standard 2.0 and 2.1 support (@lg2de, #485) +- Non-intercepted methods on a class proxy with target are now forwarded to the target (@stakx, #571) +- Significant performance improvements with proxy type generation for interface proxies without target. Up until now, DynamicProxy generated a separate `IInvocation` implementation type for every single proxied method – it is now able to reuse a single predefined type in many cases, thereby reducing the total amount of dynamic type generation. (@stakx, #573) + +Bugfixes: +- Generic method with differently named generic arguments to parent throws `KeyNotFoundException` (@stakx, #106) +- Proxying certain `[Serializable]` classes produces proxy types that fail PEVerify test (@stakx, #367) +- `private protected` methods are not intercepted (@CrispyDrone, #535) +- `System.UIntPtr` unsupported (@stakx, #546) +- DynamicProxy generates two modules when proceeding from a class proxy's protected method to the target, causing an `InvalidOperationException` when saving the generated assembly to disk (@stakx, #569) +- Upgrade log4net to v2.0.13 (@jonorossi, @stakx, @dschwartzni, #574, #605) + +Deprecations: +- Removed support for the .NET Framework < 4.6.2 and .NET Standard 1.x. (@stakx, #495, #496; @Jevonius, #614) +- Removed support for Code Access Security (CAS). (@stakx, #502) +- Removed support for Remoting. This library no longer defines any types deriving from `MarshalByRefObject`, and `ProxyUtil.IsProxy` (which used to recognize remoting/"transparent" proxies) now tests only for DynamicProxy proxies. (@stakx, #507) +- The following public members have been removed: + - `Castle.Core.Internal.CollectionExtensions` (class) + - `Castle.Core.Internal.Lock` (class) along with all related types and methods + - `Castle.Core.Internal.PermissionUtil.IsGranted` (method) + - `Castle.Core.Pair<,>` (type). Use `System.ValueTuple<,>` or `System.Tuple<,>` instead. + - all type members in `Castle.DynamicProxy.ModuleScope` that gave direct access to DynamicProxy's type cache and `ModuleBuilder`s. Only `SaveAssembly`, `LoadAssemblyIntoCache`, and members supporting these two facilities are left public. + - almost all types and type members in the `Castle.DynamicProxy.*` sub-namespaces, as most of them are intended for internal use only. + - DynamicProxy's custom exception types have been replaced by standard BCL exceptions (where appropriate), and by a single `DynamicProxyException` type for internal DynamicProxy errors. + +## 4.4.1 (2020-05-06) + +Bugfixes: +- Prevent method name collisions when a proxy type implements more than two identically named interfaces having one or more identically named methods each. Name collisions are avoided by including the declaring types' namespaces in the proxy type's method names. (@stakx, #469) +- Reduce lock contention while generating new proxy types which previously blocked new proxy instances (@tangdf, #484) +- Fix mixins where proxy constructor fields were ordered differently to interfaces because of different case comparisons (@zapov, #475) +- Fix proxy generation for types having only a `private protected` constructor (@mriehm, #491) + +## 4.4.0 (2019-04-05) + +Enhancements: +- Added trace logging level below Debug; maps to Trace in log4net/NLog, and Verbose in Serilog (@pi3k14, #404) +- Recognize read-only parameters by the `In` modreq (@zvirja, #406) +- DictionaryAdapter: Exposed GetAdapter overloads with NameValueCollection parameter in .NET Standard (@rzontar, #423) +- Ability to add delegate mixins to proxies using `ProxyGenerationOptions.AddDelegate[Type]Mixin`. You can bind to the mixed-in `Invoke` methods on the proxy using `ProxyUtil.CreateDelegateToMixin`. (@stakx, #436) +- New `IInvocation.CaptureProceedInfo()` method to enable better implementations of asynchronous interceptors (@stakx, #439) + +Deprecations: +- The API surrounding `Lock` has been deprecated. This consists of the members listed below. Consider using the Base Class Library's `System.Threading.ReaderWriterLockSlim` instead. (@stakx, #391) + - `Castle.Core.Internal.Lock` (class) + - `Castle.Core.Internal.ILockHolder` (interface) + - `Castle.Core.Internal.IUpgradeableLockHolder` (interface) +- You should no longer manually emit types into DynamicProxy's dynamic assembly. For this reason, the following member has been deprecated. (@stakx, #445) + - `Castle.DynamicProxy.ModuleScope.DefineType` (method) +- The proxy type cache in `ModuleScope` should no longer be accessed directly. For this reason, the members listed below have been deprecated. (@stakx, #391) + - `Castle.DynamicProxy.ModuleScope.Lock` (property) + - `Castle.DynamicProxy.ModuleScope.GetFromCache` (method) + - `Castle.DynamicProxy.ModuleScope.RegisterInCache` (method) + - `Castle.DynamicProxy.Generators.BaseProxyGenerator.AddToCache` (method) + - `Castle.DynamicProxy.Generators.BaseProxyGenerator.GetFromCache` (method) + - `Castle.DynamicProxy.Generators.CacheKey` (class) + - `Castle.DynamicProxy.Serialization.CacheMappingsAttribute.ApplyTo` (method) + - `Castle.DynamicProxy.Serialization.CacheMappingsAttribute.GetDeserializedMappings` (method) + +## 4.3.1 (2018-06-21) + +Enhancements: + - Use shared read locking to reduce lock contention in InvocationHelper and ProxyUtil (@TimLovellSmith, #377) + +Bugfixes: +- Prevent interceptors from being able to modify `in` parameters (@stakx, #370) +- Make default value replication of optional parameters more tolerant of default values that are represented in metadata with a mismatched type (@stakx, #371) +- Fix a concurrency issue (writing without taking a write lock first) in `BaseProxyGenerator.ObtainProxyType` (@stakx, #383) + +Deprecations: +- `Castle.DynamicProxy.Generators.Emitters.ArgumentsUtil.IsAnyByRef` (@stakx, #370) + +## 4.3.0 (2018-06-07) + +Enhancements: +- Added .NET Standard/.NET Core support for NLog (@snakefoot, #200) +- Added .NET Standard/.NET Core support for log4net (@snakefoot, #201) +- DynamicProxy supported C# `in` parameter modifiers only on the .NET Framework up until now. Adding .NET Standard 1.5 as an additional target to the NuGet package makes them work on .NET Core, too (@stakx, #339) +- Replicate custom attributes on constructor parameters in the generated proxy type constructors to fulfill introspection of constructors. This does not change the proxying behavior. (@stakx, #341) +- Improve performance of InvocationHelper cache lookups (@tangdf, #358) +- Improve fidelity of default value replication of optional parameters to fulfill inspection of the generated proxies. This does not change the proxying behavior. (@stakx, #356) +- Improve cache performance of MethodFinder.GetAllInstanceMethods (@tangdf, #357) + +Bugfixes: +- Fix Castle.Services.Logging.Log4netIntegration assembly file name casing which breaks on Linux (@beginor, #324) +- Fix Castle.DynamicProxy.Generators.AttributesToAvoidReplicating not being thread safe (InvalidOperationException "Collection was modified; enumeration operation may not execute.") (@BrunoJuchli, #334) +- Fix TraceLoggerFactory to allow specifying the default logger level (@acjh, #342) +- Ensure that DynamicProxy doesn't create invalid dynamic assemblies when proxying types from non-strong-named assemblies (@stakx, #327) +- Fix interceptor selectors being passed `System.RuntimeType` for class proxies instead of the target type (@stakx, #359) +- Replace NullReferenceException with descriptive one thrown when interceptors swallow exceptions and cause a null value type to be returned (@jonorossi, #85) + +## 4.2.1 (2017-10-11) + +Bugfixes: +- Add missing equality checks in `MethodSignatureComparer.EqualSignatureTypes` to fix `TypeLoadException`s ("Method does not have an implementation") (@stakx, #310) +- Add missing XML documentation files to NuGet packages (@fir3pho3nixx, #312) + +## 4.2.0 (2017-09-28) + +Enhancements: +- Add IProxyTargetAccessor.DynProxySetTarget to set the target of a proxy (@yallie, #293) +- Internal dynamic proxy fields are now private instead of public (@spencercw, #260) + +Bugfixes: +- Make ProxyUtil.IsAccessible(MethodBase) take into account declaring type's accessibility so it doesn't report false negatives for e.g. public methods in inaccessible classes. (@stakx, #289) +- Fix InvalidCastException calling IChangeProxyTarget.ChangeProxyTarget proxying generic interfaces (@yallie, #293) +- Ignore minor/patch level version for AssemblyVersionAttribute as this creates binding errors for downstream libraries (@fir3pho3nixx, #288) +- Fix DictionaryAdapter firing NotifyPropertyChang(ed/ing) events after CancelEdit (@Lakritzator, #299) +- Fix ArgumentException when overriding method with nested generics (@BitWizJason, #297) +- Explicit package versioning applied within solution to avoid maligned NuGet upgrades for lock step versioned packages. (@fir3pho3nixx, #292) + +Deprecations: +- IChangeProxyTarget.ChangeProxyTarget is deprecated in favor of IProxyTargetAccessor.DynProxySetTarget (@yallie, #293) + +## 4.1.1 (2017-07-12) + +Bugfixes: +- Prevent member name collision when proxy implements same generic interface more than twice (@stakx, #88) +- Fix incorrect replication (reversed order) of custom modifiers (modopts and modreqs) on the CLR, does not work yet on Mono (@stakx, #277) +- Fix COM interface proxy error case throwing exceptions trying to release null pointer from QueryInterface (@stakx, #281) + +## 4.1.0 (2017-06-11) + +Breaking Changes: +- Remove AllowPartiallyTrustedCallersAttribute, which wasn't defined by default (@fir3pho3nixx, #241) +- Upgrade log4net to v2.0.8 (@fir3pho3nixx, #241) + +Enhancements: +- Add ProxyUtil.IsAccessible to check if a method is accessible to DynamicProxyGenAssembly2 (Blair Conrad, #235) +- Refactor build engineering to support AppVeyor and TravisCI (@fir3pho3nixx, #241) + +Bugfixes: +- Fix order of class proxy constructor arguments when using multiple mixins (@sebastienros, #230) +- Fix dependency on "System.ComponentModel.TypeConverter" NuGet package version that does not exist (#239) +- Fix ParamArrayAttribute not being replicated in proxy (@stakx, #121) +- Fix System.Net.Mail.SmtpClient is obsolete on Mono warning (#254) + +## 4.0.0 (2017-01-25) + +Breaking Changes: +- Update to NLog 4.4.1 and remove beta .NET Core support for NLog (#228) +- Update to log4net 2.0.7 (#229) + +Bugfixes: +- Fix CustomAttributeInfo.FromExpression for VB.NET (@thomaslevesque, #223) + +## 4.0.0-beta002 (2016-10-28) + +Breaking Changes: +- Rework Serilog integration to accept an ILogger rather than a LoggerConfiguration to work correctly with Serilog (#142, #211) +- Remove obsolete property `AttributesToAddToGeneratedTypes` from `ProxyGenerationOptions` (#219) +- Change type of `ProxyGenerationOptions.AdditionalAttributes` to `IList` (#219) +- Remove `IAttributeDisassembler` which is no longer necessary (#219) + +Enhancements: +- Add IProxyGenerator interface for the ProxyGenerator class (#215) +- Improve default list of attributes to avoid replicating. Code Access Security attributes and MarshalAsAttribute will no longer be replicated (#221) + +Bugfixes: +- Fix building on Mono 4.6.1 +- Different attributes in `ProxyGenerationOptions.AdditionalAttributes` now generates different proxy types (#219) + +## 4.0.0-beta001 (2016-07-17) + +Breaking Changes: +- Update to log4net 1.2.15/2.0.5 (#199) +- Update to NLog 4.4.0-beta13 (#199) +- Update to Serilog 2.0.0 (#199) + +Enhancements: +- .NET Core 1.0 and .NET Standard 1.3 support (Jonathon Rossi, Jeremy Meng) +- Restore DynamicDictionary class + +Bugfixes: +- Fix target framework moniker in NuGet package for .NET Core (#174) + +## 4.0.0-alpha001 (2016-04-07) + +Breaking Changes: +- Remove all Silverlight support (#100, #150) +- Remove DynamicProxy's RemotableInvocation and remoting support for invocations (#110, #65) + +Enhancements: +- .NET Core DNX and dotnet5.4 support via feature conditional compilation (Jonathon Rossi, Jeremy Meng) +- Build script improvements and consolidate version numbers (Blair Conrad, #75, #152, #153) + +Bugfixes: +- Fix 'System.ArgumentException: Constant does not match the defined type' with optional, nullable enum method parameters (Daniel Yankowsky, #141, #149) +- Fix proxy generation hook notification for virtual but final methods (Axel Heer, #148) +- Fix InvalidCastException with custom attribute having an enum array parameter with non-int enum (@csharper2010, #104, #105) +- Update to Mono 4.0.2 and improve Mono support (#79, #95, #102) +- Fix 'System.ArrayTypeMismatchException: Source array type cannot be assigned to destination array type' on Mono (#81) +- Fix 'System.ArgumentException: System.Decimal is not a supported constant type' with optional method parameters (@fknx, #87, #91) +- Fix ProxyGenerator cache does not take into account AdditionalAttributes (@cmerat, #77, #78) +- Fix Castle.Services.Logging.SerilogIntegration.dll missing some assembly info attributes (@imzshh, #20, #82) + +## 3.3.3 (2014-11-06) +- Fix Serilog integration modifies LoggerConfiguration.MinimumLevel (#70) +- Add SourceContext to the Serilog logger (@KevivL, #69) + +## 3.3.2 (2014-11-03) +- fixed #66 - SerilogLogger implementation bug where exceptions were passed through incorrectly + +## 3.3.1 (2014-09-10) +- implemented #61 - Added support for Serilog - contributed by Russell J Baker (@ruba1987) + +## 3.3.0 (2014-04-27) +- implemented #51 - removed abandoned projects: Binder, Pagination, Validator +- implemented #49 - build NuGet and Zip packages from TeamCity - contributed by Blair Conrad (@blairconrad) +- implemented #42 - move complicated BuildInternalsVisibleMessageForType method out of DynamicProxyBuilder - contributed by Blair Conrad (@blairconrad) +- fixed #47 - Calling DynamicProxy proxy methods with multidimensional array parameters - contributed by Ed Parcell (@edparcell) +- fixed #44 - DictionaryAdapter FetchAttribute on type has no effect +- fixed #34 and #39 - inaccessible type parameters should give better error messages - contributed by Blair Conrad (@blairconrad) + +## 3.2.2 (2013-11-30) +- fixed #35 - ParameterBuilder.SetConstant fails when using a default value of null - contributed by (@jonasro) + +## 3.2.1 (2013-10-05) +- fixed #32 - Improve configuration of SmtpClient in sync sending - contributed by Artur Dorochowicz (@ArturDorochowicz) +- fixed #31 - [DynamicProxy] Preserve DefaultValues of proxied method's parameters (in .NET 4.5) +- fixed #30 - tailoring InternalsVisibleTo message based on assembly of inaccessible type - contributed by Blair Conrad (@blairconrad) +- fixed #27 - Allow dynamic proxy of generic interfaces which have generic methods, under Mono 2.10.8 and Mono 3.0.6 - contributed by Iain Ballard (@i-e-b) +- fixed #26 - Proxy of COM class issue, reference count incremented - contributed by Jean-Claude Viau (@jcviau) +- fixed DYNPROXY-188 - CreateInterfaceProxyWithoutTarget fails with interface containing member with 'ref UIntPtr' - contributed by Pier Janssen (@Pjanssen) +- fixed DYNPROXY-186 - .Net remoting (transparent proxy) cannot be proxied - contributed by Jean-Claude Viau (@jcviau) +- fixed DYNPROXY-185 - ProxyUtil.GetUnproxiedInstance returns proxy object for ClassProxyWithTarget instead of its target - contributed by Dmitry Xlestkov (@d-s-x) + +## 3.2.0 (2013-02-16) +- fixed DYNPROXY-179 - Exception when creating a generic proxy (from cache) +- fixed DYNPROXY-175 - invalid CompositionInvocation type used when code uses interface proxies with and without InterceptorSelector + +## 3.1.0 (2012-08-05) +- fixed DYNPROXY-174 - Unable to cast object of type 'System.Collections.ObjectModel.ReadOnlyCollection\`1[System.Reflection.CustomAttributeTypedArgument]' to type 'System.Array' + +## 3.1.0 RC (2012-07-08) +- support multiple inheritance of DA attributes on interfaces. +- BREAKING CHANGE: removed propagated child notifications as it violated INotifyPropertyChanged contract +- improved DictionaryAdapter performance +- generalized IBindingList support for DictionaryAdapters +- added reference support to XmlAdapter +- BREAKING CHANGE: refactored XPathAdapter into XmlAdapter with much more flexibility to support other input like XLinq +- implemented CORE-43 - Add option to skip configuring log4net/nlog +- fixed CORE-44 - NLog logger does not preserver call site info +- fixed DYNPROXY-171 - PEVerify error on generic method definition +- fixed DYNPROXY-170 - Calls to properties inside non-intercepted methods are not forwarded to target object (regression from v2.5) +- fixed DYNPROXY-169 - Support IChangeProxyTarget on additional interfaces and mixins when using CreateInterfaceProxyWithTargetInterface + +## 3.0.0 (2011-12-13) +- no major changes since RC + +## 3.0.0 RC 1 (2011-11-20) +- Applied Jeff Sharps patch that refactored Xml DictionaryAdapter to improve maintainability and enable more complete functionality +- fixed DYNPROXY-165 - Object.GetType() and Object.MemberwiseClone() should be ignored and not reported as non-interceptable to IProxyGenerationHook +- fixed DYNPROXY-164 - Invalid Proxy type generated when there are more than one base class generic constraints +- fixed DYNPROXY-162 - ref or out parameters can not be passed back if proxied method throw an exception + +## 3.0.0 beta 1 (2011-08-14) + +Breaking Changes: +* Removed overloads of logging methods that were taking format string from ILogger and ILogger and IExtendedLogger and didn't have word Format in their name. + * For example: + * void Error(string format, params object[] args); // was removed + * void ErrorFormat(string format, params object[] args); //use this one instead + * impact - low + * fixability - medium + * description - To minimize confusion and duplication those methods were removed. + * fix - Use methods that have explicit "Format" word in their name and same signature. +* Removed WebLogger and WebLoggerFactory + * impact - low + * fixability - medium + * description - To minimize management overhead the classes were removed so that only single Client Profile version of Castle.Core can be distributed. + * fix - You can use NLog or Log4Net web logger integration, or reuse implementation of existing web logger and use it as a custom logger. +* Removed obsolete overload of ProxyGenerator.CreateClassProxy + * impact - low + * fixability - trivial + * description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the method consistent with other methods and to remove confusion + * fix - whenever removed overload was used, use one of the other overloads. +* IProxyGenerationHook.NonVirtualMemberNotification method was renamed + * impact - high + * fixability - easy + * description - to accommodate class proxies with target method NonVirtualMemberNotification on IProxyGenerationHook type was renamed to more accurate + NonProxyableMemberNotification since for class proxies with target not just methods but also fields and other member that break the abstraction will + be passed to this method. + * fix - whenever NonVirtualMemberNotification is used/implemented change the method name to + NonProxyableMemberNotification. Implementors should also accommodate possibility that not + only MethodInfos will be passed as method's second parameter. +* DynamicProxy will now allow to intercept members of System.Object + * impact - very low + * fixability - easy + * description - to allow scenarios like mocking of System.Object members, DynamicProxy will not + disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook) + will still filter them out though. + * fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's + members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods + and if necessary update the code to handle them appropriately. + +Bugfixes: +- fixed CORE-37 - TAB characters in the XML Configuration of a component parameter is read as String.Empty +- fixed DYNPROXY-161 - Strong Named DynamicProxy Assembly Not Available in Silverlight +- fixed DYNPROXY-159 - Sorting MemberInfo array for serialization has side effects +- fixed DYNPROXY-158 - Can't create class proxy with target and without target in same ProxyGenerator +- fixed DYNPROXY-153 - When proxying a generic interface which has an interface as GenericType . No proxy can be created +- fixed DYNPROXY-151 - Cast error when using attributes +- implemented CORE-33 - Add lazy logging +- implemented DYNPROXY-156 - Provide mechanism for interceptors to implement retry logic +- removed obsolete members from ILogger and its implementations + +## 2.5.2 (2010-11-15) +- fixed DYNPROXY-150 - Finalizer should not be proxied +- implemented DYNPROXY-149 - Make AllMethodsHook members virtual so it can be used as a base class +- fixed DYNPROXY-147 - Can't create class proxies with two non-public methods having same argument types but different return type +- fixed DYNPROXY-145 Unable to proxy System.Threading.SynchronizationContext (.NET 4.0) +- fixed DYNPROXY-144 - params argument not supported in constructor +- fixed DYNPROXY-143 - Permit call to reach "non-proxied" methods of inherited interfaces +- implemented DYNPROXY-139 - Better error message +- fixed DYNPROXY-133 - Debug assertion in ClassProxyInstanceContributor fails when proxying ISerializable with an explicit implementation of GetObjectData +- fixed CORE-32 - Determining if permission is granted via PermissionUtil does not work in .NET 4 +- applied patch by Alwin Meijs - ExtendedLog4netFactory can be configured with a stream from for example an embedded log4net xml config +- Upgraded NLog to 2.0 Beta 1 +- Added DefaultXmlSerializer to bridge XPathAdapter with standard Xml Serialization. +- XPathAdapter for DictionaryAdapter added IXPathSerializer to provide hooks for custom serialization. + +## 2.5.1 (2010-09-21) +- Interface proxy with target Interface now accepts null as a valid target value (which can be replaced at a later stage). +- DictionaryAdapter behavior overrides are now ordered with all other behaviors +- BREAKING CHANGE: removed web logger so that by default Castle.Core works in .NET 4 client profile +- added parameter to ModuleScope disabling usage of signed modules. This is to workaround issue DYNPROXY-134. Also a descriptive exception message is being thrown now when the issue is detected. +- Added IDictionaryBehaviorBuilder to allow grouping behaviors +- Added GenericDictionaryAdapter to simplify generic value sources +- fixed issue DYNPROXY-138 - Error message missing space +- fixed false positive where DynamicProxy would not let you proxy interface with target interface when target object was a COM object. +- fixed ReflectionBasedDictionaryAdapter when using indexed properties + +## 2.5.0 (2010-08-21) +- DynamicProxy will now not replicate non-public attribute types +- Applied patch from Kenneth Siewers Møller which adds parameterless constructor to DefaultSmtpSender implementation, to be able to configure the inner SmtpClient from the application configuration file (system.net.smtp). +- added support for .NET 4 and Silverlight 4, updated solution to VisualStudio 2010 +- Removed obsolete overload of CreateClassProxy +- Added class proxy with target +- Added ability to intercept explicitly implemented generic interface methods on class proxy. +- DynamicProxy does not disallow intercepting members of System.Object anymore. AllMethodsHook will still filter them out though. +- Added ability to intercept explicitly implemented interface members on class proxy. Does not support generic members. +- Merged DynamicProxy into Core binary +- fixed DYNPROXY-ISSUE-132 - "MetaProperty equals implementation incorrect" +- Fixed bug in DiagnosticsLoggerTestCase, where when running as non-admin, the teardown will throw SecurityException (contributed by maxild) +- Split IoC specific classes into Castle.Windsor project +- Merged logging services solution +- Merged DynamicProxy project + +## 1.2.0 (2010-01-11) +- Added IEmailSender interface and its default implementation + +## 1.2.0 beta (2009-12-04) +- BREAKING CHANGE - added ChangeProxyTarget method to IChangeProxyTarget interface +- added docs to IChangeProxyTarget methods +- Fixed DYNPROXY-ISSUE-108 - Obtaining replicated custom attributes on proxy may fail when property setter throws exception on default value +- Moved custom attribute replication from CustomAttributeUtil to new interface - IAttributeDisassembler +- Exposed IAttributeDisassembler via ProxyGenerationOptions, so that users can plug their implementation for some convoluted scenarios. (for Silverlight) +- Moved IInterceptorSelector from Dynamic Proxy to Core (IOC-ISSUE-156) + +## 1.1.0 (2009-05-04) +- Applied Eric Hauser's patch fixing CORE-ISSUE-22 + "Support for environment variables in resource URI" +- Applied Gauthier Segay's patch fixing CORE-ISSUE-20 + "Castle.Core.Tests won't build via nant because it use TraceContext without referencing System.Web.dll" +- Added simple interface to ComponentModel to make optional properties required. +- Applied Mark's -- -- patch that changes + the Core to support being compiled for Silverlight 2 +- Applied Louis DeJardin's patch adding TraceLogger as a new logger implementation +- Applied Chris Bilson's patch fixing CORE-15 + "WebLogger Throws When Logging Outside of an HttpContext" + +## Release Candidate 3 +- Added IServiceProviderEx which extends IServiceProvider +- Added Pair class. +- Applied Bill Pierce's patch fixing CORE-9 + "Allow CastleComponent Attribute to Specify Lifestyle in Constructor" +- Added UseSingleInterfaceProxy to CompomentModel to control the proxying + behavior while maintaining backward compatibility. + Added the corresponding ComponentProxyBehaviorAttribute. +- Made NullLogger and IExtnededLogger +- Enabled a new format on ILogger interface, with 6 overloads for each method: + - Debug(string) + - Debug(string, Exception) + - Debug(string, params object[]) + - DebugFormat(string, params object[]) + - DebugFormat(Exception, string, params object[]) + - DebugFormat(IFormatProvider, string, params object[]) + - DebugFormat(IFormatProvider, Exception, string, params object[]) + - The "FatalError" overloads where marked as [Obsolete], replaced by "Fatal" and "FatalFormat". + +## 0.0.1.0 +- Included IProxyTargetAccessor +- Removed IMethodInterceptor and IMethodInvocation, that have been replaced by IInterceptor and IInvocation +- Added FindByPropertyInfo to PropertySetCollection +- Made the DependencyModel.IsOptional property writable +- Applied Curtis Schlak's patch fixing IOC-27 + "assembly resource format only works for resources where the assemblies name and default namespace are the same." + + Quoting: + + "I chose to preserve backwards compatibility by implementing the code in the + reverse order as suggested by the reporter. Given the following URI for a resource: + + assembly://my.cool.assembly/context/moo/file.xml + + It will initially look for an embedded resource with the manifest name of + "my.cool.assembly.context.moo.file.xml" in the loaded assembly my.cool.assembly.dll. + If it does not find it, then it looks for the embedded resource with the manifest name + of "context.moo.file.xml". +- IServiceEnabledComponent Introduced to be used across the project as + a standard way to have access to common services, for example, logger factories +- Added missing log factories +- Refactor StreamLogger and DiagnosticLogger to be more consistent behavior-wise +- Refactored WebLogger to extend LevelFilteredLogger (removed duplication) +- Refactored LoggerLevel order +- Project started diff --git a/packages/Castle.Core.5.1.1/Castle.Core.5.1.1.nupkg b/packages/Castle.Core.5.1.1/Castle.Core.5.1.1.nupkg new file mode 100644 index 000000000..d28ec2289 Binary files /dev/null and b/packages/Castle.Core.5.1.1/Castle.Core.5.1.1.nupkg differ diff --git a/packages/Castle.Core.5.1.1/LICENSE b/packages/Castle.Core.5.1.1/LICENSE new file mode 100644 index 000000000..c8680e417 --- /dev/null +++ b/packages/Castle.Core.5.1.1/LICENSE @@ -0,0 +1,13 @@ +Copyright 2004-2021 Castle Project - http://www.castleproject.org/ + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/packages/Castle.Core.5.1.1/castle-logo.png b/packages/Castle.Core.5.1.1/castle-logo.png new file mode 100644 index 000000000..6ca6bfbc1 Binary files /dev/null and b/packages/Castle.Core.5.1.1/castle-logo.png differ diff --git a/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.dll b/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.dll new file mode 100644 index 000000000..b53eb4f3d Binary files /dev/null and b/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.dll differ diff --git a/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.xml b/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.xml new file mode 100644 index 000000000..463423122 --- /dev/null +++ b/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.xml @@ -0,0 +1,6058 @@ + + + + Castle.Core + + + + + Abstract adapter for the support + needed by the + + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + An element with the same key already exists in the object. + key is null. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Returns an object for the object. + + + An object for the object. + + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + The object is read-only.-or- The has a fixed size. + key is null. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets or sets the with the specified key. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in array at which copying begins. + array is null. + The type of the source cannot be cast automatically to the type of the destination array. + index is less than zero. + array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Abstract implementation of . + + + + + Identifies a property should be represented as a nested component. + + + + + Applies no prefix. + + + + + Gets or sets the prefix. + + The prefix. + + + + Identifies the dictionary adapter types. + + + + + Assigns a specific dictionary key. + + + + + Identifies an interface or property to be pre-fetched. + + + + + Instructs fetching to occur. + + + + + Instructs fetching according to + + + + + Gets whether or not fetching should occur. + + + + + Assigns a property to a group. + + + + + Constructs a group assignment. + + The group name. + + + + Constructs a group assignment. + + The group name. + + + + Gets the group the property is assigned to. + + + + + Suppresses any on-demand behaviors. + + + + + Assigns a specific dictionary key. + + + + + Initializes a new instance of the class. + + The key. + + + + Initializes a new instance of the class. + + The compound key. + + + + Assigns a prefix to the keyed properties of an interface. + + + Key prefixes are not inherited by sub-interfaces. + + + + + Initializes a default instance of the class. + + + + + Initializes a new instance of the class. + + The prefix for the keyed properties of the interface. + + + + Gets the prefix key added to the properties of the interface. + + + + + Substitutes part of key with another string. + + + + + Initializes a new instance of the class. + + The old value. + The new value. + + + + Requests support for multi-level editing. + + + + + Generates a new GUID on demand. + + + + + Support for on-demand value resolution. + + + + + Specifies assignment by reference rather than by copying. + + + + + Removes a property if matches value. + + + + + Removes a property if null or empty string, guid or collection. + + + + + Provides simple string formatting from existing properties. + + + + + Gets the string format. + + + + + Gets the format properties. + + + + + Identifies a property should be represented as a delimited string value. + + + + + Gets the separator. + + + + + Converts all properties to strings. + + + + + Gets or sets the format. + + The format. + + + + Suppress property change notifications. + + + + + Assigns a prefix to the keyed properties using the interface name. + + + + + Indicates that underlying values are changeable and should not be cached. + + + + + Initializes a new instance of the class + that represents a child object in a larger object graph. + + + + + Manages conversion between property values. + + + + + Initializes a new instance of the class. + + The converter. + + + + + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Uses Reflection.Emit to expose the properties of a dictionary + through a dynamic implementation of a typed interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Wraps a with a dynamic object to expose a bit better looking API. + The implementation is trivial and assumes keys are s. + + + + + Contract for manipulating the Dictionary adapter. + + + + + Defines the contract for building typed dictionary adapters. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + The property descriptor. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets the associated with the type. + + The typed interface. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + The property descriptor. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + Another from which to copy behaviors. + The adapter meta-data. + + + + Contract for traversing a . + + + + + Defines the contract for customizing dictionary access. + + + + + Determines relative order to apply related behaviors. + + + + + Copies the dictionary behavior. + + null if should not be copied. Otherwise copy. + + + + Defines the contract for building s. + + + + + Builds the dictionary behaviors. + + + + + Contract for creating additional Dictionary adapters. + + + + + Contract for editing the Dictionary adapter. + + + + + Contract for dictionary initialization. + + + + + Performs any initialization of the + + The dictionary adapter. + The dictionary behaviors. + + + + Defines the contract for building typed dictionary keys. + + + + + Builds the specified key. + + The dictionary adapter. + The current key. + The property. + The updated key + + + + Contract for dictionary meta-data initialization. + + + + + Initializes the given object. + + The dictionary adapter factory. + The dictionary adapter meta. + + + + + Determines whether the given behavior should be included in a new + object. + + A dictionary behavior or annotation. + True if the behavior should be included; otherwise, false. + + behaviors are always included, + regardless of the result of this method. + + + + + + Contract for managing Dictionary adapter notifications. + + + + + Defines the contract for retrieving dictionary values. + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Defines the contract for updating dictionary values. + + + + + Sets the stored dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if the property should be stored. + + + + Contract for validating Dictionary adapter. + + + + + Contract for dictionary validation. + + + + + Determines if is valid. + + The dictionary adapter. + true if valid. + + + + Validates the . + + The dictionary adapter. + The error summary information. + + + + Validates the for a property. + + The dictionary adapter. + The property to validate. + The property summary information. + + + + Invalidates any results cached by the validator. + + The dictionary adapter. + + + + Contract for property descriptor initialization. + + + + + Performs any initialization of the + + The property descriptor. + The property behaviors. + + + + + + + + + Initializes a new instance of the class. + + The name values. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Gets or sets the with the specified key. + + + + + Adapts the specified name values. + + The name values. + + + + Describes a dictionary property. + + + + + Initializes an empty class. + + + + + Initializes a new instance of the class. + + The property. + The annotations. + + + + Initializes a new instance class. + + + + + Copies an existing instance of the class. + + + + + + + + + + Gets the property name. + + + + + Gets the property type. + + + + + Gets the property. + + The property. + + + + Returns true if the property is dynamic. + + + + + Gets additional state. + + + + + Determines if property should be fetched. + + + + + Determines if property must exist first. + + + + + Determines if notifications should occur. + + + + + Gets the property behaviors. + + + + + Gets the type converter. + + The type converter. + + + + Gets the extended properties. + + + + + Gets the setter. + + The setter. + + + + Gets the key builders. + + The key builders. + + + + Gets the setter. + + The setter. + + + + Gets the getter. + + The getter. + + + + Gets the initializers. + + The initializers. + + + + Gets the meta-data initializers. + + The meta-data initializers. + + + + Gets the key. + + The dictionary adapter. + The key. + The descriptor. + + + + Gets the property value. + + The dictionary adapter. + The key. + The stored value. + The descriptor. + true if return only existing. + + + + Sets the property value. + + The dictionary adapter. + The key. + The value. + The descriptor. + + + + Adds a single behavior. + + The behavior. + + + + Adds the behaviors. + + The behaviors. + + + + Adds the behaviors. + + The behaviors. + + + + Copies the behaviors to the other + + + + + Copies the + + + + + Provides a generic collection that supports data binding. + + + This class wraps the CLR + in order to implement the Castle-specific . + + The type of elements in the list. + + + + Initializes a new instance of the class + using default values. + + + + + Initializes a new instance of the class + with the specified list. + + + An of items + to be contained in the . + + + + + Initializes a new instance of the class + wrapping the specified instance. + + + A + to be wrapped by the . + + + + + Contract for value matching. + + + + + Contract for dynamic value resolution. + + + + + Contract for typed dynamic value resolution. + + + + + + This is an abstract implementation + that deals with methods that can be abstracted away + from underlying implementations. + + + AbstractConfiguration makes easier to implementers + to create a new version of + + + + + Gets node attributes. + + + All attributes of the node. + + + + + Gets all child nodes. + + The of child nodes. + + + + Gets the name of the . + + + The Name of the . + + + + + Gets the value of . + + + The Value of the . + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + A collection of objects. + + + + + Creates a new instance of ConfigurationCollection. + + + + + Creates a new instance of ConfigurationCollection. + + + + + is a interface encapsulating a configuration node + used to retrieve configuration values. + + + + + Gets the name of the node. + + + The Name of the node. + + + + + Gets the value of the node. + + + The Value of the node. + + + + + Gets an of + elements containing all node children. + + The Collection of child nodes. + + + + Gets an of the configuration attributes. + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + Initializes a new instance of the class. + + The name. + + + + Gets the value of . + + + The Value of the . + + + + + Deserializes the specified node into an abstract representation of configuration. + + The node. + + + + If a config value is an empty string we return null, this is to keep + backward compatibility with old code + + + + + Helper class for retrieving attributes. + + + + + Gets the attribute. + + The type. + The type attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The type. + The type attributes. + + + + Gets the attribute. + + The member. + The member attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The member. + The member attributes. + + + + Gets the type attribute. + + The type. + The type attribute. + + + + Gets the type attributes. + + The type. + The type attributes. + + + + Gets the type converter. + + The member. + + + + Constant to use when making assembly internals visible to Castle.Core + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] + + + + + Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] + + + + + Find the best available name to describe a type. + + + Usually the best name will be , but + sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) + in which case the method falls back to . + + the type to name + the best name + + + + Defines that the implementation wants a + in order to + access other components. The creator must be aware + that the component might (or might not) implement + the interface. + + + Used by Castle Project components to, for example, + gather logging factories + + + + + Increments IServiceProvider with a generic service resolution operation. + + + + + This interface should be implemented by classes + that are available in a bigger context, exposing + the container to different areas in the same application. + + For example, in Web application, the (global) HttpApplication + subclasses should implement this interface to expose + the configured container + + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Gets the configuration file. + + i.e. log4net.config + + + + Gets the configuration file. + + i.e. log4net.config + + + + The Logger sending everything to the standard output streams. + This is mainly for the cases when you have a utility that + does not have a logger to supply. + + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug and the Name + set to string.Empty. + + + + + Creates a new ConsoleLogger with the Name + set to string.Empty. + + The logs Level. + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug. + + The logs Name. + + + + Creates a new ConsoleLogger. + + The logs Name. + The logs Level. + + + + A Common method to log. + + The level of logging + The name of the logger + The Message + The Exception + + + + Returns a new ConsoleLogger with the name + added after this loggers name, with a dot in between. + + The added hierarchical name. + A new ConsoleLogger. + + + + The Logger using standard Diagnostics namespace. + + + + + Creates a logger based on . + + + + + + Creates a logger based on . + + + + + + + Creates a logger based on . + + + + + + + + Interface for Context Properties implementations + + + + This interface defines a basic property get set accessor. + + + Based on the ContextPropertiesBase of log4net, by Nicko Cadell. + + + + + + Gets or sets the value of a property + + + The value for the property with the specified key + + + + Gets or sets the value of a property + + + + + + Provides an interface that supports and + allows the storage and retrieval of Contexts. These are supported in + both log4net and NLog. + + + + + Exposes the Global Context of the extended logger. + + + + + Exposes the Thread Context of the extended logger. + + + + + Exposes the Thread Stack of the extended logger. + + + + + Provides a factory that can produce either or + classes. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Manages logging. + + + This is a facade for the different logging subsystems. + It offers a simplified interface that follows IOC patterns + and a simplified priority/level/severity abstraction. + + + + + Determines if messages of priority "trace" will be logged. + + True if "trace" messages will be logged. + + + + Determines if messages of priority "debug" will be logged. + + True if "debug" messages will be logged. + + + + Determines if messages of priority "error" will be logged. + + True if "error" messages will be logged. + + + + Determines if messages of priority "fatal" will be logged. + + True if "fatal" messages will be logged. + + + + Determines if messages of priority "info" will be logged. + + True if "info" messages will be logged. + + + + Determines if messages of priority "warn" will be logged. + + True if "warn" messages will be logged. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + If the name has an empty element name. + + + + Logs a trace message. + + The message to log + + + + Logs a trace message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs a info message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Manages the instantiation of s. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + The Level Filtered Logger class. This is a base class which + provides a LogLevel attribute and reroutes all functions into + one Log method. + + + + + Creates a new LevelFilteredLogger. + + + + + The LoggerLevel that this logger + will be using. Defaults to LoggerLevel.Off + + + + + The name that this logger will be using. + Defaults to string.Empty + + + + + Logs a trace message. + + The message to log + + + + Logs a trace message. + + A functor to create the message + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Determines if messages of priority "trace" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "debug" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "info" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "warn" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "error" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "fatal" will be logged. + + true if log level flags include the bit + + + + Implementors output the log content by implementing this method only. + Note that exception can be null + + + + + Supporting Logger levels. + + + + + Logging will be off + + + + + Fatal logging level + + + + + Error logging level + + + + + Warn logging level + + + + + Info logging level + + + + + Debug logging level + + + + + Trace logging level + + + + + NullLogFactory used when logging is turned off. + + + + + Creates an instance of ILogger with the specified name. + + Name. + + + + Creates an instance of ILogger with the specified name and LoggerLevel. + + Name. + Level. + + + + The Null Logger class. This is useful for implementations where you need + to provide a logger to a utility class, but do not want any output from it. + It also helps when you have a utility that does not have a logger to supply. + + + + + Returns empty context properties. + + + + + Returns empty context properties. + + + + + Returns empty context stacks. + + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + Returns this NullLogger. + + Ignored + This ILogger instance. + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + The Stream Logger class. This class can stream log information + to any stream, it is suitable for storing a log file to disk, + or to a MemoryStream for testing your components. + + + This logger is not thread safe. + + + + + Creates a new StreamLogger with default encoding + and buffer size. Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + + + Creates a new StreamLogger with default buffer size. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + + + Creates a new StreamLogger. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + The buffer size that will be used for this stream. + + + + + + Creates a new StreamLogger with + Debug as default Level. + + The name of the log. + The StreamWriter the log will write to. + + + + Creates outputting + to files. The name of the file is derived from the log name + plus the 'log' extension. + + + + + The TraceLogger sends all logging to the System.Diagnostics.TraceSource + built into the .net framework. + + + Logging can be configured in the system.diagnostics configuration + section. + + If logger doesn't find a source name with a full match it will + use source names which match the namespace partially. For example you can + configure from all castle components by adding a source name with the + name "Castle". + + If no portion of the namespace matches the source named "Default" will + be used. + + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + The default logging level at which this source should write messages. In almost all cases this + default value will be overridden in the config file. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + + + + Used to create the TraceLogger implementation of ILogger interface. See . + + + + + List of utility methods related to dynamic proxy operations + + + + + Determines whether the specified type is a proxy generated by + DynamicProxy (1 or 2). + + The type. + + true if it is a proxy; otherwise, false. + + + + + Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. + + + + + Initializes a new instance of the class. + + The target. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets or sets the with the specified key. + + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + + is null. + An element with the same key already exists in the object. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + + is null. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + + is null. + The object is read-only.-or- The has a fixed size. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + is less than zero. + + is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . + The type of the source cannot be cast automatically to the type of the destination . + + + + Returns an object for the object. + + + An object for the object. + + + + + Reads values of properties from and inserts them into using property names as keys. + + + + + + + + + + This returns a new stream instance each time it is called. + It is the responsibility of the caller to dispose of this stream + + + + + + + + + + + + + + + Represents a 'streamable' resource. Can + be a file, a resource in an assembly. + + + + + Only valid for resources that + can be obtained through relative paths + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns an instance of + created according to the relativePath + using itself as the root. + + + + + Depicts the contract for resource factories. + + + + + Used to check whether the resource factory + is able to deal with the given resource + identifier. + + + Implementors should return true + only if the given identifier is supported + by the resource factory + + + + + Creates an instance + for the given resource identifier + + + + + Creates an instance + for the given resource identifier + + + + + Adapts a static string content as an + + + + + Enable access to files on network shares + + + + + Default implementation. + + + + + Initializes a new instance of the class based on the configuration provided in the application configuration file. + + + This constructor is based on the default configuration in the application configuration file. + + + + + This service implementation + requires a host name in order to work + + The smtp server name + + + + Gets or sets the port used to + access the SMTP server + + + + + Gets the hostname. + + The hostname. + + + + Gets or sets a value which is used to + configure if emails are going to be sent asynchronously or not. + + + + + Gets or sets a value that specifies + the amount of time after which a synchronous Send call times out. + + + + + Gets or sets a value indicating whether the email should be sent using + a secure communication channel. + + true if should use SSL; otherwise, false. + + + + Sends a message. + + If any of the parameters is null + From field + To field + e-mail's subject + message's body + + + + Sends a message. + + If the message is null + Message instance + + + + Gets or sets the domain. + + The domain. + + + + Gets or sets the name of the user. + + The name of the user. + + + + Gets or sets the password. + + The password. + + + + Configures the sender + with port information and eventual credential + informed + + Message instance + + + + Gets a value indicating whether credentials were informed. + + + if this instance has credentials; otherwise, . + + + + + Email sender abstraction. + + + + + Sends a mail message. + + From field + To field + E-mail's subject + message's body + + + + Sends a message. + + Message instance + + + + Sends multiple messages. + + List of messages + + + + Interface describing elements composing generated type + + + + + Performs some basic screening and invokes the + to select methods. + + + + + Performs some basic screening to filter out non-interceptable methods. + + + The will get invoked for non-interceptable method notification only; + it does not get asked whether or not to intercept the . + + + + + Reproduces the proxied type's non-inheritable custom attributes on the proxy type. + + + + + Adds an implementation for to the proxy type. + + + + + Encapsulates the information needed to build an attribute. + + + Arrays passed to this class as constructor arguments or property or field values become owned by this class. + They should not be mutated after creation. + + + + + Default implementation of interface producing in-memory proxy assemblies. + + + + + Initializes a new instance of the class with new . + + + + + Initializes a new instance of the class. + + The module scope for generated proxy types. + + + + Provides instructions that a user could follow to make a type or method in + visible to DynamicProxy. + The assembly containing the type or method. + Instructions that a user could follow to make a type or method visible to DynamicProxy. + + + + Creates a message to inform clients that a proxy couldn't be created due to reliance on an + inaccessible type (perhaps itself). + + the inaccessible type that prevents proxy creation + the type that couldn't be proxied + + + + Base class that exposes the common functionalities + to proxy generation. + + + + + It is safe to add mapping (no mapping for the interface exists) + + + + + Generates a parameters constructor that initializes the proxy + state with just to make it non-null. + + This constructor is important to allow proxies to be XML serializable + + + + + + Initializes a new instance of the class. + + Target element. This is either target type or target method for invocation types. + The type of the proxy. This is base type for invocation types. + The interfaces. + The options. + + + + Initializes a new instance of the class. + + Type of the target. + The interfaces. + The options. + + + + Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. + + + + + Provides appropriate Ldind.X opcode for + the type of primitive value to be loaded indirectly. + + + + + Emits a load indirect opcode of the appropriate type for a value or object reference. + Pops a pointer off the evaluation stack, dereferences it and loads + a value of the specified type. + + + + + Emits a load opcode of the appropriate kind for the constant default value of a + type, such as 0 for value types and null for reference types. + + + + + Emits a store indirectopcode of the appropriate type for a value or object reference. + Pops a value of the specified type and a pointer off the evaluation stack, and + stores the value. + + + + + Wraps a reference that is passed + ByRef and provides indirect load/store support. + + + + + Provides appropriate Stind.X opcode + for the type of primitive value to be stored indirectly. + + + + + Represents the scope of uniqueness of names for types and their members + + + + + Gets a unique name based on + + Name suggested by the caller + Unique name based on . + + Implementers should provide name as closely resembling as possible. + Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. + Implementers must return deterministic names, that is when is called twice + with the same suggested name, the same returned name should be provided each time. Non-deterministic return + values, like appending random suffices will break serialization of proxies. + + + + + Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision + with enclosing scope, or other subscopes is possible. + + New naming scope. + + + + Generates the constructor for the class that extends + + + + + + Initializes a new instance of the class. + + The event. + The add method. + The remove method. + The attributes. + + + + Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue + where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. + + + + + Exposes means to change target objects of proxies and invocations. + + + + + Changes the target object () of current . + + The new value of target of invocation. + + Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Permanently changes the target object of the proxy. This does not affect target of the current invocation. + + The new value of target of the proxy. + + Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Provides the main DynamicProxy extension point that allows member interception. + + + + + Provides an extension point that allows proxies to choose specific interceptors on + a per method basis. + + + + + Selects the interceptors that should intercept calls to the given . + + The type of the target object. + The method that will be intercepted. + All interceptors registered with the proxy. + An array of interceptors to invoke upon calling the . + + This method is called only once per proxy instance, upon the first call to the + . Either an empty array or null are valid return values to indicate + that no interceptor should intercept calls to the method. Although it is not advised, it is + legal to return other implementations than these provided in + . + + + + + Encapsulates an invocation of a proxied method. + + + + + Gets the arguments that the has been invoked with. + + The arguments the method was invoked with. + + + + Gets the generic arguments of the method. + + The generic arguments, or null if not a generic method. + + + + Gets the object on which the invocation is performed. This is different from proxy object + because most of the time this will be the proxy target object. + + + The invocation target. + + + + Gets the representing the method being invoked on the proxy. + + The representing the method being invoked. + + + + For interface proxies, this will point to the on the target class. + + The method invocation target. + + + + Gets the proxy object on which the intercepted method is invoked. + + Proxy object on which the intercepted method is invoked. + + + + Gets or sets the return value of the method. + + The return value of the method. + + + + Gets the type of the target object for the intercepted method. + + The type of the target object. + + + + Gets the value of the argument at the specified . + + The index. + The value of the argument at the specified . + + + + Returns the concrete instantiation of the on the proxy, with any generic + parameters bound to real types. + + + The concrete instantiation of the on the proxy, or the if + not a generic method. + + + Can be slower than calling . + + + + + Returns the concrete instantiation of , with any + generic parameters bound to real types. + For interface proxies, this will point to the on the target class. + + The concrete instantiation of , or + if not a generic method. + + In debug builds this can be slower than calling . + + + + + Proceeds the call to the next interceptor in line, and ultimately to the target method. + + + Since interface proxies without a target don't have the target implementation to proceed to, + it is important, that the last interceptor does not call this method, otherwise a + will be thrown. + + + + + Returns an object describing the operation for this + at this specific point during interception. + + + + + Overrides the value of an argument at the given with the + new provided. + + + This method accepts an , however the value provided must be compatible + with the type of the argument defined on the method, otherwise an exception will be thrown. + + The index of the argument to override. + The new value for the argument. + + + + Describes the operation for an + at a specific point during interception. + + + + + Executes the operation described by this instance. + + There is no interceptor, nor a proxy target object, to proceed to. + + + + Attributes should be replicated if they are non-inheritable, + but there are some special cases where the attributes means + something to the CLR, where they should be skipped. + + + + + Returns list of all unique interfaces implemented given types, including their base interfaces. + + + + + Checks whether the specified is a delegate type (i.e. a direct subclass of ). + + + + + Abstracts the implementation of proxy type construction. + + + + + Gets or sets the that this logs to. + + + + + Gets the associated with this builder. + + The module scope associated with this builder. + + + + Creates a proxy type for given , implementing , using provided. + + The class type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified class and interfaces. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type that proxies calls to members on , implementing , using provided. + + The interface type to proxy. + Additional interface types to proxy. + Type implementing on which calls to the interface members should be intercepted. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors + and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, + to allow interceptors to switch invocation target with instance of another type implementing called interface. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given that delegates all calls to the provided interceptors. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Used during the target type inspection process. Implementors have a chance to customize the + proxy generation process. + + + + + Invoked by the generation process to notify that the whole process has completed. + + + + + Invoked by the generation process to notify that a member was not marked as virtual. + + The type which declares the non-virtual member. + The non-virtual member. + + This method gives an opportunity to inspect any non-proxyable member of a type that has + been requested to be proxied, and if appropriate - throw an exception to notify the caller. + + + + + Invoked by the generation process to determine if the specified method should be proxied. + + The type which declares the given method. + The method to inspect. + True if the given method should be proxied; false otherwise. + + + + Provides proxy objects for classes and interfaces. + + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Exposes access to the target object and interceptors of proxy objects. + This is a DynamicProxy infrastructure interface and should not be implemented yourself. + + + + + Get the proxy target (note that null is a valid target!) + + + + + Set the proxy target. + + New proxy target. + + + + Gets the interceptors for the proxy + + + + + Because we need to cache the types based on the mixed in mixins, we do the following here: + - Get all the mixin interfaces + - Sort them by full name + - Return them by position + + The idea is to have reproducible behavior for the case that mixins are registered in different orders. + This method is here because it is required + + + + + The default file name used when the assembly is saved using . + + + + + The default assembly (simple) name used for the assemblies generated by a instance. + + + + + Initializes a new instance of the class; assemblies created by this instance will not be saved. + + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Gets the key pair used to sign the strong-named assembly generated by this . + + + + + Gets the strong-named module generated by this scope, or if none has yet been generated. + + The strong-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the strongly named module generated by this scope. + + The file name of the strongly named module generated by this scope. + + + + Gets the directory where the strongly named module generated by this scope will be saved, or if the current directory + is used. + + The directory where the strongly named module generated by this scope will be saved when is called + (if this scope was created to save modules). + + + + Gets the weak-named module generated by this scope, or if none has yet been generated. + + The weak-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the weakly named module generated by this scope. + + The file name of the weakly named module generated by this scope. + + + + Gets the directory where the weakly named module generated by this scope will be saved, or if the current directory + is used. + + The directory where the weakly named module generated by this scope will be saved when is called + (if this scope was created to save modules). + + + + Gets the specified module generated by this scope, creating a new one if none has yet been generated. + + If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. + A strong-named or weak-named module generated by this scope, as specified by the parameter. + + + + Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. + + A strong-named module generated by this scope. + + + + Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. + + A weak-named module generated by this scope. + + + + Saves the generated assembly with the name and directory information given when this instance was created (or with + the and current directory if none was given). + + + + This method stores the generated assembly in the directory passed as part of the module information specified when this instance was + constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly + have been generated, it will throw an exception; in this case, use the overload. + + + If this was created without indicating that the assembly should be saved, this method does nothing. + + + Both a strong-named and a weak-named assembly have been generated. + The path of the generated assembly file, or null if no file has been generated. + + + + Saves the specified generated assembly with the name and directory information given when this instance was created + (or with the and current directory if none was given). + + True if the generated assembly with a strong name should be saved (see ); + false if the generated assembly without a strong name should be saved (see . + + + This method stores the specified generated assembly in the directory passed as part of the module information specified when this instance was + constructed (if any, else the current directory is used). + + + If this was created without indicating that the assembly should be saved, this method does nothing. + + + No assembly has been generated that matches the parameter. + + The path of the generated assembly file, or null if no file has been generated. + + + + Loads the generated types from the given assembly into this 's cache. + + The assembly to load types from. This assembly must have been saved via or + , or it must have the manually applied. + + This method can be used to load previously generated and persisted proxy types from disk into this scope's type cache, e.g. in order + to avoid the performance hit associated with proxy generation. + + + + + ProxyBuilder that persists the generated type. + + + The saved assembly contains just the last generated type. + + + + + Initializes a new instance of the class. + + + + + Saves the generated assembly to a physical file. Note that this renders the unusable. + + The path of the generated assembly file, or null if no assembly has been generated. + + This method does not support saving multiple files. If both a signed and an unsigned module have been generated, use the + respective methods of the . + + + + + allows customization of the behavior of proxies created by + an (or proxy types generated by an ). + + You should not modify an instance of once it has been + used to create a proxy (or proxy type). + + + + + + Initializes a new instance of the class. + + The hook. + + + + Initializes a new instance of the class. + + + + + Gets or sets the that should be used during proxy type + generation. Defaults to an instance of . + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the that should be used by created proxies + to determine which interceptors to use for an interception. If set to + (which is the default), created proxies will not use any selector. + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the class type from which generated interface proxy types will be derived. + Defaults to (). + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets the collection of additional custom attributes that will be put on generated proxy types. + This collection is initially empty. + + You should not modify this collection once this instance + has been used to create a proxy. + + + + + + Adds a delegate type to the list of mixins that will be added to generated proxies. + That is, generated proxies will have a `Invoke` method with a signature matching that + of the specified . + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate type whose `Invoke` method should be reproduced in generated proxies. + is . + is not a delegate type. + + + + Adds a delegate to be mixed into generated proxies. The + will act as the target for calls to a `Invoke` method with a signature matching that + of the delegate. + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate that should act as the target for calls to `Invoke` methods with a matching signature. + is . + + + + Mixes the interfaces implemented by the specified object into + created proxies, and uses as the target for these mixed-in interfaces. + + You should not call this method once this instance + has been used to create a proxy. + + + The object that should act as the target for all of its implemented interfaces' methods. + is . + is an instance of . + + + + Provides proxy objects for classes and interfaces. + + + + + Initializes a new instance of the class. + + Proxy types builder. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + If true forces all types to be generated into an unsigned module. + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates the proxy type for class proxy with given class, implementing given and using provided . + + The base class for proxy type. + The interfaces that proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + Actual type that the proxy type will encompass. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested type. + + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested . + + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified type is accessible to DynamicProxy. + The type to check. + true if the type is accessible to DynamicProxy, false otherwise. + + + + Determines whether this assembly has internals visible to DynamicProxy. + + The assembly to inspect. + + + + Checks whether the specified method is accessible to DynamicProxy. + Unlike with , the declaring type's accessibility is ignored. + + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Determines whether the specified method is internal. + + The method. + + true if the specified method is internal; otherwise, false. + + + + + Applied to the assemblies saved by in order to persist the cache data included in the persisted assembly. + + + + + Handles the deserialization of proxies. + + + + + Resets the used for deserialization to a new scope. + + + This is useful for test cases. + + + + + Resets the used for deserialization to a given . + + The scope to be used for deserialization. + + By default, the deserialization process uses a different scope than the rest of the application, which can lead to multiple proxies + being generated for the same type. By explicitly setting the deserialization scope to the application's scope, this can be avoided. + + + + + Gets the used for deserialization. + + As has no way of automatically determining the scope used by the application (and the application might use more than one scope at the same time), uses a dedicated scope instance for deserializing proxy types. This instance can be reset and set to a specific value via and . + + + + Holds objects representing methods of class. + + + + + Holds objects representing methods of class. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.dll b/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.dll new file mode 100644 index 000000000..eb7fd3bb8 Binary files /dev/null and b/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.dll differ diff --git a/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.xml b/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.xml new file mode 100644 index 000000000..a7c6b9bab --- /dev/null +++ b/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.xml @@ -0,0 +1,5898 @@ + + + + Castle.Core + + + + + Abstract adapter for the support + needed by the + + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + An element with the same key already exists in the object. + key is null. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Returns an object for the object. + + + An object for the object. + + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + The object is read-only.-or- The has a fixed size. + key is null. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets or sets the with the specified key. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in array at which copying begins. + array is null. + The type of the source cannot be cast automatically to the type of the destination array. + index is less than zero. + array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Abstract implementation of . + + + + + Identifies a property should be represented as a nested component. + + + + + Applies no prefix. + + + + + Gets or sets the prefix. + + The prefix. + + + + Identifies the dictionary adapter types. + + + + + Assigns a specific dictionary key. + + + + + Identifies an interface or property to be pre-fetched. + + + + + Instructs fetching to occur. + + + + + Instructs fetching according to + + + + + Gets whether or not fetching should occur. + + + + + Assigns a property to a group. + + + + + Constructs a group assignment. + + The group name. + + + + Constructs a group assignment. + + The group name. + + + + Gets the group the property is assigned to. + + + + + Suppresses any on-demand behaviors. + + + + + Assigns a specific dictionary key. + + + + + Initializes a new instance of the class. + + The key. + + + + Initializes a new instance of the class. + + The compound key. + + + + Assigns a prefix to the keyed properties of an interface. + + + Key prefixes are not inherited by sub-interfaces. + + + + + Initializes a default instance of the class. + + + + + Initializes a new instance of the class. + + The prefix for the keyed properties of the interface. + + + + Gets the prefix key added to the properties of the interface. + + + + + Substitutes part of key with another string. + + + + + Initializes a new instance of the class. + + The old value. + The new value. + + + + Requests support for multi-level editing. + + + + + Generates a new GUID on demand. + + + + + Support for on-demand value resolution. + + + + + Specifies assignment by reference rather than by copying. + + + + + Removes a property if matches value. + + + + + Removes a property if null or empty string, guid or collection. + + + + + Provides simple string formatting from existing properties. + + + + + Gets the string format. + + + + + Gets the format properties. + + + + + Identifies a property should be represented as a delimited string value. + + + + + Gets the separator. + + + + + Converts all properties to strings. + + + + + Gets or sets the format. + + The format. + + + + Suppress property change notifications. + + + + + Assigns a prefix to the keyed properties using the interface name. + + + + + Indicates that underlying values are changeable and should not be cached. + + + + + Initializes a new instance of the class + that represents a child object in a larger object graph. + + + + + Manages conversion between property values. + + + + + Initializes a new instance of the class. + + The converter. + + + + + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Uses Reflection.Emit to expose the properties of a dictionary + through a dynamic implementation of a typed interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Wraps a with a dynamic object to expose a bit better looking API. + The implementation is trivial and assumes keys are s. + + + + + Contract for manipulating the Dictionary adapter. + + + + + Defines the contract for building typed dictionary adapters. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + The property descriptor. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets the associated with the type. + + The typed interface. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + The property descriptor. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + Another from which to copy behaviors. + The adapter meta-data. + + + + Contract for traversing a . + + + + + Defines the contract for customizing dictionary access. + + + + + Determines relative order to apply related behaviors. + + + + + Copies the dictionary behavior. + + null if should not be copied. Otherwise copy. + + + + Defines the contract for building s. + + + + + Builds the dictionary behaviors. + + + + + Contract for creating additional Dictionary adapters. + + + + + Contract for editing the Dictionary adapter. + + + + + Contract for dictionary initialization. + + + + + Performs any initialization of the + + The dictionary adapter. + The dictionary behaviors. + + + + Defines the contract for building typed dictionary keys. + + + + + Builds the specified key. + + The dictionary adapter. + The current key. + The property. + The updated key + + + + Contract for dictionary meta-data initialization. + + + + + Initializes the given object. + + The dictionary adapter factory. + The dictionary adapter meta. + + + + + Determines whether the given behavior should be included in a new + object. + + A dictionary behavior or annotation. + True if the behavior should be included; otherwise, false. + + behaviors are always included, + regardless of the result of this method. + + + + + + Contract for managing Dictionary adapter notifications. + + + + + Defines the contract for retrieving dictionary values. + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Defines the contract for updating dictionary values. + + + + + Sets the stored dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if the property should be stored. + + + + Contract for validating Dictionary adapter. + + + + + Contract for dictionary validation. + + + + + Determines if is valid. + + The dictionary adapter. + true if valid. + + + + Validates the . + + The dictionary adapter. + The error summary information. + + + + Validates the for a property. + + The dictionary adapter. + The property to validate. + The property summary information. + + + + Invalidates any results cached by the validator. + + The dictionary adapter. + + + + Contract for property descriptor initialization. + + + + + Performs any initialization of the + + The property descriptor. + The property behaviors. + + + + + + + + + Initializes a new instance of the class. + + The name values. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Gets or sets the with the specified key. + + + + + Adapts the specified name values. + + The name values. + + + + Describes a dictionary property. + + + + + Initializes an empty class. + + + + + Initializes a new instance of the class. + + The property. + The annotations. + + + + Initializes a new instance class. + + + + + Copies an existing instance of the class. + + + + + + + + + + Gets the property name. + + + + + Gets the property type. + + + + + Gets the property. + + The property. + + + + Returns true if the property is dynamic. + + + + + Gets additional state. + + + + + Determines if property should be fetched. + + + + + Determines if property must exist first. + + + + + Determines if notifications should occur. + + + + + Gets the property behaviors. + + + + + Gets the type converter. + + The type converter. + + + + Gets the extended properties. + + + + + Gets the setter. + + The setter. + + + + Gets the key builders. + + The key builders. + + + + Gets the setter. + + The setter. + + + + Gets the getter. + + The getter. + + + + Gets the initializers. + + The initializers. + + + + Gets the meta-data initializers. + + The meta-data initializers. + + + + Gets the key. + + The dictionary adapter. + The key. + The descriptor. + + + + Gets the property value. + + The dictionary adapter. + The key. + The stored value. + The descriptor. + true if return only existing. + + + + Sets the property value. + + The dictionary adapter. + The key. + The value. + The descriptor. + + + + Adds a single behavior. + + The behavior. + + + + Adds the behaviors. + + The behaviors. + + + + Adds the behaviors. + + The behaviors. + + + + Copies the behaviors to the other + + + + + Copies the + + + + + Provides a generic collection that supports data binding. + + + This class wraps the CLR + in order to implement the Castle-specific . + + The type of elements in the list. + + + + Initializes a new instance of the class + using default values. + + + + + Initializes a new instance of the class + with the specified list. + + + An of items + to be contained in the . + + + + + Initializes a new instance of the class + wrapping the specified instance. + + + A + to be wrapped by the . + + + + + Contract for value matching. + + + + + Contract for dynamic value resolution. + + + + + Contract for typed dynamic value resolution. + + + + + + This is an abstract implementation + that deals with methods that can be abstracted away + from underlying implementations. + + + AbstractConfiguration makes easier to implementers + to create a new version of + + + + + Gets node attributes. + + + All attributes of the node. + + + + + Gets all child nodes. + + The of child nodes. + + + + Gets the name of the . + + + The Name of the . + + + + + Gets the value of . + + + The Value of the . + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + A collection of objects. + + + + + Creates a new instance of ConfigurationCollection. + + + + + Creates a new instance of ConfigurationCollection. + + + + + is a interface encapsulating a configuration node + used to retrieve configuration values. + + + + + Gets the name of the node. + + + The Name of the node. + + + + + Gets the value of the node. + + + The Value of the node. + + + + + Gets an of + elements containing all node children. + + The Collection of child nodes. + + + + Gets an of the configuration attributes. + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + Initializes a new instance of the class. + + The name. + + + + Gets the value of . + + + The Value of the . + + + + + Deserializes the specified node into an abstract representation of configuration. + + The node. + + + + If a config value is an empty string we return null, this is to keep + backward compatibility with old code + + + + + Helper class for retrieving attributes. + + + + + Gets the attribute. + + The type. + The type attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The type. + The type attributes. + + + + Gets the attribute. + + The member. + The member attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The member. + The member attributes. + + + + Gets the type attribute. + + The type. + The type attribute. + + + + Gets the type attributes. + + The type. + The type attributes. + + + + Gets the type converter. + + The member. + + + + Constant to use when making assembly internals visible to Castle.Core + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] + + + + + Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] + + + + + Find the best available name to describe a type. + + + Usually the best name will be , but + sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) + in which case the method falls back to . + + the type to name + the best name + + + + Defines that the implementation wants a + in order to + access other components. The creator must be aware + that the component might (or might not) implement + the interface. + + + Used by Castle Project components to, for example, + gather logging factories + + + + + Increments IServiceProvider with a generic service resolution operation. + + + + + This interface should be implemented by classes + that are available in a bigger context, exposing + the container to different areas in the same application. + + For example, in Web application, the (global) HttpApplication + subclasses should implement this interface to expose + the configured container + + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Gets the configuration file. + + i.e. log4net.config + + + + Gets the configuration file. + + i.e. log4net.config + + + + The Logger sending everything to the standard output streams. + This is mainly for the cases when you have a utility that + does not have a logger to supply. + + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug and the Name + set to string.Empty. + + + + + Creates a new ConsoleLogger with the Name + set to string.Empty. + + The logs Level. + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug. + + The logs Name. + + + + Creates a new ConsoleLogger. + + The logs Name. + The logs Level. + + + + A Common method to log. + + The level of logging + The name of the logger + The Message + The Exception + + + + Returns a new ConsoleLogger with the name + added after this loggers name, with a dot in between. + + The added hierarchical name. + A new ConsoleLogger. + + + + The Logger using standard Diagnostics namespace. + + + + + Creates a logger based on . + + + + + + Creates a logger based on . + + + + + + + Creates a logger based on . + + + + + + + + Interface for Context Properties implementations + + + + This interface defines a basic property get set accessor. + + + Based on the ContextPropertiesBase of log4net, by Nicko Cadell. + + + + + + Gets or sets the value of a property + + + The value for the property with the specified key + + + + Gets or sets the value of a property + + + + + + Provides an interface that supports and + allows the storage and retrieval of Contexts. These are supported in + both log4net and NLog. + + + + + Exposes the Global Context of the extended logger. + + + + + Exposes the Thread Context of the extended logger. + + + + + Exposes the Thread Stack of the extended logger. + + + + + Provides a factory that can produce either or + classes. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Manages logging. + + + This is a facade for the different logging subsystems. + It offers a simplified interface that follows IOC patterns + and a simplified priority/level/severity abstraction. + + + + + Determines if messages of priority "trace" will be logged. + + True if "trace" messages will be logged. + + + + Determines if messages of priority "debug" will be logged. + + True if "debug" messages will be logged. + + + + Determines if messages of priority "error" will be logged. + + True if "error" messages will be logged. + + + + Determines if messages of priority "fatal" will be logged. + + True if "fatal" messages will be logged. + + + + Determines if messages of priority "info" will be logged. + + True if "info" messages will be logged. + + + + Determines if messages of priority "warn" will be logged. + + True if "warn" messages will be logged. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + If the name has an empty element name. + + + + Logs a trace message. + + The message to log + + + + Logs a trace message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs a info message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Manages the instantiation of s. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + The Level Filtered Logger class. This is a base class which + provides a LogLevel attribute and reroutes all functions into + one Log method. + + + + + Creates a new LevelFilteredLogger. + + + + + The LoggerLevel that this logger + will be using. Defaults to LoggerLevel.Off + + + + + The name that this logger will be using. + Defaults to string.Empty + + + + + Logs a trace message. + + The message to log + + + + Logs a trace message. + + A functor to create the message + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Determines if messages of priority "trace" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "debug" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "info" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "warn" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "error" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "fatal" will be logged. + + true if log level flags include the bit + + + + Implementors output the log content by implementing this method only. + Note that exception can be null + + + + + Supporting Logger levels. + + + + + Logging will be off + + + + + Fatal logging level + + + + + Error logging level + + + + + Warn logging level + + + + + Info logging level + + + + + Debug logging level + + + + + Trace logging level + + + + + NullLogFactory used when logging is turned off. + + + + + Creates an instance of ILogger with the specified name. + + Name. + + + + Creates an instance of ILogger with the specified name and LoggerLevel. + + Name. + Level. + + + + The Null Logger class. This is useful for implementations where you need + to provide a logger to a utility class, but do not want any output from it. + It also helps when you have a utility that does not have a logger to supply. + + + + + Returns empty context properties. + + + + + Returns empty context properties. + + + + + Returns empty context stacks. + + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + Returns this NullLogger. + + Ignored + This ILogger instance. + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + The Stream Logger class. This class can stream log information + to any stream, it is suitable for storing a log file to disk, + or to a MemoryStream for testing your components. + + + This logger is not thread safe. + + + + + Creates a new StreamLogger with default encoding + and buffer size. Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + + + Creates a new StreamLogger with default buffer size. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + + + Creates a new StreamLogger. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + The buffer size that will be used for this stream. + + + + + + Creates a new StreamLogger with + Debug as default Level. + + The name of the log. + The StreamWriter the log will write to. + + + + Creates outputting + to files. The name of the file is derived from the log name + plus the 'log' extension. + + + + + The TraceLogger sends all logging to the System.Diagnostics.TraceSource + built into the .net framework. + + + Logging can be configured in the system.diagnostics configuration + section. + + If logger doesn't find a source name with a full match it will + use source names which match the namespace partially. For example you can + configure from all castle components by adding a source name with the + name "Castle". + + If no portion of the namespace matches the source named "Default" will + be used. + + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + The default logging level at which this source should write messages. In almost all cases this + default value will be overridden in the config file. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + + + + Used to create the TraceLogger implementation of ILogger interface. See . + + + + + List of utility methods related to dynamic proxy operations + + + + + Determines whether the specified type is a proxy generated by + DynamicProxy (1 or 2). + + The type. + + true if it is a proxy; otherwise, false. + + + + + Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. + + + + + Initializes a new instance of the class. + + The target. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets or sets the with the specified key. + + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + + is null. + An element with the same key already exists in the object. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + + is null. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + + is null. + The object is read-only.-or- The has a fixed size. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + is less than zero. + + is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . + The type of the source cannot be cast automatically to the type of the destination . + + + + Returns an object for the object. + + + An object for the object. + + + + + Reads values of properties from and inserts them into using property names as keys. + + + + + + + + + + This returns a new stream instance each time it is called. + It is the responsibility of the caller to dispose of this stream + + + + + + + + + + + + + + + Represents a 'streamable' resource. Can + be a file, a resource in an assembly. + + + + + Only valid for resources that + can be obtained through relative paths + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns an instance of + created according to the relativePath + using itself as the root. + + + + + Depicts the contract for resource factories. + + + + + Used to check whether the resource factory + is able to deal with the given resource + identifier. + + + Implementors should return true + only if the given identifier is supported + by the resource factory + + + + + Creates an instance + for the given resource identifier + + + + + Creates an instance + for the given resource identifier + + + + + Adapts a static string content as an + + + + + Enable access to files on network shares + + + + + Default implementation. + + + + + Initializes a new instance of the class based on the configuration provided in the application configuration file. + + + This constructor is based on the default configuration in the application configuration file. + + + + + This service implementation + requires a host name in order to work + + The smtp server name + + + + Gets or sets the port used to + access the SMTP server + + + + + Gets the hostname. + + The hostname. + + + + Gets or sets a value which is used to + configure if emails are going to be sent asynchronously or not. + + + + + Gets or sets a value that specifies + the amount of time after which a synchronous Send call times out. + + + + + Gets or sets a value indicating whether the email should be sent using + a secure communication channel. + + true if should use SSL; otherwise, false. + + + + Sends a message. + + If any of the parameters is null + From field + To field + e-mail's subject + message's body + + + + Sends a message. + + If the message is null + Message instance + + + + Gets or sets the domain. + + The domain. + + + + Gets or sets the name of the user. + + The name of the user. + + + + Gets or sets the password. + + The password. + + + + Configures the sender + with port information and eventual credential + informed + + Message instance + + + + Gets a value indicating whether credentials were informed. + + + if this instance has credentials; otherwise, . + + + + + Email sender abstraction. + + + + + Sends a mail message. + + From field + To field + E-mail's subject + message's body + + + + Sends a message. + + Message instance + + + + Sends multiple messages. + + List of messages + + + + Interface describing elements composing generated type + + + + + Performs some basic screening and invokes the + to select methods. + + + + + Performs some basic screening to filter out non-interceptable methods. + + + The will get invoked for non-interceptable method notification only; + it does not get asked whether or not to intercept the . + + + + + Reproduces the proxied type's non-inheritable custom attributes on the proxy type. + + + + + Adds an implementation for to the proxy type. + + + + + Encapsulates the information needed to build an attribute. + + + Arrays passed to this class as constructor arguments or property or field values become owned by this class. + They should not be mutated after creation. + + + + + Default implementation of interface producing in-memory proxy assemblies. + + + + + Initializes a new instance of the class with new . + + + + + Initializes a new instance of the class. + + The module scope for generated proxy types. + + + + Provides instructions that a user could follow to make a type or method in + visible to DynamicProxy. + The assembly containing the type or method. + Instructions that a user could follow to make a type or method visible to DynamicProxy. + + + + Creates a message to inform clients that a proxy couldn't be created due to reliance on an + inaccessible type (perhaps itself). + + the inaccessible type that prevents proxy creation + the type that couldn't be proxied + + + + Base class that exposes the common functionalities + to proxy generation. + + + + + It is safe to add mapping (no mapping for the interface exists) + + + + + Generates a parameters constructor that initializes the proxy + state with just to make it non-null. + + This constructor is important to allow proxies to be XML serializable + + + + + + Initializes a new instance of the class. + + Target element. This is either target type or target method for invocation types. + The type of the proxy. This is base type for invocation types. + The interfaces. + The options. + + + + Initializes a new instance of the class. + + Type of the target. + The interfaces. + The options. + + + + Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. + + + + + Provides appropriate Ldind.X opcode for + the type of primitive value to be loaded indirectly. + + + + + Emits a load indirect opcode of the appropriate type for a value or object reference. + Pops a pointer off the evaluation stack, dereferences it and loads + a value of the specified type. + + + + + Emits a load opcode of the appropriate kind for the constant default value of a + type, such as 0 for value types and null for reference types. + + + + + Emits a store indirectopcode of the appropriate type for a value or object reference. + Pops a value of the specified type and a pointer off the evaluation stack, and + stores the value. + + + + + Wraps a reference that is passed + ByRef and provides indirect load/store support. + + + + + Provides appropriate Stind.X opcode + for the type of primitive value to be stored indirectly. + + + + + Represents the scope of uniqueness of names for types and their members + + + + + Gets a unique name based on + + Name suggested by the caller + Unique name based on . + + Implementers should provide name as closely resembling as possible. + Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. + Implementers must return deterministic names, that is when is called twice + with the same suggested name, the same returned name should be provided each time. Non-deterministic return + values, like appending random suffices will break serialization of proxies. + + + + + Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision + with enclosing scope, or other subscopes is possible. + + New naming scope. + + + + Generates the constructor for the class that extends + + + + + + Initializes a new instance of the class. + + The event. + The add method. + The remove method. + The attributes. + + + + Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue + where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. + + + + + Exposes means to change target objects of proxies and invocations. + + + + + Changes the target object () of current . + + The new value of target of invocation. + + Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Permanently changes the target object of the proxy. This does not affect target of the current invocation. + + The new value of target of the proxy. + + Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Provides the main DynamicProxy extension point that allows member interception. + + + + + Provides an extension point that allows proxies to choose specific interceptors on + a per method basis. + + + + + Selects the interceptors that should intercept calls to the given . + + The type of the target object. + The method that will be intercepted. + All interceptors registered with the proxy. + An array of interceptors to invoke upon calling the . + + This method is called only once per proxy instance, upon the first call to the + . Either an empty array or null are valid return values to indicate + that no interceptor should intercept calls to the method. Although it is not advised, it is + legal to return other implementations than these provided in + . + + + + + Encapsulates an invocation of a proxied method. + + + + + Gets the arguments that the has been invoked with. + + The arguments the method was invoked with. + + + + Gets the generic arguments of the method. + + The generic arguments, or null if not a generic method. + + + + Gets the object on which the invocation is performed. This is different from proxy object + because most of the time this will be the proxy target object. + + + The invocation target. + + + + Gets the representing the method being invoked on the proxy. + + The representing the method being invoked. + + + + For interface proxies, this will point to the on the target class. + + The method invocation target. + + + + Gets the proxy object on which the intercepted method is invoked. + + Proxy object on which the intercepted method is invoked. + + + + Gets or sets the return value of the method. + + The return value of the method. + + + + Gets the type of the target object for the intercepted method. + + The type of the target object. + + + + Gets the value of the argument at the specified . + + The index. + The value of the argument at the specified . + + + + Returns the concrete instantiation of the on the proxy, with any generic + parameters bound to real types. + + + The concrete instantiation of the on the proxy, or the if + not a generic method. + + + Can be slower than calling . + + + + + Returns the concrete instantiation of , with any + generic parameters bound to real types. + For interface proxies, this will point to the on the target class. + + The concrete instantiation of , or + if not a generic method. + + In debug builds this can be slower than calling . + + + + + Proceeds the call to the next interceptor in line, and ultimately to the target method. + + + Since interface proxies without a target don't have the target implementation to proceed to, + it is important, that the last interceptor does not call this method, otherwise a + will be thrown. + + + + + Returns an object describing the operation for this + at this specific point during interception. + + + + + Overrides the value of an argument at the given with the + new provided. + + + This method accepts an , however the value provided must be compatible + with the type of the argument defined on the method, otherwise an exception will be thrown. + + The index of the argument to override. + The new value for the argument. + + + + Describes the operation for an + at a specific point during interception. + + + + + Executes the operation described by this instance. + + There is no interceptor, nor a proxy target object, to proceed to. + + + + Attributes should be replicated if they are non-inheritable, + but there are some special cases where the attributes means + something to the CLR, where they should be skipped. + + + + + Returns list of all unique interfaces implemented given types, including their base interfaces. + + + + + Checks whether the specified is a delegate type (i.e. a direct subclass of ). + + + + + Abstracts the implementation of proxy type construction. + + + + + Gets or sets the that this logs to. + + + + + Gets the associated with this builder. + + The module scope associated with this builder. + + + + Creates a proxy type for given , implementing , using provided. + + The class type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified class and interfaces. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type that proxies calls to members on , implementing , using provided. + + The interface type to proxy. + Additional interface types to proxy. + Type implementing on which calls to the interface members should be intercepted. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors + and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, + to allow interceptors to switch invocation target with instance of another type implementing called interface. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given that delegates all calls to the provided interceptors. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Used during the target type inspection process. Implementors have a chance to customize the + proxy generation process. + + + + + Invoked by the generation process to notify that the whole process has completed. + + + + + Invoked by the generation process to notify that a member was not marked as virtual. + + The type which declares the non-virtual member. + The non-virtual member. + + This method gives an opportunity to inspect any non-proxyable member of a type that has + been requested to be proxied, and if appropriate - throw an exception to notify the caller. + + + + + Invoked by the generation process to determine if the specified method should be proxied. + + The type which declares the given method. + The method to inspect. + True if the given method should be proxied; false otherwise. + + + + Provides proxy objects for classes and interfaces. + + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Exposes access to the target object and interceptors of proxy objects. + This is a DynamicProxy infrastructure interface and should not be implemented yourself. + + + + + Get the proxy target (note that null is a valid target!) + + + + + Set the proxy target. + + New proxy target. + + + + Gets the interceptors for the proxy + + + + + Because we need to cache the types based on the mixed in mixins, we do the following here: + - Get all the mixin interfaces + - Sort them by full name + - Return them by position + + The idea is to have reproducible behavior for the case that mixins are registered in different orders. + This method is here because it is required + + + + + The default file name used when the assembly is saved using . + + + + + The default assembly (simple) name used for the assemblies generated by a instance. + + + + + Initializes a new instance of the class; assemblies created by this instance will not be saved. + + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Gets the key pair used to sign the strong-named assembly generated by this . + + + + + Gets the strong-named module generated by this scope, or if none has yet been generated. + + The strong-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the strongly named module generated by this scope. + + The file name of the strongly named module generated by this scope. + + + + Gets the weak-named module generated by this scope, or if none has yet been generated. + + The weak-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the weakly named module generated by this scope. + + The file name of the weakly named module generated by this scope. + + + + Gets the specified module generated by this scope, creating a new one if none has yet been generated. + + If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. + A strong-named or weak-named module generated by this scope, as specified by the parameter. + + + + Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. + + A strong-named module generated by this scope. + + + + Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. + + A weak-named module generated by this scope. + + + + allows customization of the behavior of proxies created by + an (or proxy types generated by an ). + + You should not modify an instance of once it has been + used to create a proxy (or proxy type). + + + + + + Initializes a new instance of the class. + + The hook. + + + + Initializes a new instance of the class. + + + + + Gets or sets the that should be used during proxy type + generation. Defaults to an instance of . + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the that should be used by created proxies + to determine which interceptors to use for an interception. If set to + (which is the default), created proxies will not use any selector. + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the class type from which generated interface proxy types will be derived. + Defaults to (). + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets the collection of additional custom attributes that will be put on generated proxy types. + This collection is initially empty. + + You should not modify this collection once this instance + has been used to create a proxy. + + + + + + Adds a delegate type to the list of mixins that will be added to generated proxies. + That is, generated proxies will have a `Invoke` method with a signature matching that + of the specified . + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate type whose `Invoke` method should be reproduced in generated proxies. + is . + is not a delegate type. + + + + Adds a delegate to be mixed into generated proxies. The + will act as the target for calls to a `Invoke` method with a signature matching that + of the delegate. + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate that should act as the target for calls to `Invoke` methods with a matching signature. + is . + + + + Mixes the interfaces implemented by the specified object into + created proxies, and uses as the target for these mixed-in interfaces. + + You should not call this method once this instance + has been used to create a proxy. + + + The object that should act as the target for all of its implemented interfaces' methods. + is . + is an instance of . + + + + Provides proxy objects for classes and interfaces. + + + + + Initializes a new instance of the class. + + Proxy types builder. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + If true forces all types to be generated into an unsigned module. + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates the proxy type for class proxy with given class, implementing given and using provided . + + The base class for proxy type. + The interfaces that proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + Actual type that the proxy type will encompass. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested type. + + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested . + + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified type is accessible to DynamicProxy. + The type to check. + true if the type is accessible to DynamicProxy, false otherwise. + + + + Determines whether this assembly has internals visible to DynamicProxy. + + The assembly to inspect. + + + + Checks whether the specified method is accessible to DynamicProxy. + Unlike with , the declaring type's accessibility is ignored. + + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Determines whether the specified method is internal. + + The method. + + true if the specified method is internal; otherwise, false. + + + + + Holds objects representing methods of class. + + + + diff --git a/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.dll b/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.dll new file mode 100644 index 000000000..9d7d22a37 Binary files /dev/null and b/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.dll differ diff --git a/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.xml b/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.xml new file mode 100644 index 000000000..a7c6b9bab --- /dev/null +++ b/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.xml @@ -0,0 +1,5898 @@ + + + + Castle.Core + + + + + Abstract adapter for the support + needed by the + + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + An element with the same key already exists in the object. + key is null. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Returns an object for the object. + + + An object for the object. + + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + The object is read-only.-or- The has a fixed size. + key is null. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets or sets the with the specified key. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in array at which copying begins. + array is null. + The type of the source cannot be cast automatically to the type of the destination array. + index is less than zero. + array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Abstract implementation of . + + + + + Identifies a property should be represented as a nested component. + + + + + Applies no prefix. + + + + + Gets or sets the prefix. + + The prefix. + + + + Identifies the dictionary adapter types. + + + + + Assigns a specific dictionary key. + + + + + Identifies an interface or property to be pre-fetched. + + + + + Instructs fetching to occur. + + + + + Instructs fetching according to + + + + + Gets whether or not fetching should occur. + + + + + Assigns a property to a group. + + + + + Constructs a group assignment. + + The group name. + + + + Constructs a group assignment. + + The group name. + + + + Gets the group the property is assigned to. + + + + + Suppresses any on-demand behaviors. + + + + + Assigns a specific dictionary key. + + + + + Initializes a new instance of the class. + + The key. + + + + Initializes a new instance of the class. + + The compound key. + + + + Assigns a prefix to the keyed properties of an interface. + + + Key prefixes are not inherited by sub-interfaces. + + + + + Initializes a default instance of the class. + + + + + Initializes a new instance of the class. + + The prefix for the keyed properties of the interface. + + + + Gets the prefix key added to the properties of the interface. + + + + + Substitutes part of key with another string. + + + + + Initializes a new instance of the class. + + The old value. + The new value. + + + + Requests support for multi-level editing. + + + + + Generates a new GUID on demand. + + + + + Support for on-demand value resolution. + + + + + Specifies assignment by reference rather than by copying. + + + + + Removes a property if matches value. + + + + + Removes a property if null or empty string, guid or collection. + + + + + Provides simple string formatting from existing properties. + + + + + Gets the string format. + + + + + Gets the format properties. + + + + + Identifies a property should be represented as a delimited string value. + + + + + Gets the separator. + + + + + Converts all properties to strings. + + + + + Gets or sets the format. + + The format. + + + + Suppress property change notifications. + + + + + Assigns a prefix to the keyed properties using the interface name. + + + + + Indicates that underlying values are changeable and should not be cached. + + + + + Initializes a new instance of the class + that represents a child object in a larger object graph. + + + + + Manages conversion between property values. + + + + + Initializes a new instance of the class. + + The converter. + + + + + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Uses Reflection.Emit to expose the properties of a dictionary + through a dynamic implementation of a typed interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Wraps a with a dynamic object to expose a bit better looking API. + The implementation is trivial and assumes keys are s. + + + + + Contract for manipulating the Dictionary adapter. + + + + + Defines the contract for building typed dictionary adapters. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + The property descriptor. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets the associated with the type. + + The typed interface. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + The property descriptor. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + Another from which to copy behaviors. + The adapter meta-data. + + + + Contract for traversing a . + + + + + Defines the contract for customizing dictionary access. + + + + + Determines relative order to apply related behaviors. + + + + + Copies the dictionary behavior. + + null if should not be copied. Otherwise copy. + + + + Defines the contract for building s. + + + + + Builds the dictionary behaviors. + + + + + Contract for creating additional Dictionary adapters. + + + + + Contract for editing the Dictionary adapter. + + + + + Contract for dictionary initialization. + + + + + Performs any initialization of the + + The dictionary adapter. + The dictionary behaviors. + + + + Defines the contract for building typed dictionary keys. + + + + + Builds the specified key. + + The dictionary adapter. + The current key. + The property. + The updated key + + + + Contract for dictionary meta-data initialization. + + + + + Initializes the given object. + + The dictionary adapter factory. + The dictionary adapter meta. + + + + + Determines whether the given behavior should be included in a new + object. + + A dictionary behavior or annotation. + True if the behavior should be included; otherwise, false. + + behaviors are always included, + regardless of the result of this method. + + + + + + Contract for managing Dictionary adapter notifications. + + + + + Defines the contract for retrieving dictionary values. + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Defines the contract for updating dictionary values. + + + + + Sets the stored dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if the property should be stored. + + + + Contract for validating Dictionary adapter. + + + + + Contract for dictionary validation. + + + + + Determines if is valid. + + The dictionary adapter. + true if valid. + + + + Validates the . + + The dictionary adapter. + The error summary information. + + + + Validates the for a property. + + The dictionary adapter. + The property to validate. + The property summary information. + + + + Invalidates any results cached by the validator. + + The dictionary adapter. + + + + Contract for property descriptor initialization. + + + + + Performs any initialization of the + + The property descriptor. + The property behaviors. + + + + + + + + + Initializes a new instance of the class. + + The name values. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Gets or sets the with the specified key. + + + + + Adapts the specified name values. + + The name values. + + + + Describes a dictionary property. + + + + + Initializes an empty class. + + + + + Initializes a new instance of the class. + + The property. + The annotations. + + + + Initializes a new instance class. + + + + + Copies an existing instance of the class. + + + + + + + + + + Gets the property name. + + + + + Gets the property type. + + + + + Gets the property. + + The property. + + + + Returns true if the property is dynamic. + + + + + Gets additional state. + + + + + Determines if property should be fetched. + + + + + Determines if property must exist first. + + + + + Determines if notifications should occur. + + + + + Gets the property behaviors. + + + + + Gets the type converter. + + The type converter. + + + + Gets the extended properties. + + + + + Gets the setter. + + The setter. + + + + Gets the key builders. + + The key builders. + + + + Gets the setter. + + The setter. + + + + Gets the getter. + + The getter. + + + + Gets the initializers. + + The initializers. + + + + Gets the meta-data initializers. + + The meta-data initializers. + + + + Gets the key. + + The dictionary adapter. + The key. + The descriptor. + + + + Gets the property value. + + The dictionary adapter. + The key. + The stored value. + The descriptor. + true if return only existing. + + + + Sets the property value. + + The dictionary adapter. + The key. + The value. + The descriptor. + + + + Adds a single behavior. + + The behavior. + + + + Adds the behaviors. + + The behaviors. + + + + Adds the behaviors. + + The behaviors. + + + + Copies the behaviors to the other + + + + + Copies the + + + + + Provides a generic collection that supports data binding. + + + This class wraps the CLR + in order to implement the Castle-specific . + + The type of elements in the list. + + + + Initializes a new instance of the class + using default values. + + + + + Initializes a new instance of the class + with the specified list. + + + An of items + to be contained in the . + + + + + Initializes a new instance of the class + wrapping the specified instance. + + + A + to be wrapped by the . + + + + + Contract for value matching. + + + + + Contract for dynamic value resolution. + + + + + Contract for typed dynamic value resolution. + + + + + + This is an abstract implementation + that deals with methods that can be abstracted away + from underlying implementations. + + + AbstractConfiguration makes easier to implementers + to create a new version of + + + + + Gets node attributes. + + + All attributes of the node. + + + + + Gets all child nodes. + + The of child nodes. + + + + Gets the name of the . + + + The Name of the . + + + + + Gets the value of . + + + The Value of the . + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + A collection of objects. + + + + + Creates a new instance of ConfigurationCollection. + + + + + Creates a new instance of ConfigurationCollection. + + + + + is a interface encapsulating a configuration node + used to retrieve configuration values. + + + + + Gets the name of the node. + + + The Name of the node. + + + + + Gets the value of the node. + + + The Value of the node. + + + + + Gets an of + elements containing all node children. + + The Collection of child nodes. + + + + Gets an of the configuration attributes. + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + Initializes a new instance of the class. + + The name. + + + + Gets the value of . + + + The Value of the . + + + + + Deserializes the specified node into an abstract representation of configuration. + + The node. + + + + If a config value is an empty string we return null, this is to keep + backward compatibility with old code + + + + + Helper class for retrieving attributes. + + + + + Gets the attribute. + + The type. + The type attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The type. + The type attributes. + + + + Gets the attribute. + + The member. + The member attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The member. + The member attributes. + + + + Gets the type attribute. + + The type. + The type attribute. + + + + Gets the type attributes. + + The type. + The type attributes. + + + + Gets the type converter. + + The member. + + + + Constant to use when making assembly internals visible to Castle.Core + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] + + + + + Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] + + + + + Find the best available name to describe a type. + + + Usually the best name will be , but + sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) + in which case the method falls back to . + + the type to name + the best name + + + + Defines that the implementation wants a + in order to + access other components. The creator must be aware + that the component might (or might not) implement + the interface. + + + Used by Castle Project components to, for example, + gather logging factories + + + + + Increments IServiceProvider with a generic service resolution operation. + + + + + This interface should be implemented by classes + that are available in a bigger context, exposing + the container to different areas in the same application. + + For example, in Web application, the (global) HttpApplication + subclasses should implement this interface to expose + the configured container + + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Gets the configuration file. + + i.e. log4net.config + + + + Gets the configuration file. + + i.e. log4net.config + + + + The Logger sending everything to the standard output streams. + This is mainly for the cases when you have a utility that + does not have a logger to supply. + + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug and the Name + set to string.Empty. + + + + + Creates a new ConsoleLogger with the Name + set to string.Empty. + + The logs Level. + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug. + + The logs Name. + + + + Creates a new ConsoleLogger. + + The logs Name. + The logs Level. + + + + A Common method to log. + + The level of logging + The name of the logger + The Message + The Exception + + + + Returns a new ConsoleLogger with the name + added after this loggers name, with a dot in between. + + The added hierarchical name. + A new ConsoleLogger. + + + + The Logger using standard Diagnostics namespace. + + + + + Creates a logger based on . + + + + + + Creates a logger based on . + + + + + + + Creates a logger based on . + + + + + + + + Interface for Context Properties implementations + + + + This interface defines a basic property get set accessor. + + + Based on the ContextPropertiesBase of log4net, by Nicko Cadell. + + + + + + Gets or sets the value of a property + + + The value for the property with the specified key + + + + Gets or sets the value of a property + + + + + + Provides an interface that supports and + allows the storage and retrieval of Contexts. These are supported in + both log4net and NLog. + + + + + Exposes the Global Context of the extended logger. + + + + + Exposes the Thread Context of the extended logger. + + + + + Exposes the Thread Stack of the extended logger. + + + + + Provides a factory that can produce either or + classes. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Manages logging. + + + This is a facade for the different logging subsystems. + It offers a simplified interface that follows IOC patterns + and a simplified priority/level/severity abstraction. + + + + + Determines if messages of priority "trace" will be logged. + + True if "trace" messages will be logged. + + + + Determines if messages of priority "debug" will be logged. + + True if "debug" messages will be logged. + + + + Determines if messages of priority "error" will be logged. + + True if "error" messages will be logged. + + + + Determines if messages of priority "fatal" will be logged. + + True if "fatal" messages will be logged. + + + + Determines if messages of priority "info" will be logged. + + True if "info" messages will be logged. + + + + Determines if messages of priority "warn" will be logged. + + True if "warn" messages will be logged. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + If the name has an empty element name. + + + + Logs a trace message. + + The message to log + + + + Logs a trace message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs a info message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Manages the instantiation of s. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + The Level Filtered Logger class. This is a base class which + provides a LogLevel attribute and reroutes all functions into + one Log method. + + + + + Creates a new LevelFilteredLogger. + + + + + The LoggerLevel that this logger + will be using. Defaults to LoggerLevel.Off + + + + + The name that this logger will be using. + Defaults to string.Empty + + + + + Logs a trace message. + + The message to log + + + + Logs a trace message. + + A functor to create the message + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Determines if messages of priority "trace" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "debug" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "info" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "warn" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "error" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "fatal" will be logged. + + true if log level flags include the bit + + + + Implementors output the log content by implementing this method only. + Note that exception can be null + + + + + Supporting Logger levels. + + + + + Logging will be off + + + + + Fatal logging level + + + + + Error logging level + + + + + Warn logging level + + + + + Info logging level + + + + + Debug logging level + + + + + Trace logging level + + + + + NullLogFactory used when logging is turned off. + + + + + Creates an instance of ILogger with the specified name. + + Name. + + + + Creates an instance of ILogger with the specified name and LoggerLevel. + + Name. + Level. + + + + The Null Logger class. This is useful for implementations where you need + to provide a logger to a utility class, but do not want any output from it. + It also helps when you have a utility that does not have a logger to supply. + + + + + Returns empty context properties. + + + + + Returns empty context properties. + + + + + Returns empty context stacks. + + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + Returns this NullLogger. + + Ignored + This ILogger instance. + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + The Stream Logger class. This class can stream log information + to any stream, it is suitable for storing a log file to disk, + or to a MemoryStream for testing your components. + + + This logger is not thread safe. + + + + + Creates a new StreamLogger with default encoding + and buffer size. Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + + + Creates a new StreamLogger with default buffer size. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + + + Creates a new StreamLogger. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + The buffer size that will be used for this stream. + + + + + + Creates a new StreamLogger with + Debug as default Level. + + The name of the log. + The StreamWriter the log will write to. + + + + Creates outputting + to files. The name of the file is derived from the log name + plus the 'log' extension. + + + + + The TraceLogger sends all logging to the System.Diagnostics.TraceSource + built into the .net framework. + + + Logging can be configured in the system.diagnostics configuration + section. + + If logger doesn't find a source name with a full match it will + use source names which match the namespace partially. For example you can + configure from all castle components by adding a source name with the + name "Castle". + + If no portion of the namespace matches the source named "Default" will + be used. + + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + The default logging level at which this source should write messages. In almost all cases this + default value will be overridden in the config file. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + + + + Used to create the TraceLogger implementation of ILogger interface. See . + + + + + List of utility methods related to dynamic proxy operations + + + + + Determines whether the specified type is a proxy generated by + DynamicProxy (1 or 2). + + The type. + + true if it is a proxy; otherwise, false. + + + + + Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. + + + + + Initializes a new instance of the class. + + The target. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets or sets the with the specified key. + + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + + is null. + An element with the same key already exists in the object. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + + is null. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + + is null. + The object is read-only.-or- The has a fixed size. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + is less than zero. + + is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . + The type of the source cannot be cast automatically to the type of the destination . + + + + Returns an object for the object. + + + An object for the object. + + + + + Reads values of properties from and inserts them into using property names as keys. + + + + + + + + + + This returns a new stream instance each time it is called. + It is the responsibility of the caller to dispose of this stream + + + + + + + + + + + + + + + Represents a 'streamable' resource. Can + be a file, a resource in an assembly. + + + + + Only valid for resources that + can be obtained through relative paths + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns an instance of + created according to the relativePath + using itself as the root. + + + + + Depicts the contract for resource factories. + + + + + Used to check whether the resource factory + is able to deal with the given resource + identifier. + + + Implementors should return true + only if the given identifier is supported + by the resource factory + + + + + Creates an instance + for the given resource identifier + + + + + Creates an instance + for the given resource identifier + + + + + Adapts a static string content as an + + + + + Enable access to files on network shares + + + + + Default implementation. + + + + + Initializes a new instance of the class based on the configuration provided in the application configuration file. + + + This constructor is based on the default configuration in the application configuration file. + + + + + This service implementation + requires a host name in order to work + + The smtp server name + + + + Gets or sets the port used to + access the SMTP server + + + + + Gets the hostname. + + The hostname. + + + + Gets or sets a value which is used to + configure if emails are going to be sent asynchronously or not. + + + + + Gets or sets a value that specifies + the amount of time after which a synchronous Send call times out. + + + + + Gets or sets a value indicating whether the email should be sent using + a secure communication channel. + + true if should use SSL; otherwise, false. + + + + Sends a message. + + If any of the parameters is null + From field + To field + e-mail's subject + message's body + + + + Sends a message. + + If the message is null + Message instance + + + + Gets or sets the domain. + + The domain. + + + + Gets or sets the name of the user. + + The name of the user. + + + + Gets or sets the password. + + The password. + + + + Configures the sender + with port information and eventual credential + informed + + Message instance + + + + Gets a value indicating whether credentials were informed. + + + if this instance has credentials; otherwise, . + + + + + Email sender abstraction. + + + + + Sends a mail message. + + From field + To field + E-mail's subject + message's body + + + + Sends a message. + + Message instance + + + + Sends multiple messages. + + List of messages + + + + Interface describing elements composing generated type + + + + + Performs some basic screening and invokes the + to select methods. + + + + + Performs some basic screening to filter out non-interceptable methods. + + + The will get invoked for non-interceptable method notification only; + it does not get asked whether or not to intercept the . + + + + + Reproduces the proxied type's non-inheritable custom attributes on the proxy type. + + + + + Adds an implementation for to the proxy type. + + + + + Encapsulates the information needed to build an attribute. + + + Arrays passed to this class as constructor arguments or property or field values become owned by this class. + They should not be mutated after creation. + + + + + Default implementation of interface producing in-memory proxy assemblies. + + + + + Initializes a new instance of the class with new . + + + + + Initializes a new instance of the class. + + The module scope for generated proxy types. + + + + Provides instructions that a user could follow to make a type or method in + visible to DynamicProxy. + The assembly containing the type or method. + Instructions that a user could follow to make a type or method visible to DynamicProxy. + + + + Creates a message to inform clients that a proxy couldn't be created due to reliance on an + inaccessible type (perhaps itself). + + the inaccessible type that prevents proxy creation + the type that couldn't be proxied + + + + Base class that exposes the common functionalities + to proxy generation. + + + + + It is safe to add mapping (no mapping for the interface exists) + + + + + Generates a parameters constructor that initializes the proxy + state with just to make it non-null. + + This constructor is important to allow proxies to be XML serializable + + + + + + Initializes a new instance of the class. + + Target element. This is either target type or target method for invocation types. + The type of the proxy. This is base type for invocation types. + The interfaces. + The options. + + + + Initializes a new instance of the class. + + Type of the target. + The interfaces. + The options. + + + + Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. + + + + + Provides appropriate Ldind.X opcode for + the type of primitive value to be loaded indirectly. + + + + + Emits a load indirect opcode of the appropriate type for a value or object reference. + Pops a pointer off the evaluation stack, dereferences it and loads + a value of the specified type. + + + + + Emits a load opcode of the appropriate kind for the constant default value of a + type, such as 0 for value types and null for reference types. + + + + + Emits a store indirectopcode of the appropriate type for a value or object reference. + Pops a value of the specified type and a pointer off the evaluation stack, and + stores the value. + + + + + Wraps a reference that is passed + ByRef and provides indirect load/store support. + + + + + Provides appropriate Stind.X opcode + for the type of primitive value to be stored indirectly. + + + + + Represents the scope of uniqueness of names for types and their members + + + + + Gets a unique name based on + + Name suggested by the caller + Unique name based on . + + Implementers should provide name as closely resembling as possible. + Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. + Implementers must return deterministic names, that is when is called twice + with the same suggested name, the same returned name should be provided each time. Non-deterministic return + values, like appending random suffices will break serialization of proxies. + + + + + Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision + with enclosing scope, or other subscopes is possible. + + New naming scope. + + + + Generates the constructor for the class that extends + + + + + + Initializes a new instance of the class. + + The event. + The add method. + The remove method. + The attributes. + + + + Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue + where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. + + + + + Exposes means to change target objects of proxies and invocations. + + + + + Changes the target object () of current . + + The new value of target of invocation. + + Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Permanently changes the target object of the proxy. This does not affect target of the current invocation. + + The new value of target of the proxy. + + Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Provides the main DynamicProxy extension point that allows member interception. + + + + + Provides an extension point that allows proxies to choose specific interceptors on + a per method basis. + + + + + Selects the interceptors that should intercept calls to the given . + + The type of the target object. + The method that will be intercepted. + All interceptors registered with the proxy. + An array of interceptors to invoke upon calling the . + + This method is called only once per proxy instance, upon the first call to the + . Either an empty array or null are valid return values to indicate + that no interceptor should intercept calls to the method. Although it is not advised, it is + legal to return other implementations than these provided in + . + + + + + Encapsulates an invocation of a proxied method. + + + + + Gets the arguments that the has been invoked with. + + The arguments the method was invoked with. + + + + Gets the generic arguments of the method. + + The generic arguments, or null if not a generic method. + + + + Gets the object on which the invocation is performed. This is different from proxy object + because most of the time this will be the proxy target object. + + + The invocation target. + + + + Gets the representing the method being invoked on the proxy. + + The representing the method being invoked. + + + + For interface proxies, this will point to the on the target class. + + The method invocation target. + + + + Gets the proxy object on which the intercepted method is invoked. + + Proxy object on which the intercepted method is invoked. + + + + Gets or sets the return value of the method. + + The return value of the method. + + + + Gets the type of the target object for the intercepted method. + + The type of the target object. + + + + Gets the value of the argument at the specified . + + The index. + The value of the argument at the specified . + + + + Returns the concrete instantiation of the on the proxy, with any generic + parameters bound to real types. + + + The concrete instantiation of the on the proxy, or the if + not a generic method. + + + Can be slower than calling . + + + + + Returns the concrete instantiation of , with any + generic parameters bound to real types. + For interface proxies, this will point to the on the target class. + + The concrete instantiation of , or + if not a generic method. + + In debug builds this can be slower than calling . + + + + + Proceeds the call to the next interceptor in line, and ultimately to the target method. + + + Since interface proxies without a target don't have the target implementation to proceed to, + it is important, that the last interceptor does not call this method, otherwise a + will be thrown. + + + + + Returns an object describing the operation for this + at this specific point during interception. + + + + + Overrides the value of an argument at the given with the + new provided. + + + This method accepts an , however the value provided must be compatible + with the type of the argument defined on the method, otherwise an exception will be thrown. + + The index of the argument to override. + The new value for the argument. + + + + Describes the operation for an + at a specific point during interception. + + + + + Executes the operation described by this instance. + + There is no interceptor, nor a proxy target object, to proceed to. + + + + Attributes should be replicated if they are non-inheritable, + but there are some special cases where the attributes means + something to the CLR, where they should be skipped. + + + + + Returns list of all unique interfaces implemented given types, including their base interfaces. + + + + + Checks whether the specified is a delegate type (i.e. a direct subclass of ). + + + + + Abstracts the implementation of proxy type construction. + + + + + Gets or sets the that this logs to. + + + + + Gets the associated with this builder. + + The module scope associated with this builder. + + + + Creates a proxy type for given , implementing , using provided. + + The class type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified class and interfaces. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type that proxies calls to members on , implementing , using provided. + + The interface type to proxy. + Additional interface types to proxy. + Type implementing on which calls to the interface members should be intercepted. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors + and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, + to allow interceptors to switch invocation target with instance of another type implementing called interface. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given that delegates all calls to the provided interceptors. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Used during the target type inspection process. Implementors have a chance to customize the + proxy generation process. + + + + + Invoked by the generation process to notify that the whole process has completed. + + + + + Invoked by the generation process to notify that a member was not marked as virtual. + + The type which declares the non-virtual member. + The non-virtual member. + + This method gives an opportunity to inspect any non-proxyable member of a type that has + been requested to be proxied, and if appropriate - throw an exception to notify the caller. + + + + + Invoked by the generation process to determine if the specified method should be proxied. + + The type which declares the given method. + The method to inspect. + True if the given method should be proxied; false otherwise. + + + + Provides proxy objects for classes and interfaces. + + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Exposes access to the target object and interceptors of proxy objects. + This is a DynamicProxy infrastructure interface and should not be implemented yourself. + + + + + Get the proxy target (note that null is a valid target!) + + + + + Set the proxy target. + + New proxy target. + + + + Gets the interceptors for the proxy + + + + + Because we need to cache the types based on the mixed in mixins, we do the following here: + - Get all the mixin interfaces + - Sort them by full name + - Return them by position + + The idea is to have reproducible behavior for the case that mixins are registered in different orders. + This method is here because it is required + + + + + The default file name used when the assembly is saved using . + + + + + The default assembly (simple) name used for the assemblies generated by a instance. + + + + + Initializes a new instance of the class; assemblies created by this instance will not be saved. + + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Gets the key pair used to sign the strong-named assembly generated by this . + + + + + Gets the strong-named module generated by this scope, or if none has yet been generated. + + The strong-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the strongly named module generated by this scope. + + The file name of the strongly named module generated by this scope. + + + + Gets the weak-named module generated by this scope, or if none has yet been generated. + + The weak-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the weakly named module generated by this scope. + + The file name of the weakly named module generated by this scope. + + + + Gets the specified module generated by this scope, creating a new one if none has yet been generated. + + If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. + A strong-named or weak-named module generated by this scope, as specified by the parameter. + + + + Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. + + A strong-named module generated by this scope. + + + + Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. + + A weak-named module generated by this scope. + + + + allows customization of the behavior of proxies created by + an (or proxy types generated by an ). + + You should not modify an instance of once it has been + used to create a proxy (or proxy type). + + + + + + Initializes a new instance of the class. + + The hook. + + + + Initializes a new instance of the class. + + + + + Gets or sets the that should be used during proxy type + generation. Defaults to an instance of . + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the that should be used by created proxies + to determine which interceptors to use for an interception. If set to + (which is the default), created proxies will not use any selector. + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the class type from which generated interface proxy types will be derived. + Defaults to (). + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets the collection of additional custom attributes that will be put on generated proxy types. + This collection is initially empty. + + You should not modify this collection once this instance + has been used to create a proxy. + + + + + + Adds a delegate type to the list of mixins that will be added to generated proxies. + That is, generated proxies will have a `Invoke` method with a signature matching that + of the specified . + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate type whose `Invoke` method should be reproduced in generated proxies. + is . + is not a delegate type. + + + + Adds a delegate to be mixed into generated proxies. The + will act as the target for calls to a `Invoke` method with a signature matching that + of the delegate. + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate that should act as the target for calls to `Invoke` methods with a matching signature. + is . + + + + Mixes the interfaces implemented by the specified object into + created proxies, and uses as the target for these mixed-in interfaces. + + You should not call this method once this instance + has been used to create a proxy. + + + The object that should act as the target for all of its implemented interfaces' methods. + is . + is an instance of . + + + + Provides proxy objects for classes and interfaces. + + + + + Initializes a new instance of the class. + + Proxy types builder. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + If true forces all types to be generated into an unsigned module. + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates the proxy type for class proxy with given class, implementing given and using provided . + + The base class for proxy type. + The interfaces that proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + Actual type that the proxy type will encompass. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested type. + + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested . + + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified type is accessible to DynamicProxy. + The type to check. + true if the type is accessible to DynamicProxy, false otherwise. + + + + Determines whether this assembly has internals visible to DynamicProxy. + + The assembly to inspect. + + + + Checks whether the specified method is accessible to DynamicProxy. + Unlike with , the declaring type's accessibility is ignored. + + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Determines whether the specified method is internal. + + The method. + + true if the specified method is internal; otherwise, false. + + + + + Holds objects representing methods of class. + + + + diff --git a/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.dll b/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.dll new file mode 100644 index 000000000..023dc29f8 Binary files /dev/null and b/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.dll differ diff --git a/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.xml b/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.xml new file mode 100644 index 000000000..a7c6b9bab --- /dev/null +++ b/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.xml @@ -0,0 +1,5898 @@ + + + + Castle.Core + + + + + Abstract adapter for the support + needed by the + + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + An element with the same key already exists in the object. + key is null. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Returns an object for the object. + + + An object for the object. + + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + The object is read-only.-or- The has a fixed size. + key is null. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets or sets the with the specified key. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in array at which copying begins. + array is null. + The type of the source cannot be cast automatically to the type of the destination array. + index is less than zero. + array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Abstract implementation of . + + + + + Identifies a property should be represented as a nested component. + + + + + Applies no prefix. + + + + + Gets or sets the prefix. + + The prefix. + + + + Identifies the dictionary adapter types. + + + + + Assigns a specific dictionary key. + + + + + Identifies an interface or property to be pre-fetched. + + + + + Instructs fetching to occur. + + + + + Instructs fetching according to + + + + + Gets whether or not fetching should occur. + + + + + Assigns a property to a group. + + + + + Constructs a group assignment. + + The group name. + + + + Constructs a group assignment. + + The group name. + + + + Gets the group the property is assigned to. + + + + + Suppresses any on-demand behaviors. + + + + + Assigns a specific dictionary key. + + + + + Initializes a new instance of the class. + + The key. + + + + Initializes a new instance of the class. + + The compound key. + + + + Assigns a prefix to the keyed properties of an interface. + + + Key prefixes are not inherited by sub-interfaces. + + + + + Initializes a default instance of the class. + + + + + Initializes a new instance of the class. + + The prefix for the keyed properties of the interface. + + + + Gets the prefix key added to the properties of the interface. + + + + + Substitutes part of key with another string. + + + + + Initializes a new instance of the class. + + The old value. + The new value. + + + + Requests support for multi-level editing. + + + + + Generates a new GUID on demand. + + + + + Support for on-demand value resolution. + + + + + Specifies assignment by reference rather than by copying. + + + + + Removes a property if matches value. + + + + + Removes a property if null or empty string, guid or collection. + + + + + Provides simple string formatting from existing properties. + + + + + Gets the string format. + + + + + Gets the format properties. + + + + + Identifies a property should be represented as a delimited string value. + + + + + Gets the separator. + + + + + Converts all properties to strings. + + + + + Gets or sets the format. + + The format. + + + + Suppress property change notifications. + + + + + Assigns a prefix to the keyed properties using the interface name. + + + + + Indicates that underlying values are changeable and should not be cached. + + + + + Initializes a new instance of the class + that represents a child object in a larger object graph. + + + + + Manages conversion between property values. + + + + + Initializes a new instance of the class. + + The converter. + + + + + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Uses Reflection.Emit to expose the properties of a dictionary + through a dynamic implementation of a typed interface. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Wraps a with a dynamic object to expose a bit better looking API. + The implementation is trivial and assumes keys are s. + + + + + Contract for manipulating the Dictionary adapter. + + + + + Defines the contract for building typed dictionary adapters. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + The property descriptor. + An implementation of the typed interface bound to the dictionary. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the namedValues. + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets a typed adapter bound to the . + + The typed interface. + The underlying source of properties. + An implementation of the typed interface bound to the . + + The type represented by T must be an interface with properties. + + + + + Gets the associated with the type. + + The typed interface. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + The property descriptor. + The adapter meta-data. + + + + Gets the associated with the type. + + The typed interface. + Another from which to copy behaviors. + The adapter meta-data. + + + + Contract for traversing a . + + + + + Defines the contract for customizing dictionary access. + + + + + Determines relative order to apply related behaviors. + + + + + Copies the dictionary behavior. + + null if should not be copied. Otherwise copy. + + + + Defines the contract for building s. + + + + + Builds the dictionary behaviors. + + + + + Contract for creating additional Dictionary adapters. + + + + + Contract for editing the Dictionary adapter. + + + + + Contract for dictionary initialization. + + + + + Performs any initialization of the + + The dictionary adapter. + The dictionary behaviors. + + + + Defines the contract for building typed dictionary keys. + + + + + Builds the specified key. + + The dictionary adapter. + The current key. + The property. + The updated key + + + + Contract for dictionary meta-data initialization. + + + + + Initializes the given object. + + The dictionary adapter factory. + The dictionary adapter meta. + + + + + Determines whether the given behavior should be included in a new + object. + + A dictionary behavior or annotation. + True if the behavior should be included; otherwise, false. + + behaviors are always included, + regardless of the result of this method. + + + + + + Contract for managing Dictionary adapter notifications. + + + + + Defines the contract for retrieving dictionary values. + + + + + Gets the effective dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if return only existing. + The effective property value. + + + + Defines the contract for updating dictionary values. + + + + + Sets the stored dictionary value. + + The dictionary adapter. + The key. + The stored value. + The property. + true if the property should be stored. + + + + Contract for validating Dictionary adapter. + + + + + Contract for dictionary validation. + + + + + Determines if is valid. + + The dictionary adapter. + true if valid. + + + + Validates the . + + The dictionary adapter. + The error summary information. + + + + Validates the for a property. + + The dictionary adapter. + The property to validate. + The property summary information. + + + + Invalidates any results cached by the validator. + + The dictionary adapter. + + + + Contract for property descriptor initialization. + + + + + Performs any initialization of the + + The property descriptor. + The property behaviors. + + + + + + + + + Initializes a new instance of the class. + + The name values. + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + key is null. + + + + Gets or sets the with the specified key. + + + + + Adapts the specified name values. + + The name values. + + + + Describes a dictionary property. + + + + + Initializes an empty class. + + + + + Initializes a new instance of the class. + + The property. + The annotations. + + + + Initializes a new instance class. + + + + + Copies an existing instance of the class. + + + + + + + + + + Gets the property name. + + + + + Gets the property type. + + + + + Gets the property. + + The property. + + + + Returns true if the property is dynamic. + + + + + Gets additional state. + + + + + Determines if property should be fetched. + + + + + Determines if property must exist first. + + + + + Determines if notifications should occur. + + + + + Gets the property behaviors. + + + + + Gets the type converter. + + The type converter. + + + + Gets the extended properties. + + + + + Gets the setter. + + The setter. + + + + Gets the key builders. + + The key builders. + + + + Gets the setter. + + The setter. + + + + Gets the getter. + + The getter. + + + + Gets the initializers. + + The initializers. + + + + Gets the meta-data initializers. + + The meta-data initializers. + + + + Gets the key. + + The dictionary adapter. + The key. + The descriptor. + + + + Gets the property value. + + The dictionary adapter. + The key. + The stored value. + The descriptor. + true if return only existing. + + + + Sets the property value. + + The dictionary adapter. + The key. + The value. + The descriptor. + + + + Adds a single behavior. + + The behavior. + + + + Adds the behaviors. + + The behaviors. + + + + Adds the behaviors. + + The behaviors. + + + + Copies the behaviors to the other + + + + + Copies the + + + + + Provides a generic collection that supports data binding. + + + This class wraps the CLR + in order to implement the Castle-specific . + + The type of elements in the list. + + + + Initializes a new instance of the class + using default values. + + + + + Initializes a new instance of the class + with the specified list. + + + An of items + to be contained in the . + + + + + Initializes a new instance of the class + wrapping the specified instance. + + + A + to be wrapped by the . + + + + + Contract for value matching. + + + + + Contract for dynamic value resolution. + + + + + Contract for typed dynamic value resolution. + + + + + + This is an abstract implementation + that deals with methods that can be abstracted away + from underlying implementations. + + + AbstractConfiguration makes easier to implementers + to create a new version of + + + + + Gets node attributes. + + + All attributes of the node. + + + + + Gets all child nodes. + + The of child nodes. + + + + Gets the name of the . + + + The Name of the . + + + + + Gets the value of . + + + The Value of the . + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + A collection of objects. + + + + + Creates a new instance of ConfigurationCollection. + + + + + Creates a new instance of ConfigurationCollection. + + + + + is a interface encapsulating a configuration node + used to retrieve configuration values. + + + + + Gets the name of the node. + + + The Name of the node. + + + + + Gets the value of the node. + + + The Value of the node. + + + + + Gets an of + elements containing all node children. + + The Collection of child nodes. + + + + Gets an of the configuration attributes. + + + + + Gets the value of the node and converts it + into specified . + + The + + The Default value returned if the conversion fails. + + The Value converted into the specified type. + + + + Initializes a new instance of the class. + + The name. + + + + Gets the value of . + + + The Value of the . + + + + + Deserializes the specified node into an abstract representation of configuration. + + The node. + + + + If a config value is an empty string we return null, this is to keep + backward compatibility with old code + + + + + Helper class for retrieving attributes. + + + + + Gets the attribute. + + The type. + The type attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The type. + The type attributes. + + + + Gets the attribute. + + The member. + The member attribute. + + + + Gets the attributes. Does not consider inherited attributes! + + The member. + The member attributes. + + + + Gets the type attribute. + + The type. + The type attribute. + + + + Gets the type attributes. + + The type. + The type attributes. + + + + Gets the type converter. + + The member. + + + + Constant to use when making assembly internals visible to Castle.Core + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] + + + + + Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. + [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] + + + + + Find the best available name to describe a type. + + + Usually the best name will be , but + sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) + in which case the method falls back to . + + the type to name + the best name + + + + Defines that the implementation wants a + in order to + access other components. The creator must be aware + that the component might (or might not) implement + the interface. + + + Used by Castle Project components to, for example, + gather logging factories + + + + + Increments IServiceProvider with a generic service resolution operation. + + + + + This interface should be implemented by classes + that are available in a bigger context, exposing + the container to different areas in the same application. + + For example, in Web application, the (global) HttpApplication + subclasses should implement this interface to expose + the configured container + + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Gets the configuration file. + + i.e. log4net.config + + + + Gets the configuration file. + + i.e. log4net.config + + + + The Logger sending everything to the standard output streams. + This is mainly for the cases when you have a utility that + does not have a logger to supply. + + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug and the Name + set to string.Empty. + + + + + Creates a new ConsoleLogger with the Name + set to string.Empty. + + The logs Level. + + + + Creates a new ConsoleLogger with the Level + set to LoggerLevel.Debug. + + The logs Name. + + + + Creates a new ConsoleLogger. + + The logs Name. + The logs Level. + + + + A Common method to log. + + The level of logging + The name of the logger + The Message + The Exception + + + + Returns a new ConsoleLogger with the name + added after this loggers name, with a dot in between. + + The added hierarchical name. + A new ConsoleLogger. + + + + The Logger using standard Diagnostics namespace. + + + + + Creates a logger based on . + + + + + + Creates a logger based on . + + + + + + + Creates a logger based on . + + + + + + + + Interface for Context Properties implementations + + + + This interface defines a basic property get set accessor. + + + Based on the ContextPropertiesBase of log4net, by Nicko Cadell. + + + + + + Gets or sets the value of a property + + + The value for the property with the specified key + + + + Gets or sets the value of a property + + + + + + Provides an interface that supports and + allows the storage and retrieval of Contexts. These are supported in + both log4net and NLog. + + + + + Exposes the Global Context of the extended logger. + + + + + Exposes the Thread Context of the extended logger. + + + + + Exposes the Thread Stack of the extended logger. + + + + + Provides a factory that can produce either or + classes. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Creates a new extended logger, getting the logger name from the specified type. + + + + + Creates a new extended logger. + + + + + Manages logging. + + + This is a facade for the different logging subsystems. + It offers a simplified interface that follows IOC patterns + and a simplified priority/level/severity abstraction. + + + + + Determines if messages of priority "trace" will be logged. + + True if "trace" messages will be logged. + + + + Determines if messages of priority "debug" will be logged. + + True if "debug" messages will be logged. + + + + Determines if messages of priority "error" will be logged. + + True if "error" messages will be logged. + + + + Determines if messages of priority "fatal" will be logged. + + True if "fatal" messages will be logged. + + + + Determines if messages of priority "info" will be logged. + + True if "info" messages will be logged. + + + + Determines if messages of priority "warn" will be logged. + + True if "warn" messages will be logged. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + If the name has an empty element name. + + + + Logs a trace message. + + The message to log + + + + Logs a trace message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs a info message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message with lazily constructed message. The message will be constructed only if the is true. + + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Manages the instantiation of s. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + Creates a new logger, getting the logger name from the specified type. + + + + + Creates a new logger. + + + + + The Level Filtered Logger class. This is a base class which + provides a LogLevel attribute and reroutes all functions into + one Log method. + + + + + Creates a new LevelFilteredLogger. + + + + + The LoggerLevel that this logger + will be using. Defaults to LoggerLevel.Off + + + + + The name that this logger will be using. + Defaults to string.Empty + + + + + Logs a trace message. + + The message to log + + + + Logs a trace message. + + A functor to create the message + + + + Logs a trace message. + + The exception to log + The message to log + + + + Logs a trace message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a trace message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The message to log + + + + Logs a debug message. + + The exception to log + The message to log + + + + Logs a debug message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a debug message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The message to log + + + + Logs an info message. + + The exception to log + The message to log + + + + Logs an info message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an info message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The message to log + + + + Logs a warn message. + + The exception to log + The message to log + + + + Logs a warn message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a warn message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The message to log + + + + Logs an error message. + + The exception to log + The message to log + + + + Logs an error message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs an error message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The message to log + + + + Logs a fatal message. + + The exception to log + The message to log + + + + Logs a fatal message. + + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Logs a fatal message. + + The exception to log + The format provider to use + Format string for the message to log + Format arguments for the message to log + + + + Determines if messages of priority "trace" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "debug" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "info" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "warn" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "error" will be logged. + + true if log level flags include the bit + + + + Determines if messages of priority "fatal" will be logged. + + true if log level flags include the bit + + + + Implementors output the log content by implementing this method only. + Note that exception can be null + + + + + Supporting Logger levels. + + + + + Logging will be off + + + + + Fatal logging level + + + + + Error logging level + + + + + Warn logging level + + + + + Info logging level + + + + + Debug logging level + + + + + Trace logging level + + + + + NullLogFactory used when logging is turned off. + + + + + Creates an instance of ILogger with the specified name. + + Name. + + + + Creates an instance of ILogger with the specified name and LoggerLevel. + + Name. + Level. + + + + The Null Logger class. This is useful for implementations where you need + to provide a logger to a utility class, but do not want any output from it. + It also helps when you have a utility that does not have a logger to supply. + + + + + Returns empty context properties. + + + + + Returns empty context properties. + + + + + Returns empty context stacks. + + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + No-op. + + false + + + + Returns this NullLogger. + + Ignored + This ILogger instance. + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + + + + No-op. + + Ignored + Ignored + Ignored + Ignored + + + + The Stream Logger class. This class can stream log information + to any stream, it is suitable for storing a log file to disk, + or to a MemoryStream for testing your components. + + + This logger is not thread safe. + + + + + Creates a new StreamLogger with default encoding + and buffer size. Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + + + Creates a new StreamLogger with default buffer size. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + + + Creates a new StreamLogger. + Initial Level is set to Debug. + + + The name of the log. + + + The stream that will be used for logging, + seeking while the logger is alive + + + The encoding that will be used for this stream. + + + + The buffer size that will be used for this stream. + + + + + + Creates a new StreamLogger with + Debug as default Level. + + The name of the log. + The StreamWriter the log will write to. + + + + Creates outputting + to files. The name of the file is derived from the log name + plus the 'log' extension. + + + + + The TraceLogger sends all logging to the System.Diagnostics.TraceSource + built into the .net framework. + + + Logging can be configured in the system.diagnostics configuration + section. + + If logger doesn't find a source name with a full match it will + use source names which match the namespace partially. For example you can + configure from all castle components by adding a source name with the + name "Castle". + + If no portion of the namespace matches the source named "Default" will + be used. + + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + + + + Build a new trace logger based on the named TraceSource + + The name used to locate the best TraceSource. In most cases comes from the using type's fullname. + The default logging level at which this source should write messages. In almost all cases this + default value will be overridden in the config file. + + + + Create a new child logger. + The name of the child logger is [current-loggers-name].[passed-in-name] + + The Subname of this logger. + The New ILogger instance. + + + + Used to create the TraceLogger implementation of ILogger interface. See . + + + + + List of utility methods related to dynamic proxy operations + + + + + Determines whether the specified type is a proxy generated by + DynamicProxy (1 or 2). + + The type. + + true if it is a proxy; otherwise, false. + + + + + Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. + + + + + Initializes a new instance of the class. + + The target. + + + + Gets the number of elements contained in the . + + The number of elements contained in the . + + + + Gets a value indicating whether access to the is synchronized (thread safe). + + true if access to the is synchronized (thread safe); otherwise, false. + + + + Gets an object that can be used to synchronize access to the . + + An object that can be used to synchronize access to the . + + + + Gets a value indicating whether the object is read-only. + + true if the object is read-only; otherwise, false. + + + + Gets or sets the with the specified key. + + + + + Gets an object containing the keys of the object. + + An object containing the keys of the object. + + + + Gets an object containing the values in the object. + + An object containing the values in the object. + + + + Gets a value indicating whether the object has a fixed size. + + true if the object has a fixed size; otherwise, false. + + + + Adds an element with the provided key and value to the object. + + The to use as the key of the element to add. + The to use as the value of the element to add. + + is null. + An element with the same key already exists in the object. + The is read-only.-or- The has a fixed size. + + + + Removes all elements from the object. + + The object is read-only. + + + + Determines whether the object contains an element with the specified key. + + The key to locate in the object. + + true if the contains an element with the key; otherwise, false. + + + is null. + + + + Removes the element with the specified key from the object. + + The key of the element to remove. + + is null. + The object is read-only.-or- The has a fixed size. + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + is less than zero. + + is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . + The type of the source cannot be cast automatically to the type of the destination . + + + + Returns an object for the object. + + + An object for the object. + + + + + Reads values of properties from and inserts them into using property names as keys. + + + + + + + + + + This returns a new stream instance each time it is called. + It is the responsibility of the caller to dispose of this stream + + + + + + + + + + + + + + + Represents a 'streamable' resource. Can + be a file, a resource in an assembly. + + + + + Only valid for resources that + can be obtained through relative paths + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns a reader for the stream + + + It's up to the caller to dispose the reader. + + + + + Returns an instance of + created according to the relativePath + using itself as the root. + + + + + Depicts the contract for resource factories. + + + + + Used to check whether the resource factory + is able to deal with the given resource + identifier. + + + Implementors should return true + only if the given identifier is supported + by the resource factory + + + + + Creates an instance + for the given resource identifier + + + + + Creates an instance + for the given resource identifier + + + + + Adapts a static string content as an + + + + + Enable access to files on network shares + + + + + Default implementation. + + + + + Initializes a new instance of the class based on the configuration provided in the application configuration file. + + + This constructor is based on the default configuration in the application configuration file. + + + + + This service implementation + requires a host name in order to work + + The smtp server name + + + + Gets or sets the port used to + access the SMTP server + + + + + Gets the hostname. + + The hostname. + + + + Gets or sets a value which is used to + configure if emails are going to be sent asynchronously or not. + + + + + Gets or sets a value that specifies + the amount of time after which a synchronous Send call times out. + + + + + Gets or sets a value indicating whether the email should be sent using + a secure communication channel. + + true if should use SSL; otherwise, false. + + + + Sends a message. + + If any of the parameters is null + From field + To field + e-mail's subject + message's body + + + + Sends a message. + + If the message is null + Message instance + + + + Gets or sets the domain. + + The domain. + + + + Gets or sets the name of the user. + + The name of the user. + + + + Gets or sets the password. + + The password. + + + + Configures the sender + with port information and eventual credential + informed + + Message instance + + + + Gets a value indicating whether credentials were informed. + + + if this instance has credentials; otherwise, . + + + + + Email sender abstraction. + + + + + Sends a mail message. + + From field + To field + E-mail's subject + message's body + + + + Sends a message. + + Message instance + + + + Sends multiple messages. + + List of messages + + + + Interface describing elements composing generated type + + + + + Performs some basic screening and invokes the + to select methods. + + + + + Performs some basic screening to filter out non-interceptable methods. + + + The will get invoked for non-interceptable method notification only; + it does not get asked whether or not to intercept the . + + + + + Reproduces the proxied type's non-inheritable custom attributes on the proxy type. + + + + + Adds an implementation for to the proxy type. + + + + + Encapsulates the information needed to build an attribute. + + + Arrays passed to this class as constructor arguments or property or field values become owned by this class. + They should not be mutated after creation. + + + + + Default implementation of interface producing in-memory proxy assemblies. + + + + + Initializes a new instance of the class with new . + + + + + Initializes a new instance of the class. + + The module scope for generated proxy types. + + + + Provides instructions that a user could follow to make a type or method in + visible to DynamicProxy. + The assembly containing the type or method. + Instructions that a user could follow to make a type or method visible to DynamicProxy. + + + + Creates a message to inform clients that a proxy couldn't be created due to reliance on an + inaccessible type (perhaps itself). + + the inaccessible type that prevents proxy creation + the type that couldn't be proxied + + + + Base class that exposes the common functionalities + to proxy generation. + + + + + It is safe to add mapping (no mapping for the interface exists) + + + + + Generates a parameters constructor that initializes the proxy + state with just to make it non-null. + + This constructor is important to allow proxies to be XML serializable + + + + + + Initializes a new instance of the class. + + Target element. This is either target type or target method for invocation types. + The type of the proxy. This is base type for invocation types. + The interfaces. + The options. + + + + Initializes a new instance of the class. + + Type of the target. + The interfaces. + The options. + + + + Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. + + + + + Provides appropriate Ldind.X opcode for + the type of primitive value to be loaded indirectly. + + + + + Emits a load indirect opcode of the appropriate type for a value or object reference. + Pops a pointer off the evaluation stack, dereferences it and loads + a value of the specified type. + + + + + Emits a load opcode of the appropriate kind for the constant default value of a + type, such as 0 for value types and null for reference types. + + + + + Emits a store indirectopcode of the appropriate type for a value or object reference. + Pops a value of the specified type and a pointer off the evaluation stack, and + stores the value. + + + + + Wraps a reference that is passed + ByRef and provides indirect load/store support. + + + + + Provides appropriate Stind.X opcode + for the type of primitive value to be stored indirectly. + + + + + Represents the scope of uniqueness of names for types and their members + + + + + Gets a unique name based on + + Name suggested by the caller + Unique name based on . + + Implementers should provide name as closely resembling as possible. + Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. + Implementers must return deterministic names, that is when is called twice + with the same suggested name, the same returned name should be provided each time. Non-deterministic return + values, like appending random suffices will break serialization of proxies. + + + + + Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision + with enclosing scope, or other subscopes is possible. + + New naming scope. + + + + Generates the constructor for the class that extends + + + + + + Initializes a new instance of the class. + + The event. + The add method. + The remove method. + The attributes. + + + + Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue + where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. + + + + + Exposes means to change target objects of proxies and invocations. + + + + + Changes the target object () of current . + + The new value of target of invocation. + + Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Permanently changes the target object of the proxy. This does not affect target of the current invocation. + + The new value of target of the proxy. + + Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. + Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. + In this case last interceptor in the pipeline mustn't call or a will be throws. + Also while it's technically legal to pass proxy itself as , this would create stack overflow. + In this case last interceptor in the pipeline mustn't call or a will be throws. + + Thrown when is not assignable to the proxied type. + + + + Provides the main DynamicProxy extension point that allows member interception. + + + + + Provides an extension point that allows proxies to choose specific interceptors on + a per method basis. + + + + + Selects the interceptors that should intercept calls to the given . + + The type of the target object. + The method that will be intercepted. + All interceptors registered with the proxy. + An array of interceptors to invoke upon calling the . + + This method is called only once per proxy instance, upon the first call to the + . Either an empty array or null are valid return values to indicate + that no interceptor should intercept calls to the method. Although it is not advised, it is + legal to return other implementations than these provided in + . + + + + + Encapsulates an invocation of a proxied method. + + + + + Gets the arguments that the has been invoked with. + + The arguments the method was invoked with. + + + + Gets the generic arguments of the method. + + The generic arguments, or null if not a generic method. + + + + Gets the object on which the invocation is performed. This is different from proxy object + because most of the time this will be the proxy target object. + + + The invocation target. + + + + Gets the representing the method being invoked on the proxy. + + The representing the method being invoked. + + + + For interface proxies, this will point to the on the target class. + + The method invocation target. + + + + Gets the proxy object on which the intercepted method is invoked. + + Proxy object on which the intercepted method is invoked. + + + + Gets or sets the return value of the method. + + The return value of the method. + + + + Gets the type of the target object for the intercepted method. + + The type of the target object. + + + + Gets the value of the argument at the specified . + + The index. + The value of the argument at the specified . + + + + Returns the concrete instantiation of the on the proxy, with any generic + parameters bound to real types. + + + The concrete instantiation of the on the proxy, or the if + not a generic method. + + + Can be slower than calling . + + + + + Returns the concrete instantiation of , with any + generic parameters bound to real types. + For interface proxies, this will point to the on the target class. + + The concrete instantiation of , or + if not a generic method. + + In debug builds this can be slower than calling . + + + + + Proceeds the call to the next interceptor in line, and ultimately to the target method. + + + Since interface proxies without a target don't have the target implementation to proceed to, + it is important, that the last interceptor does not call this method, otherwise a + will be thrown. + + + + + Returns an object describing the operation for this + at this specific point during interception. + + + + + Overrides the value of an argument at the given with the + new provided. + + + This method accepts an , however the value provided must be compatible + with the type of the argument defined on the method, otherwise an exception will be thrown. + + The index of the argument to override. + The new value for the argument. + + + + Describes the operation for an + at a specific point during interception. + + + + + Executes the operation described by this instance. + + There is no interceptor, nor a proxy target object, to proceed to. + + + + Attributes should be replicated if they are non-inheritable, + but there are some special cases where the attributes means + something to the CLR, where they should be skipped. + + + + + Returns list of all unique interfaces implemented given types, including their base interfaces. + + + + + Checks whether the specified is a delegate type (i.e. a direct subclass of ). + + + + + Abstracts the implementation of proxy type construction. + + + + + Gets or sets the that this logs to. + + + + + Gets the associated with this builder. + + The module scope associated with this builder. + + + + Creates a proxy type for given , implementing , using provided. + + The class type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified class and interfaces. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type that proxies calls to members on , implementing , using provided. + + The interface type to proxy. + Additional interface types to proxy. + Type implementing on which calls to the interface members should be intercepted. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. + Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors + and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, + to allow interceptors to switch invocation target with instance of another type implementing called interface. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Creates a proxy type for given that delegates all calls to the provided interceptors. + + The interface type to proxy. + Additional interface types to proxy. + The proxy generation options. + The generated proxy type. + + Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. + + Thrown when or any of is a generic type definition. + Thrown when or any of is not public. + Note that to avoid this exception, you can mark offending type internal, and define + pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. + + + + + Used during the target type inspection process. Implementors have a chance to customize the + proxy generation process. + + + + + Invoked by the generation process to notify that the whole process has completed. + + + + + Invoked by the generation process to notify that a member was not marked as virtual. + + The type which declares the non-virtual member. + The non-virtual member. + + This method gives an opportunity to inspect any non-proxyable member of a type that has + been requested to be proxied, and if appropriate - throw an exception to notify the caller. + + + + + Invoked by the generation process to determine if the specified method should be proxied. + + The type which declares the given method. + The method to inspect. + True if the given method should be proxied; false otherwise. + + + + Provides proxy objects for classes and interfaces. + + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Exposes access to the target object and interceptors of proxy objects. + This is a DynamicProxy infrastructure interface and should not be implemented yourself. + + + + + Get the proxy target (note that null is a valid target!) + + + + + Set the proxy target. + + New proxy target. + + + + Gets the interceptors for the proxy + + + + + Because we need to cache the types based on the mixed in mixins, we do the following here: + - Get all the mixin interfaces + - Sort them by full name + - Return them by position + + The idea is to have reproducible behavior for the case that mixins are registered in different orders. + This method is here because it is required + + + + + The default file name used when the assembly is saved using . + + + + + The default assembly (simple) name used for the assemblies generated by a instance. + + + + + Initializes a new instance of the class; assemblies created by this instance will not be saved. + + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance + should be saved and what simple names are to be assigned to them. + + If set to true saves the generated module. + If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. + Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). + The simple name of the strong-named assembly generated by this . + The path and file name of the manifest module of the strong-named assembly generated by this . + The simple name of the weak-named assembly generated by this . + The path and file name of the manifest module of the weak-named assembly generated by this . + + + + Gets the key pair used to sign the strong-named assembly generated by this . + + + + + Gets the strong-named module generated by this scope, or if none has yet been generated. + + The strong-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the strongly named module generated by this scope. + + The file name of the strongly named module generated by this scope. + + + + Gets the weak-named module generated by this scope, or if none has yet been generated. + + The weak-named module generated by this scope, or if none has yet been generated. + + + + Gets the file name of the weakly named module generated by this scope. + + The file name of the weakly named module generated by this scope. + + + + Gets the specified module generated by this scope, creating a new one if none has yet been generated. + + If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. + A strong-named or weak-named module generated by this scope, as specified by the parameter. + + + + Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. + + A strong-named module generated by this scope. + + + + Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. + + A weak-named module generated by this scope. + + + + allows customization of the behavior of proxies created by + an (or proxy types generated by an ). + + You should not modify an instance of once it has been + used to create a proxy (or proxy type). + + + + + + Initializes a new instance of the class. + + The hook. + + + + Initializes a new instance of the class. + + + + + Gets or sets the that should be used during proxy type + generation. Defaults to an instance of . + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the that should be used by created proxies + to determine which interceptors to use for an interception. If set to + (which is the default), created proxies will not use any selector. + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets or sets the class type from which generated interface proxy types will be derived. + Defaults to (). + + You should not modify this property once this instance + has been used to create a proxy. + + + + + + Gets the collection of additional custom attributes that will be put on generated proxy types. + This collection is initially empty. + + You should not modify this collection once this instance + has been used to create a proxy. + + + + + + Adds a delegate type to the list of mixins that will be added to generated proxies. + That is, generated proxies will have a `Invoke` method with a signature matching that + of the specified . + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate type whose `Invoke` method should be reproduced in generated proxies. + is . + is not a delegate type. + + + + Adds a delegate to be mixed into generated proxies. The + will act as the target for calls to a `Invoke` method with a signature matching that + of the delegate. + + You should not call this method once this instance + has been used to create a proxy. + + + The delegate that should act as the target for calls to `Invoke` methods with a matching signature. + is . + + + + Mixes the interfaces implemented by the specified object into + created proxies, and uses as the target for these mixed-in interfaces. + + You should not call this method once this instance + has been used to create a proxy. + + + The object that should act as the target for all of its implemented interfaces' methods. + is . + is an instance of . + + + + Provides proxy objects for classes and interfaces. + + + + + Initializes a new instance of the class. + + Proxy types builder. + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + If true forces all types to be generated into an unsigned module. + + + + Gets or sets the that this log to. + + + + + Gets the proxy builder instance used to generate proxy types. + + The proxy builder. + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + Object proxying calls to members of on object. + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target + use method. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on object with given . + Interceptors can use interface to provide other target for method invocation than default . + + Type of the interface implemented by which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + Thrown when given does not implement interface. + Thrown when no default constructor exists on actual type of object. + Thrown when default constructor of actual type of throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of types on generated target object. + + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + As a result of that also at least one implementation must be provided. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of type on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not an interface type. + + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . + + Type of the interface which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + Object proxying calls to members of and types on generated target object. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given array is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not an interface type. + + Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. + They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The target object, calls to which will be intercepted. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no parameterless constructor exists on type . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of type. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no default constructor exists on type . + Thrown when default constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . + + Type of class which will be proxied. + Additional interface types. Calls to their members will be proxied as well. + The proxy generation options used to influence generated proxy type and object. + Arguments of constructor of type which should be used to create a new instance of that type. + The interceptors called during the invocation of proxied methods. + + New object of type proxying calls to virtual members of and types. + + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given object is a null reference (Nothing in Visual Basic). + Thrown when given or any of is a generic type definition. + Thrown when given is not a class type. + Thrown when no constructor exists on type with parameters matching . + Thrown when constructor of type throws an exception. + + This method uses implementation to generate a proxy type. + As such caller should expect any type of exception that given implementation may throw. + + + + + Creates the proxy type for class proxy with given class, implementing given and using provided . + + The base class for proxy type. + The interfaces that proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + Actual type that the proxy type will encompass. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . + + The interface proxy type should implement. + The additional interfaces proxy type should implement. + The options for proxy generation process. + of proxy. + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested type. + + + + + Creates a delegate of the specified type to a suitable `Invoke` method + on the given instance. + + The proxy instance to which the delegate should be bound. + The type of delegate that should be created. + + The does not have an `Invoke` method that is compatible with + the requested . + + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified method is accessible to DynamicProxy. + The method to check. + If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Checks whether the specified type is accessible to DynamicProxy. + The type to check. + true if the type is accessible to DynamicProxy, false otherwise. + + + + Determines whether this assembly has internals visible to DynamicProxy. + + The assembly to inspect. + + + + Checks whether the specified method is accessible to DynamicProxy. + Unlike with , the declaring type's accessibility is ignored. + + The method to check. + true if the method is accessible to DynamicProxy, false otherwise. + + + + Determines whether the specified method is internal. + + The method. + + true if the specified method is internal; otherwise, false. + + + + + Holds objects representing methods of class. + + + + diff --git a/packages/Castle.Core.5.1.1/readme.txt b/packages/Castle.Core.5.1.1/readme.txt new file mode 100644 index 000000000..59e02923d --- /dev/null +++ b/packages/Castle.Core.5.1.1/readme.txt @@ -0,0 +1,10 @@ +Thanks for downloading this Castle package. +You can find full list of changes in CHANGELOG.md + +Documentation (work in progress, contributions appreciated): +DictionaryAdapter: https://github.com/castleproject/Core/blob/master/docs/dictionaryadapter.md +DynamicProxy: https://github.com/castleproject/Core/blob/master/docs/dynamicproxy.md +Discussion group: http://groups.google.com/group/castle-project-users +StackOverflow tags: castle-dynamicproxy, castle-dictionaryadapter, castle + +Issue tracker: https://github.com/castleproject/Core/issues \ No newline at end of file diff --git a/packages/JetBrains.Annotations.2023.3.0/.signature.p7s b/packages/JetBrains.Annotations.2023.3.0/.signature.p7s new file mode 100644 index 000000000..eb14441eb Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/.signature.p7s differ diff --git a/packages/JetBrains.Annotations.2023.3.0/JetBrains.Annotations.2023.3.0.nupkg b/packages/JetBrains.Annotations.2023.3.0/JetBrains.Annotations.2023.3.0.nupkg new file mode 100644 index 000000000..a8b5da608 Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/JetBrains.Annotations.2023.3.0.nupkg differ diff --git a/packages/JetBrains.Annotations.2023.3.0/icon.png b/packages/JetBrains.Annotations.2023.3.0/icon.png new file mode 100644 index 000000000..0e61cc884 Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/icon.png differ diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/net20/JetBrains.Annotations.dll b/packages/JetBrains.Annotations.2023.3.0/lib/net20/JetBrains.Annotations.dll new file mode 100644 index 000000000..28746c528 Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/lib/net20/JetBrains.Annotations.dll differ diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/net20/JetBrains.Annotations.xml b/packages/JetBrains.Annotations.2023.3.0/lib/net20/JetBrains.Annotations.xml new file mode 100644 index 000000000..ea4ec9eb4 --- /dev/null +++ b/packages/JetBrains.Annotations.2023.3.0/lib/net20/JetBrains.Annotations.xml @@ -0,0 +1,1231 @@ + + + + JetBrains.Annotations + + + + + Indicates that the value of the marked element could be null sometimes, + so checking for null is required before its usage. + + + [CanBeNull] object Test() => null; + + void UseTest() { + var p = Test(); + var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' + } + + + + + Indicates that the value of the marked element can never be null. + + + [NotNull] object Foo() { + return null; // Warning: Possible 'null' assignment + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can never be null. + + + public void Foo([ItemNotNull]List<string> books) + { + foreach (var book in books) { + if (book != null) // Warning: Expression is always true + Console.WriteLine(book.ToUpper()); + } + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can be null. + + + public void Foo([ItemCanBeNull]List<string> books) + { + foreach (var book in books) + { + // Warning: Possible 'System.NullReferenceException' + Console.WriteLine(book.ToUpper()); + } + } + + + + + Indicates that the marked method builds a string by the format pattern and (optional) arguments. + The parameter, which contains the format string, should be given in the constructor. The format string + should be in -like form. + + + [StringFormatMethod("message")] + void ShowError(string message, params object[] args) { /* do something */ } + + void Foo() { + ShowError("Failed: {0}"); // Warning: Non-existing argument in format string + } + + + + + Specifies which parameter of an annotated method should be treated as the format string. + + + + + Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments + in the order in which they appear. + + + void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ } + + void Foo() { + LogInfo("User created: {username}"); // Warning: Non-existing argument in format string + } + + + + + Use this annotation to specify a type that contains static or const fields + with values for the annotated property/field/parameter. + The specified type will be used to improve completion suggestions. + + + namespace TestNamespace + { + public class Constants + { + public static int INT_CONST = 1; + public const string STRING_CONST = "1"; + } + + public class Class1 + { + [ValueProvider("TestNamespace.Constants")] public int myField; + public void Foo([ValueProvider("TestNamespace.Constants")] string str) { } + + public void Test() + { + Foo(/*try completion here*/);// + myField = /*try completion here*/ + } + } + } + + + + + Indicates that the integral value falls into the specified interval. + It's allowed to specify multiple non-intersecting intervals. + Values of interval boundaries are inclusive. + + + void Foo([ValueRange(0, 100)] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the integral value never falls below zero. + + + void Foo([NonNegativeValue] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the function argument should be a string literal and match + one of the parameters of the caller function. This annotation is used for parameters + like 'string paramName' parameter of the constructor. + + + void Foo(string param) { + if (param == null) + throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol + } + + + + + Indicates that the method is contained in a type that implements + System.ComponentModel.INotifyPropertyChanged interface and this method + is used to notify that some property value changed. + + + The method should be non-static and conform to one of the supported signatures: + + NotifyChanged(string) + NotifyChanged(params string[]) + NotifyChanged{T}(Expression{Func{T}}) + NotifyChanged{T,U}(Expression{Func{T,U}}) + SetProperty{T}(ref T, T, string) + + + + public class Foo : INotifyPropertyChanged { + public event PropertyChangedEventHandler PropertyChanged; + + [NotifyPropertyChangedInvocator] + protected virtual void NotifyChanged(string propertyName) { ... } + + string _name; + + public string Name { + get { return _name; } + set { _name = value; NotifyChanged("LastName"); /* Warning */ } + } + } + + Examples of generated notifications: + + NotifyChanged("Property") + NotifyChanged(() => Property) + NotifyChanged((VM x) => x.Property) + SetProperty(ref myField, value, "Property") + + + + + + Describes dependence between method input and output. + + +

Function Definition Table syntax:

+ + FDT ::= FDTRow [;FDTRow]* + FDTRow ::= Input => Output | Output <= Input + Input ::= ParameterName: Value [, Input]* + Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} + Value ::= true | false | null | notnull | canbenull + + If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output + means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute + with rows separated by the semicolon. There is no notion of order rows, all rows are checked + for applicability and applied per each program state tracked by the analysis engine.
+
+ + + [ContractAnnotation("=> halt")] + public void TerminationMethod() + + + [ContractAnnotation("null <= param:null")] // reverse condition syntax + public string GetName(string surname) + + + [ContractAnnotation("s:null => true")] + public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() + + + // A method that returns null if the parameter is null, + // and not null if the parameter is not null + [ContractAnnotation("null => null; notnull => notnull")] + public object Transform(object data) + + + [ContractAnnotation("=> true, result: notnull; => false, result: null")] + public bool TryParse(string s, out Person result) + + +
+ + + Indicates whether the marked element should be localized. + + + [LocalizationRequiredAttribute(true)] + class Foo { + string str = "my string"; // Warning: Localizable string + } + + + + + Indicates that the value of the marked type (or its derivatives) + cannot be compared using '==' or '!=' operators and Equals() + should be used instead. However, using '==' or '!=' for comparison + with null is always permitted. + + + [CannotApplyEqualityOperator] + class NoEquality { } + + class UsesNoEquality { + void Test() { + var ca1 = new NoEquality(); + var ca2 = new NoEquality(); + if (ca1 != null) { // OK + bool condition = ca1 == ca2; // Warning + } + } + } + + + + + When applied to a target attribute, specifies a requirement for any type marked + with the target attribute to implement or inherit the specific type or types. + + + [BaseTypeRequired(typeof(IComponent)] // Specify requirement + class ComponentAttribute : Attribute { } + + [Component] // ComponentAttribute requires implementing IComponent interface + class MyComponent : IComponent { } + + + + + Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), + so this symbol will be ignored by usage-checking inspections.
+ You can use and + to configure how this attribute is applied. +
+ + [UsedImplicitly] + public class TypeConverter {} + + public class SummaryData + { + [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)] + public SummaryData() {} + } + + [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)] + public interface IService {} + +
+ + + Can be applied to attributes, type parameters, and parameters of a type assignable from . + When applied to an attribute, the decorated attribute behaves the same as . + When applied to a type parameter or to a parameter of type , + indicates that the corresponding type is used implicitly. + + + + + Specifies the details of an implicitly used symbol when it is marked + with or . + + + + Only entity marked with attribute considered used. + + + Indicates implicit assignment to a member. + + + + Indicates implicit instantiation of a type with fixed constructor signature. + That means any unused constructor parameters won't be reported as such. + + + + Indicates implicit instantiation of a type. + + + + Specifies what is considered to be used implicitly when marked + with or . + + + + Members of the type marked with the attribute are considered used. + + + Inherited entities are considered used. + + + Entity marked with the attribute and all its members considered used. + + + + This attribute is intended to mark publicly available APIs, + which should not be removed and so is treated as used. + + + + + Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack. + If the parameter is a delegate, indicates that the delegate can only be invoked during method execution + (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later, + when the containing method is no longer on the execution stack). + If the parameter is an enumerable, indicates that it is enumerated while the method is executed. + If is true, the attribute will only take effect if the method invocation is located under the 'await' expression. + + + + + Require the method invocation to be used under the 'await' expression for this attribute to take effect on the code analysis engine. + Can be used for delegate/enumerable parameters of 'async' methods. + + + + + Indicates that a method does not make any observable state changes. + The same as System.Diagnostics.Contracts.PureAttribute. + + + [Pure] int Multiply(int x, int y) => x * y; + + void M() { + Multiply(123, 42); // Warning: Return value of pure method is not used + } + + + + + Indicates that the return value of the method invocation must be used. + + + Methods decorated with this attribute (in contrast to pure methods) might change state, + but make no sense without using their return value.
+ Similarly to , this attribute + will help to detect usages of the method when the return value is not used. + Optionally, you can specify a message to use when showing warnings, e.g. + [MustUseReturnValue("Use the return value to...")]. +
+
+ + + Indicates that the resource disposal must be handled by the use site, + meaning that the resource ownership is transferred to the callee. + This annotation can be used to annotate disposable types or their constructors individually to enable + the resource disposal IDE code analysis in every context where the new instance of this type is created. + Factory methods and 'out' parameters can also be annotated to indicate that the return value of disposable type + needs handling. + + + Annotation of input parameters with this attribute is meaningless.
+ Constructors inherit this attribute from their type, if it is annotated, + but not from the base constructors they delegate to (if any).
+ Resource disposal is expected to be expressed via either using (resource) statement, + using var declaration, explicit 'Dispose' method call, or an argument passing + to a parameter with the attribute applied. +
+
+ + + When set to false, disposing of the resource is not obligatory. + The main use-case for explicit [MustDisposeResource(false)] annotation is to loosen inherited annotation. + + + + + Indicates that method or class instance acquires resource ownership and will dispose it after use. + + + Annotation of 'out' parameter with this attribute is meaningless.
+ When a instance method is annotated with this attribute, + it means that it is handling the resource disposal of the corresponding resource instance.
+ When a field or a property is annotated with this attribute, it means that this type owns the resource + and will handle the resource disposal properly (e.g. in own IDisposable implementation). +
+
+ + + This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs. + When this annotation is applied to the parameter of delegate type, the IDE checks the input argument of this parameter: + * When a lambda expression or anonymous method is passed as an argument, the IDE verifies that the passed closure + has no captures of the containing local variables and the compiler is able to cache the delegate instance + to avoid heap allocations. Otherwise a warning is produced. + * The IDE warns when the method name or local function name is passed as an argument as this always results + in heap allocation of the delegate instance. + + + In C# 9.0+ code, the IDE will also suggest to annotate the anonymous function with the 'static' modifier + to make use of the similar analysis provided by the language/compiler. + + + + + Indicates the type member or parameter of some type that should be used instead of all other ways + to get the value of that type. This annotation is useful when you have some "context" value evaluated + and stored somewhere, meaning that all other ways to get this value must be consolidated with the existing one. + + + class Foo { + [ProvidesContext] IBarService _barService = ...; + + void ProcessNode(INode node) { + DoSomething(node, node.GetGlobalServices().Bar); + // ^ Warning: use value of '_barService' field + } + } + + + + + Indicates that a parameter is a path to a file or a folder within a web project. + Path can be relative or absolute, starting from web root (~). + + + + + An extension method marked with this attribute is processed by code completion + as a 'Source Template'. When the extension method is completed over some expression, its source code + is automatically expanded like a template at the call site. + + + Template method bodies can contain valid source code and/or special comments starting with '$'. + Text inside these comments is added as source code when the template is applied. Template parameters + can be used either as additional method parameters or as identifiers wrapped in two '$' signs. + Use the attribute to specify macros for parameters. + The expression to be used in the expansion can be adjusted by the parameter. + + + In this example, the 'forEach' method is a source template available over all values + of enumerable types, producing ordinary C# 'foreach' statement and placing the caret inside the block: + + [SourceTemplate] + public static void forEach<T>(this IEnumerable<T> xs) { + foreach (var x in xs) { + //$ $END$ + } + } + + + + + + Allows specifying which expression to capture for template execution if more than one present on the expansion. + If not specified, is assumed. + + + + + Provides a value for the to define how to capture + the expression at the point of expansion + + + + Selects inner expression + value > 42.{caret} captures 42 + _args = args.{caret} captures args + + + Selects outer expression + value > 42.{caret} captures value > 42 + _args = args.{caret} captures whole assignment + + + + Allows specifying a macro for a parameter of a source template. + + + You can apply the attribute on the whole method or on any of its additional parameters. The macro expression + is defined in the property. When applied on a method, the target + template parameter is defined in the property. To apply the macro silently + for the parameter, set the property value to -1. + + + Applying the attribute on a source template method: + + [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] + public static void forEach<T>(this IEnumerable<T> collection) { + foreach (var item in collection) { + //$ $END$ + } + } + + Applying the attribute on a template method parameter: + + [SourceTemplate] + public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { + /*$ var $x$Id = "$newguid$" + x.ToString(); + x.DoSomething($x$Id); */ + } + + + + + + Allows specifying a macro that will be executed for a source template + parameter when the template is expanded. + + + + + Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. + + + If the target parameter is used several times in the template, only one occurrence becomes editable; + other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, + use values >= 0. To make the parameter non-editable when the template is expanded, use -1. + + + + + Identifies the target parameter of a source template if the + is applied on a template method. + + + + + Indicates how a method, constructor invocation, or property access + over a collection type affects the contents of the collection. + When applied to a return value of a method, indicates if the returned collection + is created exclusively for the caller (CollectionAccessType.UpdatedContent) or + can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent) + Use to specify the access type. + + + Using this attribute only makes sense if all collection methods are marked with this attribute. + + + public class MyStringCollection : List<string> + { + [CollectionAccess(CollectionAccessType.Read)] + public string GetFirstString() + { + return this.ElementAt(0); + } + } + class Test + { + public void Foo() + { + // Warning: Contents of the collection is never updated + var col = new MyStringCollection(); + string x = col.GetFirstString(); + } + } + + + + + Provides a value for the to define + how the collection method invocation affects the contents of the collection. + + + + Method does not use or modify content of the collection. + + + Method only reads content of the collection but does not modify it. + + + Method can change content of the collection but does not add new elements. + + + Method can add new elements to the collection. + + + + Indicates that the marked method is an assertion method, i.e. it halts the control flow if + one of the conditions is satisfied. To set the condition, mark one of the parameters with + attribute. + + + + + Indicates the condition parameter of the assertion method. The method itself should be + marked by the attribute. The mandatory argument of + the attribute is the assertion type. + + + + + Specifies the assertion type. If the assertion method argument satisfies the condition, + then the execution continues. Otherwise, execution is assumed to be halted. + + + + Marked parameter should be evaluated to true. + + + Marked parameter should be evaluated to false. + + + Marked parameter should be evaluated to null value. + + + Marked parameter should be evaluated to not null value. + + + + Indicates that the marked method unconditionally terminates control flow execution. + For example, it could unconditionally throw an exception. + + + + + Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select, + .Where). This annotation allows inference of [InstantHandle] annotation for parameters + of delegate type by analyzing LINQ method chains. + + + + + Indicates that IEnumerable passed as a parameter is not enumerated. + Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection. + + + static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class + { + // custom check for null but no enumeration + } + + void Foo(IEnumerable<string> values) + { + ThrowIfNull(values, nameof(values)); + var x = values.ToList(); // No warnings about multiple enumeration + } + + + + + Indicates that the marked parameter, field, or property is a regular expression pattern. + + + + + Language of injected code fragment inside marked by the string literal. + + + + + Indicates that the marked parameter, field, or property is accepting a string literal + containing code fragments in a specified language. + + + void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps) + { + // cssProps should only contains a list of CSS properties + } + + + void Bar([LanguageInjection("json")] string json) + { + } + + + + Specifies a language of the injected code fragment. + + + Specifies a language name of the injected code fragment. + + + Specifies a string that "precedes" the injected string literal. + + + Specifies a string that "follows" the injected string literal. + + + + Prevents the Member Reordering feature from tossing members of the marked class. + + + The attribute must be mentioned in your member reordering patterns. + + + + + + Defines the code search template using the Structural Search and Replace syntax. + It allows you to find and, if necessary, replace blocks of code that match a specific pattern. + Search and replace patterns consist of a textual part and placeholders. + Textural part must contain only identifiers allowed in the target language and will be matched exactly (white spaces, tabulation characters, and line breaks are ignored). + Placeholders allow matching variable parts of the target code blocks. + A placeholder has the following format: $placeholder_name$- where placeholder_name is an arbitrary identifier. + + + Available placeholders: + + $this$ - expression of containing type + $thisType$ - containing type + $member$ - current member placeholder + $qualifier$ - this placeholder is available in the replace pattern and can be used to insert a qualifier expression matched by the $member$ placeholder. + (Note that if $qualifier$ placeholder is used, then $member$ placeholder will match only qualified references) + $expression$ - expression of any type + $identifier$ - identifier placeholder + $args$ - any number of arguments + $arg$ - single argument + $arg1$ ... $arg10$ - single argument + $stmts$ - any number of statements + $stmt$ - single statement + $stmt1$ ... $stmt10$ - single statement + $name{Expression, 'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $expression{'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $name{Type, 'Namespace.FooType'}$ - 'Namespace.FooType' type + $type{'Namespace.FooType'}$ - 'Namespace.FooType' type + $statement{1,2}$ - 1 or 2 statements + + + + Note that you can also define your own placeholders of the supported types and specify arguments for each placeholder type. + This can be done using the following format: $name{type, arguments}$. Where 'name' - is the name of your placeholder, + 'type' - is the type of your placeholder (one of the following: Expression, Type, Identifier, Statement, Argument, Member), + 'arguments' - arguments list for your placeholder. Each placeholder type supports its own arguments, check examples below for more details. + The placeholder type may be omitted and determined from the placeholder name, if the name has one of the following prefixes: + + expr, expression - expression placeholder, e.g. $exprPlaceholder{}$, $expressionFoo{}$ + arg, argument - argument placeholder, e.g. $argPlaceholder{}$, $argumentFoo{}$ + ident, identifier - identifier placeholder, e.g. $identPlaceholder{}$, $identifierFoo{}$ + stmt, statement - statement placeholder, e.g. $stmtPlaceholder{}$, $statementFoo{}$ + type - type placeholder, e.g. $typePlaceholder{}$, $typeFoo{}$ + member - member placeholder, e.g. $memberPlaceholder{}$, $memberFoo{}$ + + + + Expression placeholder arguments: + + expressionType - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myExpr{Expression, 'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + $myExpr{Expression, 'Namespace.FooType'}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type or expressions which can be implicitly converted to 'Namespace.FooType'. + $myExpr{Expression}$ - defines expression placeholder, matching expressions of any type. + $exprFoo{'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + + + + Type placeholder arguments: + + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myType{Type, 'Namespace.FooType', true}$ - defines type placeholder, matching 'Namespace.FooType' types with exact matching. + $myType{Type, 'Namespace.FooType'}$ - defines type placeholder, matching 'Namespace.FooType' types or types, which can be implicitly converted to 'Namespace.FooType'. + $myType{Type}$ - defines type placeholder, matching any type. + $typeFoo{'Namespace.FooType', true}$ - defines types placeholder, matching 'Namespace.FooType' types with exact matching. + + + + Identifier placeholder arguments: + + nameRegex - string value in single quotes, specifies regex to use for matching (empty string by default) + nameRegexCaseSensitive - boolean value, specifies if name regex is case sensitive (true by default) + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myIdentifier{Identifier, 'my.*', false, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (ignoring case) starting with 'my' prefix with 'Namespace.FooType' type. + $myIdentifier{Identifier, 'my.*', true, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix with 'Namespace.FooType' type. + $identFoo{'my.*'}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix. + + + + Statement placeholder arguments: + + minimalOccurrences - minimal number of statements to match (-1 by default) + maximalOccurrences - maximal number of statements to match (-1 by default) + + Examples: + + $myStmt{Statement, 1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + $myStmt{Statement}$ - defines statement placeholder, matching any number of statements. + $stmtFoo{1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + + + + Argument placeholder arguments: + + minimalOccurrences - minimal number of arguments to match (-1 by default) + maximalOccurrences - maximal number of arguments to match (-1 by default) + + Examples: + + $myArg{Argument, 1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + $myArg{Argument}$ - defines argument placeholder, matching any number of arguments. + $argFoo{1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + + + + Member placeholder arguments: + + docId - string value in single quotes, specifies XML documentation id of the member to match (empty by default) + + Examples: + + $myMember{Member, 'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + $memberFoo{'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + + + + For more information please refer to the Structural Search and Replace article. + + + + + + Structural search pattern to use in the code template. + The pattern includes a textual part, which must contain only identifiers allowed in the target language, + and placeholders, which allow matching variable parts of the target code blocks. + + + + + Message to show when the search pattern was found. + You can also prepend the message text with "Error:", "Warning:", "Suggestion:" or "Hint:" prefix to specify the pattern severity. + Code patterns with replace templates produce suggestions by default. + However, if a replace template is not provided, then warning severity will be used. + + + + + Structural search replace pattern to use in code template replacement. + + + + + The replace message to show in the light bulb. + + + + + Apply code formatting after code replacement. + + + + + Whether similar code blocks should be matched. + + + + + Automatically insert namespace import directives or remove qualifiers that become redundant after the template is applied. + + + + + The string to use as a suppression key. + By default the following suppression key is used 'CodeTemplate_SomeType_SomeMember', + where 'SomeType' and 'SomeMember' are names of the associated containing type and member to which this attribute is applied. + + + + + Indicates that the string literal, passed as an argument matching this parameter, + should not be checked on spelling or grammar errors. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC action. If applied to a method, the MVC action name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC area. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is + an MVC controller. If applied to a method, the MVC controller name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC Master. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC model type. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC + partial view. If applied to a method, the MVC partial view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. + + + + + ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC editor template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC template. + Use this attribute for custom wrappers similar to + System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component. If applied to a method, the MVC view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Controller.View(Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component name. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component view. If applied to a method, the MVC view component view name is default. + + + + + ASP.NET MVC attribute. When applied to a parameter of an attribute, + indicates that this parameter is an MVC action name. + + + [ActionName("Foo")] + public ActionResult Login(string returnUrl) { + ViewBag.ReturnUrl = Url.Action("Foo"); // OK + return RedirectToAction("Bar"); // Error: Cannot resolve action + } + + + + + Indicates that the marked parameter, field, or property is a route template. + + + This attribute allows IDE to recognize the use of web frameworks' route templates + to enable syntax highlighting, code completion, navigation, rename and other features in string literals. + + + + + Indicates that the marked type is custom route parameter constraint, + which is registered in the application's Startup with the name ConstraintName. + + + You can specify ProposedType if target constraint matches only route parameters of specific type, + it will allow IDE to create method's parameter from usage in route template + with specified type instead of default System.String + and check if constraint's proposed type conflicts with matched parameter's type. + + + + + Indicates that the marked parameter, field, or property is an URI string. + + + This attribute enables code completion, navigation, renaming and other features + in URI string literals assigned to annotated parameters, fields, or properties. + + + + + Indicates that the marked method declares routing convention for ASP.NET. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation, and other features over URI strings. + + + + + Indicates that the marked method parameter contains default route values of routing convention for ASP.NET. + + + + + Indicates that the marked method parameter contains constraints on route values of routing convention for ASP.NET. + + + + + Indicates that the marked parameter or property contains routing order provided by ASP.NET routing attribute. + + + + + Indicates that the marked parameter or property contains HTTP verbs provided by ASP.NET routing attribute. + + + + + Indicates that the marked attribute is used for attribute routing in ASP.NET. + + + The IDE will analyze all usages of attributes marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoint. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoints group. + + + + + Indicates that the marked parameter contains an ASP.NET Minimal API endpoint handler. + + + + + Indicates that the marked method contains Minimal API endpoint declaration. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all declared in attributes routes to completion, navigation and other features over URI strings. + + + + + Comma-separated list of query parameters defined for endpoint + + + + + Razor attribute. Indicates that the marked parameter or method is a Razor section. + Use this attribute for custom wrappers similar to + System.Web.WebPages.WebPageBase.RenderSection(String). + + + + + XAML attribute. Indicates the type that has an ItemsSource property and should be treated + as an ItemsControl-derived type, to enable inner items DataContext type resolution. + + + + + XAML attribute. Indicates the property of some BindingBase-derived type, that + is used to bind some item of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + The property should have the tree ancestor of the ItemsControl type, or + marked with the attribute. + + + + + XAML attribute. Indicates the property of some Style-derived type that + is used to style items of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + Property should have the tree ancestor of the ItemsControl type or + marked with the attribute. + + + + + XAML attribute. Indicates that DependencyProperty has OneWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + XAML attribute. Indicates that DependencyProperty has TwoWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + Specifies the subject being tested by a test class or a test method. + + + The can be applied to a test class or a test method to indicate what class + or interface the tests defined in them test. This information can be used by an IDE to provide better navigation + support or by test runners to group tests by subject and to provide better test reports. + + + + + Gets the type of the subject being tested. + + + + + Initializes a new instance of the class with the specified subject type. + + The type of the subject being tested. + + + + Signifies a generic argument as the test subject for a test class. + + + The can be applied to a generic parameter of a base test class to indicate that + the type passed as the argument is the class being tested. This information can be used by an IDE to provide better + navigation support or by test runners to group tests by subject and to provide better test reports. + + + public class BaseTestClass<[MeansTestSubject] T> + { + protected T Component { get; } + } + + public class CalculatorAdditionTests : BaseTestClass<Calculator> + { + [Test] + public void Should_add_two_numbers() + { + Assert.That(Component.Add(2, 3), Is.EqualTo(5)); + } + } + + +
+
diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.deps.json b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.deps.json new file mode 100644 index 000000000..e3c44349c --- /dev/null +++ b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.deps.json @@ -0,0 +1,416 @@ +{ + "runtimeTarget": { + "name": ".NETStandard,Version=v1.0/", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETStandard,Version=v1.0": {}, + ".NETStandard,Version=v1.0/": { + "JetBrains.Annotations/2023.3.0": { + "dependencies": { + "Microsoft.SourceLink.GitHub": "1.0.0", + "NETStandard.Library": "1.6.0" + }, + "runtime": { + "JetBrains.Annotations.dll": {} + } + }, + "Microsoft.Build.Tasks.Git/1.0.0": {}, + "Microsoft.NETCore.Platforms/1.0.1": {}, + "Microsoft.NETCore.Targets/1.0.1": {}, + "Microsoft.SourceLink.Common/1.0.0": {}, + "Microsoft.SourceLink.GitHub/1.0.0": { + "dependencies": { + "Microsoft.Build.Tasks.Git": "1.0.0", + "Microsoft.SourceLink.Common": "1.0.0" + } + }, + "NETStandard.Library/1.6.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "System.Collections": "4.0.11", + "System.Diagnostics.Debug": "4.0.11", + "System.Diagnostics.Tools": "4.0.1", + "System.Globalization": "4.0.11", + "System.IO": "4.1.0", + "System.Linq": "4.1.0", + "System.Linq.Expressions": "4.1.0", + "System.Net.Primitives": "4.0.11", + "System.ObjectModel": "4.0.12", + "System.Reflection": "4.1.0", + "System.Reflection.Extensions": "4.0.1", + "System.Reflection.Primitives": "4.0.1", + "System.Resources.ResourceManager": "4.0.1", + "System.Runtime": "4.1.0", + "System.Runtime.Extensions": "4.1.0", + "System.Text.Encoding": "4.0.11", + "System.Text.Encoding.Extensions": "4.0.11", + "System.Text.RegularExpressions": "4.1.0", + "System.Threading": "4.0.11", + "System.Threading.Tasks": "4.0.11", + "System.Xml.ReaderWriter": "4.0.11", + "System.Xml.XDocument": "4.0.11" + } + }, + "System.Collections/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Diagnostics.Debug/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Diagnostics.Tools/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Globalization/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.IO/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0", + "System.Text.Encoding": "4.0.11", + "System.Threading.Tasks": "4.0.11" + } + }, + "System.Linq/4.1.0": { + "dependencies": { + "System.Collections": "4.0.11", + "System.Runtime": "4.1.0" + } + }, + "System.Linq.Expressions/4.1.0": { + "dependencies": { + "System.Reflection": "4.1.0", + "System.Runtime": "4.1.0" + } + }, + "System.Net.Primitives/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.ObjectModel/4.0.12": { + "dependencies": { + "System.Runtime": "4.1.0" + } + }, + "System.Reflection/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.IO": "4.1.0", + "System.Reflection.Primitives": "4.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Reflection.Extensions/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Reflection": "4.1.0", + "System.Runtime": "4.1.0" + } + }, + "System.Reflection.Primitives/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Resources.ResourceManager/4.0.1": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Globalization": "4.0.11", + "System.Reflection": "4.1.0", + "System.Runtime": "4.1.0" + } + }, + "System.Runtime/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1" + } + }, + "System.Runtime.Extensions/4.1.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Text.Encoding/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Text.Encoding.Extensions/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0", + "System.Text.Encoding": "4.0.11" + } + }, + "System.Text.RegularExpressions/4.1.0": { + "dependencies": { + "System.Runtime": "4.1.0" + } + }, + "System.Threading/4.0.11": { + "dependencies": { + "System.Runtime": "4.1.0", + "System.Threading.Tasks": "4.0.11" + } + }, + "System.Threading.Tasks/4.0.11": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.0.1", + "Microsoft.NETCore.Targets": "1.0.1", + "System.Runtime": "4.1.0" + } + }, + "System.Xml.ReaderWriter/4.0.11": { + "dependencies": { + "System.IO": "4.1.0", + "System.Runtime": "4.1.0", + "System.Text.Encoding": "4.0.11", + "System.Threading.Tasks": "4.0.11" + } + }, + "System.Xml.XDocument/4.0.11": { + "dependencies": { + "System.IO": "4.1.0", + "System.Runtime": "4.1.0", + "System.Xml.ReaderWriter": "4.0.11" + } + } + } + }, + "libraries": { + "JetBrains.Annotations/2023.3.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.Build.Tasks.Git/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ==", + "path": "microsoft.build.tasks.git/1.0.0", + "hashPath": "microsoft.build.tasks.git.1.0.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/1.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-2G6OjjJzwBfNOO8myRV/nFrbTw5iA+DEm0N+qUqhrOmaVtn4pC77h38I1jsXGw5VH55+dPfQsqHD0We9sCl9FQ==", + "path": "microsoft.netcore.platforms/1.0.1", + "hashPath": "microsoft.netcore.platforms.1.0.1.nupkg.sha512" + }, + "Microsoft.NETCore.Targets/1.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-rkn+fKobF/cbWfnnfBOQHKVKIOpxMZBvlSHkqDWgBpwGDcLRduvs3D9OLGeV6GWGvVwNlVi2CBbTjuPmtHvyNw==", + "path": "microsoft.netcore.targets/1.0.1", + "hashPath": "microsoft.netcore.targets.1.0.1.nupkg.sha512" + }, + "Microsoft.SourceLink.Common/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg==", + "path": "microsoft.sourcelink.common/1.0.0", + "hashPath": "microsoft.sourcelink.common.1.0.0.nupkg.sha512" + }, + "Microsoft.SourceLink.GitHub/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==", + "path": "microsoft.sourcelink.github/1.0.0", + "hashPath": "microsoft.sourcelink.github.1.0.0.nupkg.sha512" + }, + "NETStandard.Library/1.6.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ypsCvIdCZ4IoYASJHt6tF2fMo7N30NLgV1EbmC+snO490OMl9FvVxmumw14rhReWU3j3g7BYudG6YCrchwHJlA==", + "path": "netstandard.library/1.6.0", + "hashPath": "netstandard.library.1.6.0.nupkg.sha512" + }, + "System.Collections/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-YUJGz6eFKqS0V//mLt25vFGrrCvOnsXjlvFQs+KimpwNxug9x0Pzy4PlFMU3Q2IzqAa9G2L4LsK3+9vCBK7oTg==", + "path": "system.collections/4.0.11", + "hashPath": "system.collections.4.0.11.nupkg.sha512" + }, + "System.Diagnostics.Debug/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-w5U95fVKHY4G8ASs/K5iK3J5LY+/dLFd4vKejsnI/ZhBsWS9hQakfx3Zr7lRWKg4tAw9r4iktyvsTagWkqYCiw==", + "path": "system.diagnostics.debug/4.0.11", + "hashPath": "system.diagnostics.debug.4.0.11.nupkg.sha512" + }, + "System.Diagnostics.Tools/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-xBfJ8pnd4C17dWaC9FM6aShzbJcRNMChUMD42I6772KGGrqaFdumwhn9OdM68erj1ueNo3xdQ1EwiFjK5k8p0g==", + "path": "system.diagnostics.tools/4.0.1", + "hashPath": "system.diagnostics.tools.4.0.1.nupkg.sha512" + }, + "System.Globalization/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-B95h0YLEL2oSnwF/XjqSWKnwKOy/01VWkNlsCeMTFJLLabflpGV26nK164eRs5GiaRSBGpOxQ3pKoSnnyZN5pg==", + "path": "system.globalization/4.0.11", + "hashPath": "system.globalization.4.0.11.nupkg.sha512" + }, + "System.IO/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3KlTJceQc3gnGIaHZ7UBZO26SHL1SHE4ddrmiwumFnId+CEHP+O8r386tZKaE6zlk5/mF8vifMBzHj9SaXN+mQ==", + "path": "system.io/4.1.0", + "hashPath": "system.io.4.1.0.nupkg.sha512" + }, + "System.Linq/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bQ0iYFOQI0nuTnt+NQADns6ucV4DUvMdwN6CbkB1yj8i7arTGiTN5eok1kQwdnnNWSDZfIUySQY+J3d5KjWn0g==", + "path": "system.linq/4.1.0", + "hashPath": "system.linq.4.1.0.nupkg.sha512" + }, + "System.Linq.Expressions/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-I+y02iqkgmCAyfbqOmSDOgqdZQ5tTj80Akm5BPSS8EeB0VGWdy6X1KCoYe8Pk6pwDoAKZUOdLVxnTJcExiv5zw==", + "path": "system.linq.expressions/4.1.0", + "hashPath": "system.linq.expressions.4.1.0.nupkg.sha512" + }, + "System.Net.Primitives/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-hVvfl4405DRjA2408luZekbPhplJK03j2Y2lSfMlny7GHXlkByw1iLnc9mgKW0GdQn73vvMcWrWewAhylXA4Nw==", + "path": "system.net.primitives/4.0.11", + "hashPath": "system.net.primitives.4.0.11.nupkg.sha512" + }, + "System.ObjectModel/4.0.12": { + "type": "package", + "serviceable": true, + "sha512": "sha512-tAgJM1xt3ytyMoW4qn4wIqgJYm7L7TShRZG4+Q4Qsi2PCcj96pXN7nRywS9KkB3p/xDUjc2HSwP9SROyPYDYKQ==", + "path": "system.objectmodel/4.0.12", + "hashPath": "system.objectmodel.4.0.12.nupkg.sha512" + }, + "System.Reflection/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JCKANJ0TI7kzoQzuwB/OoJANy1Lg338B6+JVacPl4TpUwi3cReg3nMLplMq2uqYfHFQpKIlHAUVAJlImZz/4ng==", + "path": "system.reflection/4.1.0", + "hashPath": "system.reflection.4.1.0.nupkg.sha512" + }, + "System.Reflection.Extensions/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-GYrtRsZcMuHF3sbmRHfMYpvxZoIN2bQGrYGerUiWLEkqdEUQZhH3TRSaC/oI4wO0II1RKBPlpIa1TOMxIcOOzQ==", + "path": "system.reflection.extensions/4.0.1", + "hashPath": "system.reflection.extensions.4.0.1.nupkg.sha512" + }, + "System.Reflection.Primitives/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-4inTox4wTBaDhB7V3mPvp9XlCbeGYWVEM9/fXALd52vNEAVisc1BoVWQPuUuD0Ga//dNbA/WeMy9u9mzLxGTHQ==", + "path": "system.reflection.primitives/4.0.1", + "hashPath": "system.reflection.primitives.4.0.1.nupkg.sha512" + }, + "System.Resources.ResourceManager/4.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-TxwVeUNoTgUOdQ09gfTjvW411MF+w9MBYL7AtNVc+HtBCFlutPLhUCdZjNkjbhj3bNQWMdHboF0KIWEOjJssbA==", + "path": "system.resources.resourcemanager/4.0.1", + "hashPath": "system.resources.resourcemanager.4.0.1.nupkg.sha512" + }, + "System.Runtime/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-v6c/4Yaa9uWsq+JMhnOFewrYkgdNHNG2eMKuNqRn8P733rNXeRCGvV5FkkjBXn2dbVkPXOsO0xjsEeM1q2zC0g==", + "path": "system.runtime/4.1.0", + "hashPath": "system.runtime.4.1.0.nupkg.sha512" + }, + "System.Runtime.Extensions/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-CUOHjTT/vgP0qGW22U4/hDlOqXmcPq5YicBaXdUR2UiUoLwBT+olO6we4DVbq57jeX5uXH2uerVZhf0qGj+sVQ==", + "path": "system.runtime.extensions/4.1.0", + "hashPath": "system.runtime.extensions.4.1.0.nupkg.sha512" + }, + "System.Text.Encoding/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-U3gGeMlDZXxCEiY4DwVLSacg+DFWCvoiX+JThA/rvw37Sqrku7sEFeVBBBMBnfB6FeZHsyDx85HlKL19x0HtZA==", + "path": "system.text.encoding/4.0.11", + "hashPath": "system.text.encoding.4.0.11.nupkg.sha512" + }, + "System.Text.Encoding.Extensions/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-jtbiTDtvfLYgXn8PTfWI+SiBs51rrmO4AAckx4KR6vFK9Wzf6tI8kcRdsYQNwriUeQ1+CtQbM1W4cMbLXnj/OQ==", + "path": "system.text.encoding.extensions/4.0.11", + "hashPath": "system.text.encoding.extensions.4.0.11.nupkg.sha512" + }, + "System.Text.RegularExpressions/4.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-i88YCXpRTjCnoSQZtdlHkAOx4KNNik4hMy83n0+Ftlb7jvV6ZiZWMpnEZHhjBp6hQVh8gWd/iKNPzlPF7iyA2g==", + "path": "system.text.regularexpressions/4.1.0", + "hashPath": "system.text.regularexpressions.4.1.0.nupkg.sha512" + }, + "System.Threading/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-N+3xqIcg3VDKyjwwCGaZ9HawG9aC6cSDI+s7ROma310GQo8vilFZa86hqKppwTHleR/G0sfOzhvgnUxWCR/DrQ==", + "path": "system.threading/4.0.11", + "hashPath": "system.threading.4.0.11.nupkg.sha512" + }, + "System.Threading.Tasks/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-k1S4Gc6IGwtHGT8188RSeGaX86Qw/wnrgNLshJvsdNUOPP9etMmo8S07c+UlOAx4K/xLuN9ivA1bD0LVurtIxQ==", + "path": "system.threading.tasks/4.0.11", + "hashPath": "system.threading.tasks.4.0.11.nupkg.sha512" + }, + "System.Xml.ReaderWriter/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZIiLPsf67YZ9zgr31vzrFaYQqxRPX9cVHjtPSnmx4eN6lbS/yEyYNr2vs1doGDEscF0tjCZFsk9yUg1sC9e8tg==", + "path": "system.xml.readerwriter/4.0.11", + "hashPath": "system.xml.readerwriter.4.0.11.nupkg.sha512" + }, + "System.Xml.XDocument/4.0.11": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Mk2mKmPi0nWaoiYeotq1dgeNK1fqWh61+EK+w4Wu8SWuTYLzpUnschb59bJtGywaPq7SmTuPf44wrXRwbIrukg==", + "path": "system.xml.xdocument/4.0.11", + "hashPath": "system.xml.xdocument.4.0.11.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.dll b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.dll new file mode 100644 index 000000000..78b06e8bb Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.dll differ diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.xml b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.xml new file mode 100644 index 000000000..ea4ec9eb4 --- /dev/null +++ b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard1.0/JetBrains.Annotations.xml @@ -0,0 +1,1231 @@ + + + + JetBrains.Annotations + + + + + Indicates that the value of the marked element could be null sometimes, + so checking for null is required before its usage. + + + [CanBeNull] object Test() => null; + + void UseTest() { + var p = Test(); + var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' + } + + + + + Indicates that the value of the marked element can never be null. + + + [NotNull] object Foo() { + return null; // Warning: Possible 'null' assignment + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can never be null. + + + public void Foo([ItemNotNull]List<string> books) + { + foreach (var book in books) { + if (book != null) // Warning: Expression is always true + Console.WriteLine(book.ToUpper()); + } + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can be null. + + + public void Foo([ItemCanBeNull]List<string> books) + { + foreach (var book in books) + { + // Warning: Possible 'System.NullReferenceException' + Console.WriteLine(book.ToUpper()); + } + } + + + + + Indicates that the marked method builds a string by the format pattern and (optional) arguments. + The parameter, which contains the format string, should be given in the constructor. The format string + should be in -like form. + + + [StringFormatMethod("message")] + void ShowError(string message, params object[] args) { /* do something */ } + + void Foo() { + ShowError("Failed: {0}"); // Warning: Non-existing argument in format string + } + + + + + Specifies which parameter of an annotated method should be treated as the format string. + + + + + Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments + in the order in which they appear. + + + void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ } + + void Foo() { + LogInfo("User created: {username}"); // Warning: Non-existing argument in format string + } + + + + + Use this annotation to specify a type that contains static or const fields + with values for the annotated property/field/parameter. + The specified type will be used to improve completion suggestions. + + + namespace TestNamespace + { + public class Constants + { + public static int INT_CONST = 1; + public const string STRING_CONST = "1"; + } + + public class Class1 + { + [ValueProvider("TestNamespace.Constants")] public int myField; + public void Foo([ValueProvider("TestNamespace.Constants")] string str) { } + + public void Test() + { + Foo(/*try completion here*/);// + myField = /*try completion here*/ + } + } + } + + + + + Indicates that the integral value falls into the specified interval. + It's allowed to specify multiple non-intersecting intervals. + Values of interval boundaries are inclusive. + + + void Foo([ValueRange(0, 100)] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the integral value never falls below zero. + + + void Foo([NonNegativeValue] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the function argument should be a string literal and match + one of the parameters of the caller function. This annotation is used for parameters + like 'string paramName' parameter of the constructor. + + + void Foo(string param) { + if (param == null) + throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol + } + + + + + Indicates that the method is contained in a type that implements + System.ComponentModel.INotifyPropertyChanged interface and this method + is used to notify that some property value changed. + + + The method should be non-static and conform to one of the supported signatures: + + NotifyChanged(string) + NotifyChanged(params string[]) + NotifyChanged{T}(Expression{Func{T}}) + NotifyChanged{T,U}(Expression{Func{T,U}}) + SetProperty{T}(ref T, T, string) + + + + public class Foo : INotifyPropertyChanged { + public event PropertyChangedEventHandler PropertyChanged; + + [NotifyPropertyChangedInvocator] + protected virtual void NotifyChanged(string propertyName) { ... } + + string _name; + + public string Name { + get { return _name; } + set { _name = value; NotifyChanged("LastName"); /* Warning */ } + } + } + + Examples of generated notifications: + + NotifyChanged("Property") + NotifyChanged(() => Property) + NotifyChanged((VM x) => x.Property) + SetProperty(ref myField, value, "Property") + + + + + + Describes dependence between method input and output. + + +

Function Definition Table syntax:

+ + FDT ::= FDTRow [;FDTRow]* + FDTRow ::= Input => Output | Output <= Input + Input ::= ParameterName: Value [, Input]* + Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} + Value ::= true | false | null | notnull | canbenull + + If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output + means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute + with rows separated by the semicolon. There is no notion of order rows, all rows are checked + for applicability and applied per each program state tracked by the analysis engine.
+
+ + + [ContractAnnotation("=> halt")] + public void TerminationMethod() + + + [ContractAnnotation("null <= param:null")] // reverse condition syntax + public string GetName(string surname) + + + [ContractAnnotation("s:null => true")] + public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() + + + // A method that returns null if the parameter is null, + // and not null if the parameter is not null + [ContractAnnotation("null => null; notnull => notnull")] + public object Transform(object data) + + + [ContractAnnotation("=> true, result: notnull; => false, result: null")] + public bool TryParse(string s, out Person result) + + +
+ + + Indicates whether the marked element should be localized. + + + [LocalizationRequiredAttribute(true)] + class Foo { + string str = "my string"; // Warning: Localizable string + } + + + + + Indicates that the value of the marked type (or its derivatives) + cannot be compared using '==' or '!=' operators and Equals() + should be used instead. However, using '==' or '!=' for comparison + with null is always permitted. + + + [CannotApplyEqualityOperator] + class NoEquality { } + + class UsesNoEquality { + void Test() { + var ca1 = new NoEquality(); + var ca2 = new NoEquality(); + if (ca1 != null) { // OK + bool condition = ca1 == ca2; // Warning + } + } + } + + + + + When applied to a target attribute, specifies a requirement for any type marked + with the target attribute to implement or inherit the specific type or types. + + + [BaseTypeRequired(typeof(IComponent)] // Specify requirement + class ComponentAttribute : Attribute { } + + [Component] // ComponentAttribute requires implementing IComponent interface + class MyComponent : IComponent { } + + + + + Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), + so this symbol will be ignored by usage-checking inspections.
+ You can use and + to configure how this attribute is applied. +
+ + [UsedImplicitly] + public class TypeConverter {} + + public class SummaryData + { + [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)] + public SummaryData() {} + } + + [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)] + public interface IService {} + +
+ + + Can be applied to attributes, type parameters, and parameters of a type assignable from . + When applied to an attribute, the decorated attribute behaves the same as . + When applied to a type parameter or to a parameter of type , + indicates that the corresponding type is used implicitly. + + + + + Specifies the details of an implicitly used symbol when it is marked + with or . + + + + Only entity marked with attribute considered used. + + + Indicates implicit assignment to a member. + + + + Indicates implicit instantiation of a type with fixed constructor signature. + That means any unused constructor parameters won't be reported as such. + + + + Indicates implicit instantiation of a type. + + + + Specifies what is considered to be used implicitly when marked + with or . + + + + Members of the type marked with the attribute are considered used. + + + Inherited entities are considered used. + + + Entity marked with the attribute and all its members considered used. + + + + This attribute is intended to mark publicly available APIs, + which should not be removed and so is treated as used. + + + + + Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack. + If the parameter is a delegate, indicates that the delegate can only be invoked during method execution + (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later, + when the containing method is no longer on the execution stack). + If the parameter is an enumerable, indicates that it is enumerated while the method is executed. + If is true, the attribute will only take effect if the method invocation is located under the 'await' expression. + + + + + Require the method invocation to be used under the 'await' expression for this attribute to take effect on the code analysis engine. + Can be used for delegate/enumerable parameters of 'async' methods. + + + + + Indicates that a method does not make any observable state changes. + The same as System.Diagnostics.Contracts.PureAttribute. + + + [Pure] int Multiply(int x, int y) => x * y; + + void M() { + Multiply(123, 42); // Warning: Return value of pure method is not used + } + + + + + Indicates that the return value of the method invocation must be used. + + + Methods decorated with this attribute (in contrast to pure methods) might change state, + but make no sense without using their return value.
+ Similarly to , this attribute + will help to detect usages of the method when the return value is not used. + Optionally, you can specify a message to use when showing warnings, e.g. + [MustUseReturnValue("Use the return value to...")]. +
+
+ + + Indicates that the resource disposal must be handled by the use site, + meaning that the resource ownership is transferred to the callee. + This annotation can be used to annotate disposable types or their constructors individually to enable + the resource disposal IDE code analysis in every context where the new instance of this type is created. + Factory methods and 'out' parameters can also be annotated to indicate that the return value of disposable type + needs handling. + + + Annotation of input parameters with this attribute is meaningless.
+ Constructors inherit this attribute from their type, if it is annotated, + but not from the base constructors they delegate to (if any).
+ Resource disposal is expected to be expressed via either using (resource) statement, + using var declaration, explicit 'Dispose' method call, or an argument passing + to a parameter with the attribute applied. +
+
+ + + When set to false, disposing of the resource is not obligatory. + The main use-case for explicit [MustDisposeResource(false)] annotation is to loosen inherited annotation. + + + + + Indicates that method or class instance acquires resource ownership and will dispose it after use. + + + Annotation of 'out' parameter with this attribute is meaningless.
+ When a instance method is annotated with this attribute, + it means that it is handling the resource disposal of the corresponding resource instance.
+ When a field or a property is annotated with this attribute, it means that this type owns the resource + and will handle the resource disposal properly (e.g. in own IDisposable implementation). +
+
+ + + This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs. + When this annotation is applied to the parameter of delegate type, the IDE checks the input argument of this parameter: + * When a lambda expression or anonymous method is passed as an argument, the IDE verifies that the passed closure + has no captures of the containing local variables and the compiler is able to cache the delegate instance + to avoid heap allocations. Otherwise a warning is produced. + * The IDE warns when the method name or local function name is passed as an argument as this always results + in heap allocation of the delegate instance. + + + In C# 9.0+ code, the IDE will also suggest to annotate the anonymous function with the 'static' modifier + to make use of the similar analysis provided by the language/compiler. + + + + + Indicates the type member or parameter of some type that should be used instead of all other ways + to get the value of that type. This annotation is useful when you have some "context" value evaluated + and stored somewhere, meaning that all other ways to get this value must be consolidated with the existing one. + + + class Foo { + [ProvidesContext] IBarService _barService = ...; + + void ProcessNode(INode node) { + DoSomething(node, node.GetGlobalServices().Bar); + // ^ Warning: use value of '_barService' field + } + } + + + + + Indicates that a parameter is a path to a file or a folder within a web project. + Path can be relative or absolute, starting from web root (~). + + + + + An extension method marked with this attribute is processed by code completion + as a 'Source Template'. When the extension method is completed over some expression, its source code + is automatically expanded like a template at the call site. + + + Template method bodies can contain valid source code and/or special comments starting with '$'. + Text inside these comments is added as source code when the template is applied. Template parameters + can be used either as additional method parameters or as identifiers wrapped in two '$' signs. + Use the attribute to specify macros for parameters. + The expression to be used in the expansion can be adjusted by the parameter. + + + In this example, the 'forEach' method is a source template available over all values + of enumerable types, producing ordinary C# 'foreach' statement and placing the caret inside the block: + + [SourceTemplate] + public static void forEach<T>(this IEnumerable<T> xs) { + foreach (var x in xs) { + //$ $END$ + } + } + + + + + + Allows specifying which expression to capture for template execution if more than one present on the expansion. + If not specified, is assumed. + + + + + Provides a value for the to define how to capture + the expression at the point of expansion + + + + Selects inner expression + value > 42.{caret} captures 42 + _args = args.{caret} captures args + + + Selects outer expression + value > 42.{caret} captures value > 42 + _args = args.{caret} captures whole assignment + + + + Allows specifying a macro for a parameter of a source template. + + + You can apply the attribute on the whole method or on any of its additional parameters. The macro expression + is defined in the property. When applied on a method, the target + template parameter is defined in the property. To apply the macro silently + for the parameter, set the property value to -1. + + + Applying the attribute on a source template method: + + [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] + public static void forEach<T>(this IEnumerable<T> collection) { + foreach (var item in collection) { + //$ $END$ + } + } + + Applying the attribute on a template method parameter: + + [SourceTemplate] + public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { + /*$ var $x$Id = "$newguid$" + x.ToString(); + x.DoSomething($x$Id); */ + } + + + + + + Allows specifying a macro that will be executed for a source template + parameter when the template is expanded. + + + + + Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. + + + If the target parameter is used several times in the template, only one occurrence becomes editable; + other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, + use values >= 0. To make the parameter non-editable when the template is expanded, use -1. + + + + + Identifies the target parameter of a source template if the + is applied on a template method. + + + + + Indicates how a method, constructor invocation, or property access + over a collection type affects the contents of the collection. + When applied to a return value of a method, indicates if the returned collection + is created exclusively for the caller (CollectionAccessType.UpdatedContent) or + can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent) + Use to specify the access type. + + + Using this attribute only makes sense if all collection methods are marked with this attribute. + + + public class MyStringCollection : List<string> + { + [CollectionAccess(CollectionAccessType.Read)] + public string GetFirstString() + { + return this.ElementAt(0); + } + } + class Test + { + public void Foo() + { + // Warning: Contents of the collection is never updated + var col = new MyStringCollection(); + string x = col.GetFirstString(); + } + } + + + + + Provides a value for the to define + how the collection method invocation affects the contents of the collection. + + + + Method does not use or modify content of the collection. + + + Method only reads content of the collection but does not modify it. + + + Method can change content of the collection but does not add new elements. + + + Method can add new elements to the collection. + + + + Indicates that the marked method is an assertion method, i.e. it halts the control flow if + one of the conditions is satisfied. To set the condition, mark one of the parameters with + attribute. + + + + + Indicates the condition parameter of the assertion method. The method itself should be + marked by the attribute. The mandatory argument of + the attribute is the assertion type. + + + + + Specifies the assertion type. If the assertion method argument satisfies the condition, + then the execution continues. Otherwise, execution is assumed to be halted. + + + + Marked parameter should be evaluated to true. + + + Marked parameter should be evaluated to false. + + + Marked parameter should be evaluated to null value. + + + Marked parameter should be evaluated to not null value. + + + + Indicates that the marked method unconditionally terminates control flow execution. + For example, it could unconditionally throw an exception. + + + + + Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select, + .Where). This annotation allows inference of [InstantHandle] annotation for parameters + of delegate type by analyzing LINQ method chains. + + + + + Indicates that IEnumerable passed as a parameter is not enumerated. + Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection. + + + static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class + { + // custom check for null but no enumeration + } + + void Foo(IEnumerable<string> values) + { + ThrowIfNull(values, nameof(values)); + var x = values.ToList(); // No warnings about multiple enumeration + } + + + + + Indicates that the marked parameter, field, or property is a regular expression pattern. + + + + + Language of injected code fragment inside marked by the string literal. + + + + + Indicates that the marked parameter, field, or property is accepting a string literal + containing code fragments in a specified language. + + + void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps) + { + // cssProps should only contains a list of CSS properties + } + + + void Bar([LanguageInjection("json")] string json) + { + } + + + + Specifies a language of the injected code fragment. + + + Specifies a language name of the injected code fragment. + + + Specifies a string that "precedes" the injected string literal. + + + Specifies a string that "follows" the injected string literal. + + + + Prevents the Member Reordering feature from tossing members of the marked class. + + + The attribute must be mentioned in your member reordering patterns. + + + + + + Defines the code search template using the Structural Search and Replace syntax. + It allows you to find and, if necessary, replace blocks of code that match a specific pattern. + Search and replace patterns consist of a textual part and placeholders. + Textural part must contain only identifiers allowed in the target language and will be matched exactly (white spaces, tabulation characters, and line breaks are ignored). + Placeholders allow matching variable parts of the target code blocks. + A placeholder has the following format: $placeholder_name$- where placeholder_name is an arbitrary identifier. + + + Available placeholders: + + $this$ - expression of containing type + $thisType$ - containing type + $member$ - current member placeholder + $qualifier$ - this placeholder is available in the replace pattern and can be used to insert a qualifier expression matched by the $member$ placeholder. + (Note that if $qualifier$ placeholder is used, then $member$ placeholder will match only qualified references) + $expression$ - expression of any type + $identifier$ - identifier placeholder + $args$ - any number of arguments + $arg$ - single argument + $arg1$ ... $arg10$ - single argument + $stmts$ - any number of statements + $stmt$ - single statement + $stmt1$ ... $stmt10$ - single statement + $name{Expression, 'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $expression{'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $name{Type, 'Namespace.FooType'}$ - 'Namespace.FooType' type + $type{'Namespace.FooType'}$ - 'Namespace.FooType' type + $statement{1,2}$ - 1 or 2 statements + + + + Note that you can also define your own placeholders of the supported types and specify arguments for each placeholder type. + This can be done using the following format: $name{type, arguments}$. Where 'name' - is the name of your placeholder, + 'type' - is the type of your placeholder (one of the following: Expression, Type, Identifier, Statement, Argument, Member), + 'arguments' - arguments list for your placeholder. Each placeholder type supports its own arguments, check examples below for more details. + The placeholder type may be omitted and determined from the placeholder name, if the name has one of the following prefixes: + + expr, expression - expression placeholder, e.g. $exprPlaceholder{}$, $expressionFoo{}$ + arg, argument - argument placeholder, e.g. $argPlaceholder{}$, $argumentFoo{}$ + ident, identifier - identifier placeholder, e.g. $identPlaceholder{}$, $identifierFoo{}$ + stmt, statement - statement placeholder, e.g. $stmtPlaceholder{}$, $statementFoo{}$ + type - type placeholder, e.g. $typePlaceholder{}$, $typeFoo{}$ + member - member placeholder, e.g. $memberPlaceholder{}$, $memberFoo{}$ + + + + Expression placeholder arguments: + + expressionType - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myExpr{Expression, 'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + $myExpr{Expression, 'Namespace.FooType'}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type or expressions which can be implicitly converted to 'Namespace.FooType'. + $myExpr{Expression}$ - defines expression placeholder, matching expressions of any type. + $exprFoo{'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + + + + Type placeholder arguments: + + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myType{Type, 'Namespace.FooType', true}$ - defines type placeholder, matching 'Namespace.FooType' types with exact matching. + $myType{Type, 'Namespace.FooType'}$ - defines type placeholder, matching 'Namespace.FooType' types or types, which can be implicitly converted to 'Namespace.FooType'. + $myType{Type}$ - defines type placeholder, matching any type. + $typeFoo{'Namespace.FooType', true}$ - defines types placeholder, matching 'Namespace.FooType' types with exact matching. + + + + Identifier placeholder arguments: + + nameRegex - string value in single quotes, specifies regex to use for matching (empty string by default) + nameRegexCaseSensitive - boolean value, specifies if name regex is case sensitive (true by default) + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myIdentifier{Identifier, 'my.*', false, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (ignoring case) starting with 'my' prefix with 'Namespace.FooType' type. + $myIdentifier{Identifier, 'my.*', true, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix with 'Namespace.FooType' type. + $identFoo{'my.*'}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix. + + + + Statement placeholder arguments: + + minimalOccurrences - minimal number of statements to match (-1 by default) + maximalOccurrences - maximal number of statements to match (-1 by default) + + Examples: + + $myStmt{Statement, 1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + $myStmt{Statement}$ - defines statement placeholder, matching any number of statements. + $stmtFoo{1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + + + + Argument placeholder arguments: + + minimalOccurrences - minimal number of arguments to match (-1 by default) + maximalOccurrences - maximal number of arguments to match (-1 by default) + + Examples: + + $myArg{Argument, 1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + $myArg{Argument}$ - defines argument placeholder, matching any number of arguments. + $argFoo{1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + + + + Member placeholder arguments: + + docId - string value in single quotes, specifies XML documentation id of the member to match (empty by default) + + Examples: + + $myMember{Member, 'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + $memberFoo{'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + + + + For more information please refer to the Structural Search and Replace article. + + + + + + Structural search pattern to use in the code template. + The pattern includes a textual part, which must contain only identifiers allowed in the target language, + and placeholders, which allow matching variable parts of the target code blocks. + + + + + Message to show when the search pattern was found. + You can also prepend the message text with "Error:", "Warning:", "Suggestion:" or "Hint:" prefix to specify the pattern severity. + Code patterns with replace templates produce suggestions by default. + However, if a replace template is not provided, then warning severity will be used. + + + + + Structural search replace pattern to use in code template replacement. + + + + + The replace message to show in the light bulb. + + + + + Apply code formatting after code replacement. + + + + + Whether similar code blocks should be matched. + + + + + Automatically insert namespace import directives or remove qualifiers that become redundant after the template is applied. + + + + + The string to use as a suppression key. + By default the following suppression key is used 'CodeTemplate_SomeType_SomeMember', + where 'SomeType' and 'SomeMember' are names of the associated containing type and member to which this attribute is applied. + + + + + Indicates that the string literal, passed as an argument matching this parameter, + should not be checked on spelling or grammar errors. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC action. If applied to a method, the MVC action name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC area. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is + an MVC controller. If applied to a method, the MVC controller name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC Master. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC model type. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC + partial view. If applied to a method, the MVC partial view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. + + + + + ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC editor template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC template. + Use this attribute for custom wrappers similar to + System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component. If applied to a method, the MVC view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Controller.View(Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component name. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component view. If applied to a method, the MVC view component view name is default. + + + + + ASP.NET MVC attribute. When applied to a parameter of an attribute, + indicates that this parameter is an MVC action name. + + + [ActionName("Foo")] + public ActionResult Login(string returnUrl) { + ViewBag.ReturnUrl = Url.Action("Foo"); // OK + return RedirectToAction("Bar"); // Error: Cannot resolve action + } + + + + + Indicates that the marked parameter, field, or property is a route template. + + + This attribute allows IDE to recognize the use of web frameworks' route templates + to enable syntax highlighting, code completion, navigation, rename and other features in string literals. + + + + + Indicates that the marked type is custom route parameter constraint, + which is registered in the application's Startup with the name ConstraintName. + + + You can specify ProposedType if target constraint matches only route parameters of specific type, + it will allow IDE to create method's parameter from usage in route template + with specified type instead of default System.String + and check if constraint's proposed type conflicts with matched parameter's type. + + + + + Indicates that the marked parameter, field, or property is an URI string. + + + This attribute enables code completion, navigation, renaming and other features + in URI string literals assigned to annotated parameters, fields, or properties. + + + + + Indicates that the marked method declares routing convention for ASP.NET. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation, and other features over URI strings. + + + + + Indicates that the marked method parameter contains default route values of routing convention for ASP.NET. + + + + + Indicates that the marked method parameter contains constraints on route values of routing convention for ASP.NET. + + + + + Indicates that the marked parameter or property contains routing order provided by ASP.NET routing attribute. + + + + + Indicates that the marked parameter or property contains HTTP verbs provided by ASP.NET routing attribute. + + + + + Indicates that the marked attribute is used for attribute routing in ASP.NET. + + + The IDE will analyze all usages of attributes marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoint. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoints group. + + + + + Indicates that the marked parameter contains an ASP.NET Minimal API endpoint handler. + + + + + Indicates that the marked method contains Minimal API endpoint declaration. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all declared in attributes routes to completion, navigation and other features over URI strings. + + + + + Comma-separated list of query parameters defined for endpoint + + + + + Razor attribute. Indicates that the marked parameter or method is a Razor section. + Use this attribute for custom wrappers similar to + System.Web.WebPages.WebPageBase.RenderSection(String). + + + + + XAML attribute. Indicates the type that has an ItemsSource property and should be treated + as an ItemsControl-derived type, to enable inner items DataContext type resolution. + + + + + XAML attribute. Indicates the property of some BindingBase-derived type, that + is used to bind some item of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + The property should have the tree ancestor of the ItemsControl type, or + marked with the attribute. + + + + + XAML attribute. Indicates the property of some Style-derived type that + is used to style items of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + Property should have the tree ancestor of the ItemsControl type or + marked with the attribute. + + + + + XAML attribute. Indicates that DependencyProperty has OneWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + XAML attribute. Indicates that DependencyProperty has TwoWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + Specifies the subject being tested by a test class or a test method. + + + The can be applied to a test class or a test method to indicate what class + or interface the tests defined in them test. This information can be used by an IDE to provide better navigation + support or by test runners to group tests by subject and to provide better test reports. + + + + + Gets the type of the subject being tested. + + + + + Initializes a new instance of the class with the specified subject type. + + The type of the subject being tested. + + + + Signifies a generic argument as the test subject for a test class. + + + The can be applied to a generic parameter of a base test class to indicate that + the type passed as the argument is the class being tested. This information can be used by an IDE to provide better + navigation support or by test runners to group tests by subject and to provide better test reports. + + + public class BaseTestClass<[MeansTestSubject] T> + { + protected T Component { get; } + } + + public class CalculatorAdditionTests : BaseTestClass<Calculator> + { + [Test] + public void Should_add_two_numbers() + { + Assert.That(Component.Add(2, 3), Is.EqualTo(5)); + } + } + + +
+
diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.deps.json b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.deps.json new file mode 100644 index 000000000..633384f32 --- /dev/null +++ b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.deps.json @@ -0,0 +1,77 @@ +{ + "runtimeTarget": { + "name": ".NETStandard,Version=v2.0/", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETStandard,Version=v2.0": {}, + ".NETStandard,Version=v2.0/": { + "JetBrains.Annotations/2023.3.0": { + "dependencies": { + "Microsoft.SourceLink.GitHub": "1.0.0", + "NETStandard.Library": "2.0.3" + }, + "runtime": { + "JetBrains.Annotations.dll": {} + } + }, + "Microsoft.Build.Tasks.Git/1.0.0": {}, + "Microsoft.NETCore.Platforms/1.1.0": {}, + "Microsoft.SourceLink.Common/1.0.0": {}, + "Microsoft.SourceLink.GitHub/1.0.0": { + "dependencies": { + "Microsoft.Build.Tasks.Git": "1.0.0", + "Microsoft.SourceLink.Common": "1.0.0" + } + }, + "NETStandard.Library/2.0.3": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + } + } + }, + "libraries": { + "JetBrains.Annotations/2023.3.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.Build.Tasks.Git/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ==", + "path": "microsoft.build.tasks.git/1.0.0", + "hashPath": "microsoft.build.tasks.git.1.0.0.nupkg.sha512" + }, + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "path": "microsoft.netcore.platforms/1.1.0", + "hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" + }, + "Microsoft.SourceLink.Common/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg==", + "path": "microsoft.sourcelink.common/1.0.0", + "hashPath": "microsoft.sourcelink.common.1.0.0.nupkg.sha512" + }, + "Microsoft.SourceLink.GitHub/1.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==", + "path": "microsoft.sourcelink.github/1.0.0", + "hashPath": "microsoft.sourcelink.github.1.0.0.nupkg.sha512" + }, + "NETStandard.Library/2.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "path": "netstandard.library/2.0.3", + "hashPath": "netstandard.library.2.0.3.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.dll b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.dll new file mode 100644 index 000000000..627220df5 Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.dll differ diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.xml b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.xml new file mode 100644 index 000000000..ea4ec9eb4 --- /dev/null +++ b/packages/JetBrains.Annotations.2023.3.0/lib/netstandard2.0/JetBrains.Annotations.xml @@ -0,0 +1,1231 @@ + + + + JetBrains.Annotations + + + + + Indicates that the value of the marked element could be null sometimes, + so checking for null is required before its usage. + + + [CanBeNull] object Test() => null; + + void UseTest() { + var p = Test(); + var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' + } + + + + + Indicates that the value of the marked element can never be null. + + + [NotNull] object Foo() { + return null; // Warning: Possible 'null' assignment + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can never be null. + + + public void Foo([ItemNotNull]List<string> books) + { + foreach (var book in books) { + if (book != null) // Warning: Expression is always true + Console.WriteLine(book.ToUpper()); + } + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can be null. + + + public void Foo([ItemCanBeNull]List<string> books) + { + foreach (var book in books) + { + // Warning: Possible 'System.NullReferenceException' + Console.WriteLine(book.ToUpper()); + } + } + + + + + Indicates that the marked method builds a string by the format pattern and (optional) arguments. + The parameter, which contains the format string, should be given in the constructor. The format string + should be in -like form. + + + [StringFormatMethod("message")] + void ShowError(string message, params object[] args) { /* do something */ } + + void Foo() { + ShowError("Failed: {0}"); // Warning: Non-existing argument in format string + } + + + + + Specifies which parameter of an annotated method should be treated as the format string. + + + + + Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments + in the order in which they appear. + + + void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ } + + void Foo() { + LogInfo("User created: {username}"); // Warning: Non-existing argument in format string + } + + + + + Use this annotation to specify a type that contains static or const fields + with values for the annotated property/field/parameter. + The specified type will be used to improve completion suggestions. + + + namespace TestNamespace + { + public class Constants + { + public static int INT_CONST = 1; + public const string STRING_CONST = "1"; + } + + public class Class1 + { + [ValueProvider("TestNamespace.Constants")] public int myField; + public void Foo([ValueProvider("TestNamespace.Constants")] string str) { } + + public void Test() + { + Foo(/*try completion here*/);// + myField = /*try completion here*/ + } + } + } + + + + + Indicates that the integral value falls into the specified interval. + It's allowed to specify multiple non-intersecting intervals. + Values of interval boundaries are inclusive. + + + void Foo([ValueRange(0, 100)] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the integral value never falls below zero. + + + void Foo([NonNegativeValue] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the function argument should be a string literal and match + one of the parameters of the caller function. This annotation is used for parameters + like 'string paramName' parameter of the constructor. + + + void Foo(string param) { + if (param == null) + throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol + } + + + + + Indicates that the method is contained in a type that implements + System.ComponentModel.INotifyPropertyChanged interface and this method + is used to notify that some property value changed. + + + The method should be non-static and conform to one of the supported signatures: + + NotifyChanged(string) + NotifyChanged(params string[]) + NotifyChanged{T}(Expression{Func{T}}) + NotifyChanged{T,U}(Expression{Func{T,U}}) + SetProperty{T}(ref T, T, string) + + + + public class Foo : INotifyPropertyChanged { + public event PropertyChangedEventHandler PropertyChanged; + + [NotifyPropertyChangedInvocator] + protected virtual void NotifyChanged(string propertyName) { ... } + + string _name; + + public string Name { + get { return _name; } + set { _name = value; NotifyChanged("LastName"); /* Warning */ } + } + } + + Examples of generated notifications: + + NotifyChanged("Property") + NotifyChanged(() => Property) + NotifyChanged((VM x) => x.Property) + SetProperty(ref myField, value, "Property") + + + + + + Describes dependence between method input and output. + + +

Function Definition Table syntax:

+ + FDT ::= FDTRow [;FDTRow]* + FDTRow ::= Input => Output | Output <= Input + Input ::= ParameterName: Value [, Input]* + Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} + Value ::= true | false | null | notnull | canbenull + + If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output + means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute + with rows separated by the semicolon. There is no notion of order rows, all rows are checked + for applicability and applied per each program state tracked by the analysis engine.
+
+ + + [ContractAnnotation("=> halt")] + public void TerminationMethod() + + + [ContractAnnotation("null <= param:null")] // reverse condition syntax + public string GetName(string surname) + + + [ContractAnnotation("s:null => true")] + public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() + + + // A method that returns null if the parameter is null, + // and not null if the parameter is not null + [ContractAnnotation("null => null; notnull => notnull")] + public object Transform(object data) + + + [ContractAnnotation("=> true, result: notnull; => false, result: null")] + public bool TryParse(string s, out Person result) + + +
+ + + Indicates whether the marked element should be localized. + + + [LocalizationRequiredAttribute(true)] + class Foo { + string str = "my string"; // Warning: Localizable string + } + + + + + Indicates that the value of the marked type (or its derivatives) + cannot be compared using '==' or '!=' operators and Equals() + should be used instead. However, using '==' or '!=' for comparison + with null is always permitted. + + + [CannotApplyEqualityOperator] + class NoEquality { } + + class UsesNoEquality { + void Test() { + var ca1 = new NoEquality(); + var ca2 = new NoEquality(); + if (ca1 != null) { // OK + bool condition = ca1 == ca2; // Warning + } + } + } + + + + + When applied to a target attribute, specifies a requirement for any type marked + with the target attribute to implement or inherit the specific type or types. + + + [BaseTypeRequired(typeof(IComponent)] // Specify requirement + class ComponentAttribute : Attribute { } + + [Component] // ComponentAttribute requires implementing IComponent interface + class MyComponent : IComponent { } + + + + + Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), + so this symbol will be ignored by usage-checking inspections.
+ You can use and + to configure how this attribute is applied. +
+ + [UsedImplicitly] + public class TypeConverter {} + + public class SummaryData + { + [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)] + public SummaryData() {} + } + + [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)] + public interface IService {} + +
+ + + Can be applied to attributes, type parameters, and parameters of a type assignable from . + When applied to an attribute, the decorated attribute behaves the same as . + When applied to a type parameter or to a parameter of type , + indicates that the corresponding type is used implicitly. + + + + + Specifies the details of an implicitly used symbol when it is marked + with or . + + + + Only entity marked with attribute considered used. + + + Indicates implicit assignment to a member. + + + + Indicates implicit instantiation of a type with fixed constructor signature. + That means any unused constructor parameters won't be reported as such. + + + + Indicates implicit instantiation of a type. + + + + Specifies what is considered to be used implicitly when marked + with or . + + + + Members of the type marked with the attribute are considered used. + + + Inherited entities are considered used. + + + Entity marked with the attribute and all its members considered used. + + + + This attribute is intended to mark publicly available APIs, + which should not be removed and so is treated as used. + + + + + Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack. + If the parameter is a delegate, indicates that the delegate can only be invoked during method execution + (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later, + when the containing method is no longer on the execution stack). + If the parameter is an enumerable, indicates that it is enumerated while the method is executed. + If is true, the attribute will only take effect if the method invocation is located under the 'await' expression. + + + + + Require the method invocation to be used under the 'await' expression for this attribute to take effect on the code analysis engine. + Can be used for delegate/enumerable parameters of 'async' methods. + + + + + Indicates that a method does not make any observable state changes. + The same as System.Diagnostics.Contracts.PureAttribute. + + + [Pure] int Multiply(int x, int y) => x * y; + + void M() { + Multiply(123, 42); // Warning: Return value of pure method is not used + } + + + + + Indicates that the return value of the method invocation must be used. + + + Methods decorated with this attribute (in contrast to pure methods) might change state, + but make no sense without using their return value.
+ Similarly to , this attribute + will help to detect usages of the method when the return value is not used. + Optionally, you can specify a message to use when showing warnings, e.g. + [MustUseReturnValue("Use the return value to...")]. +
+
+ + + Indicates that the resource disposal must be handled by the use site, + meaning that the resource ownership is transferred to the callee. + This annotation can be used to annotate disposable types or their constructors individually to enable + the resource disposal IDE code analysis in every context where the new instance of this type is created. + Factory methods and 'out' parameters can also be annotated to indicate that the return value of disposable type + needs handling. + + + Annotation of input parameters with this attribute is meaningless.
+ Constructors inherit this attribute from their type, if it is annotated, + but not from the base constructors they delegate to (if any).
+ Resource disposal is expected to be expressed via either using (resource) statement, + using var declaration, explicit 'Dispose' method call, or an argument passing + to a parameter with the attribute applied. +
+
+ + + When set to false, disposing of the resource is not obligatory. + The main use-case for explicit [MustDisposeResource(false)] annotation is to loosen inherited annotation. + + + + + Indicates that method or class instance acquires resource ownership and will dispose it after use. + + + Annotation of 'out' parameter with this attribute is meaningless.
+ When a instance method is annotated with this attribute, + it means that it is handling the resource disposal of the corresponding resource instance.
+ When a field or a property is annotated with this attribute, it means that this type owns the resource + and will handle the resource disposal properly (e.g. in own IDisposable implementation). +
+
+ + + This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs. + When this annotation is applied to the parameter of delegate type, the IDE checks the input argument of this parameter: + * When a lambda expression or anonymous method is passed as an argument, the IDE verifies that the passed closure + has no captures of the containing local variables and the compiler is able to cache the delegate instance + to avoid heap allocations. Otherwise a warning is produced. + * The IDE warns when the method name or local function name is passed as an argument as this always results + in heap allocation of the delegate instance. + + + In C# 9.0+ code, the IDE will also suggest to annotate the anonymous function with the 'static' modifier + to make use of the similar analysis provided by the language/compiler. + + + + + Indicates the type member or parameter of some type that should be used instead of all other ways + to get the value of that type. This annotation is useful when you have some "context" value evaluated + and stored somewhere, meaning that all other ways to get this value must be consolidated with the existing one. + + + class Foo { + [ProvidesContext] IBarService _barService = ...; + + void ProcessNode(INode node) { + DoSomething(node, node.GetGlobalServices().Bar); + // ^ Warning: use value of '_barService' field + } + } + + + + + Indicates that a parameter is a path to a file or a folder within a web project. + Path can be relative or absolute, starting from web root (~). + + + + + An extension method marked with this attribute is processed by code completion + as a 'Source Template'. When the extension method is completed over some expression, its source code + is automatically expanded like a template at the call site. + + + Template method bodies can contain valid source code and/or special comments starting with '$'. + Text inside these comments is added as source code when the template is applied. Template parameters + can be used either as additional method parameters or as identifiers wrapped in two '$' signs. + Use the attribute to specify macros for parameters. + The expression to be used in the expansion can be adjusted by the parameter. + + + In this example, the 'forEach' method is a source template available over all values + of enumerable types, producing ordinary C# 'foreach' statement and placing the caret inside the block: + + [SourceTemplate] + public static void forEach<T>(this IEnumerable<T> xs) { + foreach (var x in xs) { + //$ $END$ + } + } + + + + + + Allows specifying which expression to capture for template execution if more than one present on the expansion. + If not specified, is assumed. + + + + + Provides a value for the to define how to capture + the expression at the point of expansion + + + + Selects inner expression + value > 42.{caret} captures 42 + _args = args.{caret} captures args + + + Selects outer expression + value > 42.{caret} captures value > 42 + _args = args.{caret} captures whole assignment + + + + Allows specifying a macro for a parameter of a source template. + + + You can apply the attribute on the whole method or on any of its additional parameters. The macro expression + is defined in the property. When applied on a method, the target + template parameter is defined in the property. To apply the macro silently + for the parameter, set the property value to -1. + + + Applying the attribute on a source template method: + + [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] + public static void forEach<T>(this IEnumerable<T> collection) { + foreach (var item in collection) { + //$ $END$ + } + } + + Applying the attribute on a template method parameter: + + [SourceTemplate] + public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { + /*$ var $x$Id = "$newguid$" + x.ToString(); + x.DoSomething($x$Id); */ + } + + + + + + Allows specifying a macro that will be executed for a source template + parameter when the template is expanded. + + + + + Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. + + + If the target parameter is used several times in the template, only one occurrence becomes editable; + other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, + use values >= 0. To make the parameter non-editable when the template is expanded, use -1. + + + + + Identifies the target parameter of a source template if the + is applied on a template method. + + + + + Indicates how a method, constructor invocation, or property access + over a collection type affects the contents of the collection. + When applied to a return value of a method, indicates if the returned collection + is created exclusively for the caller (CollectionAccessType.UpdatedContent) or + can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent) + Use to specify the access type. + + + Using this attribute only makes sense if all collection methods are marked with this attribute. + + + public class MyStringCollection : List<string> + { + [CollectionAccess(CollectionAccessType.Read)] + public string GetFirstString() + { + return this.ElementAt(0); + } + } + class Test + { + public void Foo() + { + // Warning: Contents of the collection is never updated + var col = new MyStringCollection(); + string x = col.GetFirstString(); + } + } + + + + + Provides a value for the to define + how the collection method invocation affects the contents of the collection. + + + + Method does not use or modify content of the collection. + + + Method only reads content of the collection but does not modify it. + + + Method can change content of the collection but does not add new elements. + + + Method can add new elements to the collection. + + + + Indicates that the marked method is an assertion method, i.e. it halts the control flow if + one of the conditions is satisfied. To set the condition, mark one of the parameters with + attribute. + + + + + Indicates the condition parameter of the assertion method. The method itself should be + marked by the attribute. The mandatory argument of + the attribute is the assertion type. + + + + + Specifies the assertion type. If the assertion method argument satisfies the condition, + then the execution continues. Otherwise, execution is assumed to be halted. + + + + Marked parameter should be evaluated to true. + + + Marked parameter should be evaluated to false. + + + Marked parameter should be evaluated to null value. + + + Marked parameter should be evaluated to not null value. + + + + Indicates that the marked method unconditionally terminates control flow execution. + For example, it could unconditionally throw an exception. + + + + + Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select, + .Where). This annotation allows inference of [InstantHandle] annotation for parameters + of delegate type by analyzing LINQ method chains. + + + + + Indicates that IEnumerable passed as a parameter is not enumerated. + Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection. + + + static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class + { + // custom check for null but no enumeration + } + + void Foo(IEnumerable<string> values) + { + ThrowIfNull(values, nameof(values)); + var x = values.ToList(); // No warnings about multiple enumeration + } + + + + + Indicates that the marked parameter, field, or property is a regular expression pattern. + + + + + Language of injected code fragment inside marked by the string literal. + + + + + Indicates that the marked parameter, field, or property is accepting a string literal + containing code fragments in a specified language. + + + void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps) + { + // cssProps should only contains a list of CSS properties + } + + + void Bar([LanguageInjection("json")] string json) + { + } + + + + Specifies a language of the injected code fragment. + + + Specifies a language name of the injected code fragment. + + + Specifies a string that "precedes" the injected string literal. + + + Specifies a string that "follows" the injected string literal. + + + + Prevents the Member Reordering feature from tossing members of the marked class. + + + The attribute must be mentioned in your member reordering patterns. + + + + + + Defines the code search template using the Structural Search and Replace syntax. + It allows you to find and, if necessary, replace blocks of code that match a specific pattern. + Search and replace patterns consist of a textual part and placeholders. + Textural part must contain only identifiers allowed in the target language and will be matched exactly (white spaces, tabulation characters, and line breaks are ignored). + Placeholders allow matching variable parts of the target code blocks. + A placeholder has the following format: $placeholder_name$- where placeholder_name is an arbitrary identifier. + + + Available placeholders: + + $this$ - expression of containing type + $thisType$ - containing type + $member$ - current member placeholder + $qualifier$ - this placeholder is available in the replace pattern and can be used to insert a qualifier expression matched by the $member$ placeholder. + (Note that if $qualifier$ placeholder is used, then $member$ placeholder will match only qualified references) + $expression$ - expression of any type + $identifier$ - identifier placeholder + $args$ - any number of arguments + $arg$ - single argument + $arg1$ ... $arg10$ - single argument + $stmts$ - any number of statements + $stmt$ - single statement + $stmt1$ ... $stmt10$ - single statement + $name{Expression, 'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $expression{'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $name{Type, 'Namespace.FooType'}$ - 'Namespace.FooType' type + $type{'Namespace.FooType'}$ - 'Namespace.FooType' type + $statement{1,2}$ - 1 or 2 statements + + + + Note that you can also define your own placeholders of the supported types and specify arguments for each placeholder type. + This can be done using the following format: $name{type, arguments}$. Where 'name' - is the name of your placeholder, + 'type' - is the type of your placeholder (one of the following: Expression, Type, Identifier, Statement, Argument, Member), + 'arguments' - arguments list for your placeholder. Each placeholder type supports its own arguments, check examples below for more details. + The placeholder type may be omitted and determined from the placeholder name, if the name has one of the following prefixes: + + expr, expression - expression placeholder, e.g. $exprPlaceholder{}$, $expressionFoo{}$ + arg, argument - argument placeholder, e.g. $argPlaceholder{}$, $argumentFoo{}$ + ident, identifier - identifier placeholder, e.g. $identPlaceholder{}$, $identifierFoo{}$ + stmt, statement - statement placeholder, e.g. $stmtPlaceholder{}$, $statementFoo{}$ + type - type placeholder, e.g. $typePlaceholder{}$, $typeFoo{}$ + member - member placeholder, e.g. $memberPlaceholder{}$, $memberFoo{}$ + + + + Expression placeholder arguments: + + expressionType - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myExpr{Expression, 'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + $myExpr{Expression, 'Namespace.FooType'}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type or expressions which can be implicitly converted to 'Namespace.FooType'. + $myExpr{Expression}$ - defines expression placeholder, matching expressions of any type. + $exprFoo{'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + + + + Type placeholder arguments: + + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myType{Type, 'Namespace.FooType', true}$ - defines type placeholder, matching 'Namespace.FooType' types with exact matching. + $myType{Type, 'Namespace.FooType'}$ - defines type placeholder, matching 'Namespace.FooType' types or types, which can be implicitly converted to 'Namespace.FooType'. + $myType{Type}$ - defines type placeholder, matching any type. + $typeFoo{'Namespace.FooType', true}$ - defines types placeholder, matching 'Namespace.FooType' types with exact matching. + + + + Identifier placeholder arguments: + + nameRegex - string value in single quotes, specifies regex to use for matching (empty string by default) + nameRegexCaseSensitive - boolean value, specifies if name regex is case sensitive (true by default) + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myIdentifier{Identifier, 'my.*', false, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (ignoring case) starting with 'my' prefix with 'Namespace.FooType' type. + $myIdentifier{Identifier, 'my.*', true, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix with 'Namespace.FooType' type. + $identFoo{'my.*'}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix. + + + + Statement placeholder arguments: + + minimalOccurrences - minimal number of statements to match (-1 by default) + maximalOccurrences - maximal number of statements to match (-1 by default) + + Examples: + + $myStmt{Statement, 1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + $myStmt{Statement}$ - defines statement placeholder, matching any number of statements. + $stmtFoo{1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + + + + Argument placeholder arguments: + + minimalOccurrences - minimal number of arguments to match (-1 by default) + maximalOccurrences - maximal number of arguments to match (-1 by default) + + Examples: + + $myArg{Argument, 1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + $myArg{Argument}$ - defines argument placeholder, matching any number of arguments. + $argFoo{1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + + + + Member placeholder arguments: + + docId - string value in single quotes, specifies XML documentation id of the member to match (empty by default) + + Examples: + + $myMember{Member, 'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + $memberFoo{'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + + + + For more information please refer to the Structural Search and Replace article. + + + + + + Structural search pattern to use in the code template. + The pattern includes a textual part, which must contain only identifiers allowed in the target language, + and placeholders, which allow matching variable parts of the target code blocks. + + + + + Message to show when the search pattern was found. + You can also prepend the message text with "Error:", "Warning:", "Suggestion:" or "Hint:" prefix to specify the pattern severity. + Code patterns with replace templates produce suggestions by default. + However, if a replace template is not provided, then warning severity will be used. + + + + + Structural search replace pattern to use in code template replacement. + + + + + The replace message to show in the light bulb. + + + + + Apply code formatting after code replacement. + + + + + Whether similar code blocks should be matched. + + + + + Automatically insert namespace import directives or remove qualifiers that become redundant after the template is applied. + + + + + The string to use as a suppression key. + By default the following suppression key is used 'CodeTemplate_SomeType_SomeMember', + where 'SomeType' and 'SomeMember' are names of the associated containing type and member to which this attribute is applied. + + + + + Indicates that the string literal, passed as an argument matching this parameter, + should not be checked on spelling or grammar errors. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC action. If applied to a method, the MVC action name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC area. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is + an MVC controller. If applied to a method, the MVC controller name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC Master. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC model type. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC + partial view. If applied to a method, the MVC partial view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. + + + + + ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC editor template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC template. + Use this attribute for custom wrappers similar to + System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component. If applied to a method, the MVC view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Controller.View(Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component name. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component view. If applied to a method, the MVC view component view name is default. + + + + + ASP.NET MVC attribute. When applied to a parameter of an attribute, + indicates that this parameter is an MVC action name. + + + [ActionName("Foo")] + public ActionResult Login(string returnUrl) { + ViewBag.ReturnUrl = Url.Action("Foo"); // OK + return RedirectToAction("Bar"); // Error: Cannot resolve action + } + + + + + Indicates that the marked parameter, field, or property is a route template. + + + This attribute allows IDE to recognize the use of web frameworks' route templates + to enable syntax highlighting, code completion, navigation, rename and other features in string literals. + + + + + Indicates that the marked type is custom route parameter constraint, + which is registered in the application's Startup with the name ConstraintName. + + + You can specify ProposedType if target constraint matches only route parameters of specific type, + it will allow IDE to create method's parameter from usage in route template + with specified type instead of default System.String + and check if constraint's proposed type conflicts with matched parameter's type. + + + + + Indicates that the marked parameter, field, or property is an URI string. + + + This attribute enables code completion, navigation, renaming and other features + in URI string literals assigned to annotated parameters, fields, or properties. + + + + + Indicates that the marked method declares routing convention for ASP.NET. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation, and other features over URI strings. + + + + + Indicates that the marked method parameter contains default route values of routing convention for ASP.NET. + + + + + Indicates that the marked method parameter contains constraints on route values of routing convention for ASP.NET. + + + + + Indicates that the marked parameter or property contains routing order provided by ASP.NET routing attribute. + + + + + Indicates that the marked parameter or property contains HTTP verbs provided by ASP.NET routing attribute. + + + + + Indicates that the marked attribute is used for attribute routing in ASP.NET. + + + The IDE will analyze all usages of attributes marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoint. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoints group. + + + + + Indicates that the marked parameter contains an ASP.NET Minimal API endpoint handler. + + + + + Indicates that the marked method contains Minimal API endpoint declaration. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all declared in attributes routes to completion, navigation and other features over URI strings. + + + + + Comma-separated list of query parameters defined for endpoint + + + + + Razor attribute. Indicates that the marked parameter or method is a Razor section. + Use this attribute for custom wrappers similar to + System.Web.WebPages.WebPageBase.RenderSection(String). + + + + + XAML attribute. Indicates the type that has an ItemsSource property and should be treated + as an ItemsControl-derived type, to enable inner items DataContext type resolution. + + + + + XAML attribute. Indicates the property of some BindingBase-derived type, that + is used to bind some item of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + The property should have the tree ancestor of the ItemsControl type, or + marked with the attribute. + + + + + XAML attribute. Indicates the property of some Style-derived type that + is used to style items of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + Property should have the tree ancestor of the ItemsControl type or + marked with the attribute. + + + + + XAML attribute. Indicates that DependencyProperty has OneWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + XAML attribute. Indicates that DependencyProperty has TwoWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + Specifies the subject being tested by a test class or a test method. + + + The can be applied to a test class or a test method to indicate what class + or interface the tests defined in them test. This information can be used by an IDE to provide better navigation + support or by test runners to group tests by subject and to provide better test reports. + + + + + Gets the type of the subject being tested. + + + + + Initializes a new instance of the class with the specified subject type. + + The type of the subject being tested. + + + + Signifies a generic argument as the test subject for a test class. + + + The can be applied to a generic parameter of a base test class to indicate that + the type passed as the argument is the class being tested. This information can be used by an IDE to provide better + navigation support or by test runners to group tests by subject and to provide better test reports. + + + public class BaseTestClass<[MeansTestSubject] T> + { + protected T Component { get; } + } + + public class CalculatorAdditionTests : BaseTestClass<Calculator> + { + [Test] + public void Should_add_two_numbers() + { + Assert.That(Component.Add(2, 3), Is.EqualTo(5)); + } + } + + +
+
diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/portable40-net40+sl5+win8+wp8+wpa81/JetBrains.Annotations.dll b/packages/JetBrains.Annotations.2023.3.0/lib/portable40-net40+sl5+win8+wp8+wpa81/JetBrains.Annotations.dll new file mode 100644 index 000000000..7842374ed Binary files /dev/null and b/packages/JetBrains.Annotations.2023.3.0/lib/portable40-net40+sl5+win8+wp8+wpa81/JetBrains.Annotations.dll differ diff --git a/packages/JetBrains.Annotations.2023.3.0/lib/portable40-net40+sl5+win8+wp8+wpa81/JetBrains.Annotations.xml b/packages/JetBrains.Annotations.2023.3.0/lib/portable40-net40+sl5+win8+wp8+wpa81/JetBrains.Annotations.xml new file mode 100644 index 000000000..ea4ec9eb4 --- /dev/null +++ b/packages/JetBrains.Annotations.2023.3.0/lib/portable40-net40+sl5+win8+wp8+wpa81/JetBrains.Annotations.xml @@ -0,0 +1,1231 @@ + + + + JetBrains.Annotations + + + + + Indicates that the value of the marked element could be null sometimes, + so checking for null is required before its usage. + + + [CanBeNull] object Test() => null; + + void UseTest() { + var p = Test(); + var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' + } + + + + + Indicates that the value of the marked element can never be null. + + + [NotNull] object Foo() { + return null; // Warning: Possible 'null' assignment + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can never be null. + + + public void Foo([ItemNotNull]List<string> books) + { + foreach (var book in books) { + if (book != null) // Warning: Expression is always true + Console.WriteLine(book.ToUpper()); + } + } + + + + + Can be applied to symbols of types derived from IEnumerable as well as to symbols of Task + and Lazy classes to indicate that the value of a collection item, of the Task.Result property + or of the Lazy.Value property can be null. + + + public void Foo([ItemCanBeNull]List<string> books) + { + foreach (var book in books) + { + // Warning: Possible 'System.NullReferenceException' + Console.WriteLine(book.ToUpper()); + } + } + + + + + Indicates that the marked method builds a string by the format pattern and (optional) arguments. + The parameter, which contains the format string, should be given in the constructor. The format string + should be in -like form. + + + [StringFormatMethod("message")] + void ShowError(string message, params object[] args) { /* do something */ } + + void Foo() { + ShowError("Failed: {0}"); // Warning: Non-existing argument in format string + } + + + + + Specifies which parameter of an annotated method should be treated as the format string. + + + + + Indicates that the marked parameter is a message template where placeholders are to be replaced by the following arguments + in the order in which they appear. + + + void LogInfo([StructuredMessageTemplate]string message, params object[] args) { /* do something */ } + + void Foo() { + LogInfo("User created: {username}"); // Warning: Non-existing argument in format string + } + + + + + Use this annotation to specify a type that contains static or const fields + with values for the annotated property/field/parameter. + The specified type will be used to improve completion suggestions. + + + namespace TestNamespace + { + public class Constants + { + public static int INT_CONST = 1; + public const string STRING_CONST = "1"; + } + + public class Class1 + { + [ValueProvider("TestNamespace.Constants")] public int myField; + public void Foo([ValueProvider("TestNamespace.Constants")] string str) { } + + public void Test() + { + Foo(/*try completion here*/);// + myField = /*try completion here*/ + } + } + } + + + + + Indicates that the integral value falls into the specified interval. + It's allowed to specify multiple non-intersecting intervals. + Values of interval boundaries are inclusive. + + + void Foo([ValueRange(0, 100)] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the integral value never falls below zero. + + + void Foo([NonNegativeValue] int value) { + if (value == -1) { // Warning: Expression is always 'false' + ... + } + } + + + + + Indicates that the function argument should be a string literal and match + one of the parameters of the caller function. This annotation is used for parameters + like 'string paramName' parameter of the constructor. + + + void Foo(string param) { + if (param == null) + throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol + } + + + + + Indicates that the method is contained in a type that implements + System.ComponentModel.INotifyPropertyChanged interface and this method + is used to notify that some property value changed. + + + The method should be non-static and conform to one of the supported signatures: + + NotifyChanged(string) + NotifyChanged(params string[]) + NotifyChanged{T}(Expression{Func{T}}) + NotifyChanged{T,U}(Expression{Func{T,U}}) + SetProperty{T}(ref T, T, string) + + + + public class Foo : INotifyPropertyChanged { + public event PropertyChangedEventHandler PropertyChanged; + + [NotifyPropertyChangedInvocator] + protected virtual void NotifyChanged(string propertyName) { ... } + + string _name; + + public string Name { + get { return _name; } + set { _name = value; NotifyChanged("LastName"); /* Warning */ } + } + } + + Examples of generated notifications: + + NotifyChanged("Property") + NotifyChanged(() => Property) + NotifyChanged((VM x) => x.Property) + SetProperty(ref myField, value, "Property") + + + + + + Describes dependence between method input and output. + + +

Function Definition Table syntax:

+ + FDT ::= FDTRow [;FDTRow]* + FDTRow ::= Input => Output | Output <= Input + Input ::= ParameterName: Value [, Input]* + Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} + Value ::= true | false | null | notnull | canbenull + + If the method has a single input parameter, its name could be omitted.
+ Using halt (or void/nothing, which is the same) for the method output + means that the method doesn't return normally (throws or terminates the process).
+ Value canbenull is only applicable for output parameters.
+ You can use multiple [ContractAnnotation] for each FDT row, or use single attribute + with rows separated by the semicolon. There is no notion of order rows, all rows are checked + for applicability and applied per each program state tracked by the analysis engine.
+
+ + + [ContractAnnotation("=> halt")] + public void TerminationMethod() + + + [ContractAnnotation("null <= param:null")] // reverse condition syntax + public string GetName(string surname) + + + [ContractAnnotation("s:null => true")] + public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() + + + // A method that returns null if the parameter is null, + // and not null if the parameter is not null + [ContractAnnotation("null => null; notnull => notnull")] + public object Transform(object data) + + + [ContractAnnotation("=> true, result: notnull; => false, result: null")] + public bool TryParse(string s, out Person result) + + +
+ + + Indicates whether the marked element should be localized. + + + [LocalizationRequiredAttribute(true)] + class Foo { + string str = "my string"; // Warning: Localizable string + } + + + + + Indicates that the value of the marked type (or its derivatives) + cannot be compared using '==' or '!=' operators and Equals() + should be used instead. However, using '==' or '!=' for comparison + with null is always permitted. + + + [CannotApplyEqualityOperator] + class NoEquality { } + + class UsesNoEquality { + void Test() { + var ca1 = new NoEquality(); + var ca2 = new NoEquality(); + if (ca1 != null) { // OK + bool condition = ca1 == ca2; // Warning + } + } + } + + + + + When applied to a target attribute, specifies a requirement for any type marked + with the target attribute to implement or inherit the specific type or types. + + + [BaseTypeRequired(typeof(IComponent)] // Specify requirement + class ComponentAttribute : Attribute { } + + [Component] // ComponentAttribute requires implementing IComponent interface + class MyComponent : IComponent { } + + + + + Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), + so this symbol will be ignored by usage-checking inspections.
+ You can use and + to configure how this attribute is applied. +
+ + [UsedImplicitly] + public class TypeConverter {} + + public class SummaryData + { + [UsedImplicitly(ImplicitUseKindFlags.InstantiatedWithFixedConstructorSignature)] + public SummaryData() {} + } + + [UsedImplicitly(ImplicitUseTargetFlags.WithInheritors | ImplicitUseTargetFlags.Default)] + public interface IService {} + +
+ + + Can be applied to attributes, type parameters, and parameters of a type assignable from . + When applied to an attribute, the decorated attribute behaves the same as . + When applied to a type parameter or to a parameter of type , + indicates that the corresponding type is used implicitly. + + + + + Specifies the details of an implicitly used symbol when it is marked + with or . + + + + Only entity marked with attribute considered used. + + + Indicates implicit assignment to a member. + + + + Indicates implicit instantiation of a type with fixed constructor signature. + That means any unused constructor parameters won't be reported as such. + + + + Indicates implicit instantiation of a type. + + + + Specifies what is considered to be used implicitly when marked + with or . + + + + Members of the type marked with the attribute are considered used. + + + Inherited entities are considered used. + + + Entity marked with the attribute and all its members considered used. + + + + This attribute is intended to mark publicly available APIs, + which should not be removed and so is treated as used. + + + + + Tells the code analysis engine if the parameter is completely handled when the invoked method is on stack. + If the parameter is a delegate, indicates that the delegate can only be invoked during method execution + (the delegate can be invoked zero or multiple times, but not stored to some field and invoked later, + when the containing method is no longer on the execution stack). + If the parameter is an enumerable, indicates that it is enumerated while the method is executed. + If is true, the attribute will only take effect if the method invocation is located under the 'await' expression. + + + + + Require the method invocation to be used under the 'await' expression for this attribute to take effect on the code analysis engine. + Can be used for delegate/enumerable parameters of 'async' methods. + + + + + Indicates that a method does not make any observable state changes. + The same as System.Diagnostics.Contracts.PureAttribute. + + + [Pure] int Multiply(int x, int y) => x * y; + + void M() { + Multiply(123, 42); // Warning: Return value of pure method is not used + } + + + + + Indicates that the return value of the method invocation must be used. + + + Methods decorated with this attribute (in contrast to pure methods) might change state, + but make no sense without using their return value.
+ Similarly to , this attribute + will help to detect usages of the method when the return value is not used. + Optionally, you can specify a message to use when showing warnings, e.g. + [MustUseReturnValue("Use the return value to...")]. +
+
+ + + Indicates that the resource disposal must be handled by the use site, + meaning that the resource ownership is transferred to the callee. + This annotation can be used to annotate disposable types or their constructors individually to enable + the resource disposal IDE code analysis in every context where the new instance of this type is created. + Factory methods and 'out' parameters can also be annotated to indicate that the return value of disposable type + needs handling. + + + Annotation of input parameters with this attribute is meaningless.
+ Constructors inherit this attribute from their type, if it is annotated, + but not from the base constructors they delegate to (if any).
+ Resource disposal is expected to be expressed via either using (resource) statement, + using var declaration, explicit 'Dispose' method call, or an argument passing + to a parameter with the attribute applied. +
+
+ + + When set to false, disposing of the resource is not obligatory. + The main use-case for explicit [MustDisposeResource(false)] annotation is to loosen inherited annotation. + + + + + Indicates that method or class instance acquires resource ownership and will dispose it after use. + + + Annotation of 'out' parameter with this attribute is meaningless.
+ When a instance method is annotated with this attribute, + it means that it is handling the resource disposal of the corresponding resource instance.
+ When a field or a property is annotated with this attribute, it means that this type owns the resource + and will handle the resource disposal properly (e.g. in own IDisposable implementation). +
+
+ + + This annotation allows to enforce allocation-less usage patterns of delegates for performance-critical APIs. + When this annotation is applied to the parameter of delegate type, the IDE checks the input argument of this parameter: + * When a lambda expression or anonymous method is passed as an argument, the IDE verifies that the passed closure + has no captures of the containing local variables and the compiler is able to cache the delegate instance + to avoid heap allocations. Otherwise a warning is produced. + * The IDE warns when the method name or local function name is passed as an argument as this always results + in heap allocation of the delegate instance. + + + In C# 9.0+ code, the IDE will also suggest to annotate the anonymous function with the 'static' modifier + to make use of the similar analysis provided by the language/compiler. + + + + + Indicates the type member or parameter of some type that should be used instead of all other ways + to get the value of that type. This annotation is useful when you have some "context" value evaluated + and stored somewhere, meaning that all other ways to get this value must be consolidated with the existing one. + + + class Foo { + [ProvidesContext] IBarService _barService = ...; + + void ProcessNode(INode node) { + DoSomething(node, node.GetGlobalServices().Bar); + // ^ Warning: use value of '_barService' field + } + } + + + + + Indicates that a parameter is a path to a file or a folder within a web project. + Path can be relative or absolute, starting from web root (~). + + + + + An extension method marked with this attribute is processed by code completion + as a 'Source Template'. When the extension method is completed over some expression, its source code + is automatically expanded like a template at the call site. + + + Template method bodies can contain valid source code and/or special comments starting with '$'. + Text inside these comments is added as source code when the template is applied. Template parameters + can be used either as additional method parameters or as identifiers wrapped in two '$' signs. + Use the attribute to specify macros for parameters. + The expression to be used in the expansion can be adjusted by the parameter. + + + In this example, the 'forEach' method is a source template available over all values + of enumerable types, producing ordinary C# 'foreach' statement and placing the caret inside the block: + + [SourceTemplate] + public static void forEach<T>(this IEnumerable<T> xs) { + foreach (var x in xs) { + //$ $END$ + } + } + + + + + + Allows specifying which expression to capture for template execution if more than one present on the expansion. + If not specified, is assumed. + + + + + Provides a value for the to define how to capture + the expression at the point of expansion + + + + Selects inner expression + value > 42.{caret} captures 42 + _args = args.{caret} captures args + + + Selects outer expression + value > 42.{caret} captures value > 42 + _args = args.{caret} captures whole assignment + + + + Allows specifying a macro for a parameter of a source template. + + + You can apply the attribute on the whole method or on any of its additional parameters. The macro expression + is defined in the property. When applied on a method, the target + template parameter is defined in the property. To apply the macro silently + for the parameter, set the property value to -1. + + + Applying the attribute on a source template method: + + [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] + public static void forEach<T>(this IEnumerable<T> collection) { + foreach (var item in collection) { + //$ $END$ + } + } + + Applying the attribute on a template method parameter: + + [SourceTemplate] + public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { + /*$ var $x$Id = "$newguid$" + x.ToString(); + x.DoSomething($x$Id); */ + } + + + + + + Allows specifying a macro that will be executed for a source template + parameter when the template is expanded. + + + + + Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. + + + If the target parameter is used several times in the template, only one occurrence becomes editable; + other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, + use values >= 0. To make the parameter non-editable when the template is expanded, use -1. + + + + + Identifies the target parameter of a source template if the + is applied on a template method. + + + + + Indicates how a method, constructor invocation, or property access + over a collection type affects the contents of the collection. + When applied to a return value of a method, indicates if the returned collection + is created exclusively for the caller (CollectionAccessType.UpdatedContent) or + can be read/updated from outside (CollectionAccessType.Read | CollectionAccessType.UpdatedContent) + Use to specify the access type. + + + Using this attribute only makes sense if all collection methods are marked with this attribute. + + + public class MyStringCollection : List<string> + { + [CollectionAccess(CollectionAccessType.Read)] + public string GetFirstString() + { + return this.ElementAt(0); + } + } + class Test + { + public void Foo() + { + // Warning: Contents of the collection is never updated + var col = new MyStringCollection(); + string x = col.GetFirstString(); + } + } + + + + + Provides a value for the to define + how the collection method invocation affects the contents of the collection. + + + + Method does not use or modify content of the collection. + + + Method only reads content of the collection but does not modify it. + + + Method can change content of the collection but does not add new elements. + + + Method can add new elements to the collection. + + + + Indicates that the marked method is an assertion method, i.e. it halts the control flow if + one of the conditions is satisfied. To set the condition, mark one of the parameters with + attribute. + + + + + Indicates the condition parameter of the assertion method. The method itself should be + marked by the attribute. The mandatory argument of + the attribute is the assertion type. + + + + + Specifies the assertion type. If the assertion method argument satisfies the condition, + then the execution continues. Otherwise, execution is assumed to be halted. + + + + Marked parameter should be evaluated to true. + + + Marked parameter should be evaluated to false. + + + Marked parameter should be evaluated to null value. + + + Marked parameter should be evaluated to not null value. + + + + Indicates that the marked method unconditionally terminates control flow execution. + For example, it could unconditionally throw an exception. + + + + + Indicates that the method is a pure LINQ method, with postponed enumeration (like Enumerable.Select, + .Where). This annotation allows inference of [InstantHandle] annotation for parameters + of delegate type by analyzing LINQ method chains. + + + + + Indicates that IEnumerable passed as a parameter is not enumerated. + Use this annotation to suppress the 'Possible multiple enumeration of IEnumerable' inspection. + + + static void ThrowIfNull<T>([NoEnumeration] T v, string n) where T : class + { + // custom check for null but no enumeration + } + + void Foo(IEnumerable<string> values) + { + ThrowIfNull(values, nameof(values)); + var x = values.ToList(); // No warnings about multiple enumeration + } + + + + + Indicates that the marked parameter, field, or property is a regular expression pattern. + + + + + Language of injected code fragment inside marked by the string literal. + + + + + Indicates that the marked parameter, field, or property is accepting a string literal + containing code fragments in a specified language. + + + void Foo([LanguageInjection(InjectedLanguage.CSS, Prefix = "body{", Suffix = "}")] string cssProps) + { + // cssProps should only contains a list of CSS properties + } + + + void Bar([LanguageInjection("json")] string json) + { + } + + + + Specifies a language of the injected code fragment. + + + Specifies a language name of the injected code fragment. + + + Specifies a string that "precedes" the injected string literal. + + + Specifies a string that "follows" the injected string literal. + + + + Prevents the Member Reordering feature from tossing members of the marked class. + + + The attribute must be mentioned in your member reordering patterns. + + + + + + Defines the code search template using the Structural Search and Replace syntax. + It allows you to find and, if necessary, replace blocks of code that match a specific pattern. + Search and replace patterns consist of a textual part and placeholders. + Textural part must contain only identifiers allowed in the target language and will be matched exactly (white spaces, tabulation characters, and line breaks are ignored). + Placeholders allow matching variable parts of the target code blocks. + A placeholder has the following format: $placeholder_name$- where placeholder_name is an arbitrary identifier. + + + Available placeholders: + + $this$ - expression of containing type + $thisType$ - containing type + $member$ - current member placeholder + $qualifier$ - this placeholder is available in the replace pattern and can be used to insert a qualifier expression matched by the $member$ placeholder. + (Note that if $qualifier$ placeholder is used, then $member$ placeholder will match only qualified references) + $expression$ - expression of any type + $identifier$ - identifier placeholder + $args$ - any number of arguments + $arg$ - single argument + $arg1$ ... $arg10$ - single argument + $stmts$ - any number of statements + $stmt$ - single statement + $stmt1$ ... $stmt10$ - single statement + $name{Expression, 'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $expression{'Namespace.FooType'}$ - expression with 'Namespace.FooType' type + $name{Type, 'Namespace.FooType'}$ - 'Namespace.FooType' type + $type{'Namespace.FooType'}$ - 'Namespace.FooType' type + $statement{1,2}$ - 1 or 2 statements + + + + Note that you can also define your own placeholders of the supported types and specify arguments for each placeholder type. + This can be done using the following format: $name{type, arguments}$. Where 'name' - is the name of your placeholder, + 'type' - is the type of your placeholder (one of the following: Expression, Type, Identifier, Statement, Argument, Member), + 'arguments' - arguments list for your placeholder. Each placeholder type supports its own arguments, check examples below for more details. + The placeholder type may be omitted and determined from the placeholder name, if the name has one of the following prefixes: + + expr, expression - expression placeholder, e.g. $exprPlaceholder{}$, $expressionFoo{}$ + arg, argument - argument placeholder, e.g. $argPlaceholder{}$, $argumentFoo{}$ + ident, identifier - identifier placeholder, e.g. $identPlaceholder{}$, $identifierFoo{}$ + stmt, statement - statement placeholder, e.g. $stmtPlaceholder{}$, $statementFoo{}$ + type - type placeholder, e.g. $typePlaceholder{}$, $typeFoo{}$ + member - member placeholder, e.g. $memberPlaceholder{}$, $memberFoo{}$ + + + + Expression placeholder arguments: + + expressionType - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myExpr{Expression, 'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + $myExpr{Expression, 'Namespace.FooType'}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type or expressions which can be implicitly converted to 'Namespace.FooType'. + $myExpr{Expression}$ - defines expression placeholder, matching expressions of any type. + $exprFoo{'Namespace.FooType', true}$ - defines expression placeholder, matching expressions of the 'Namespace.FooType' type with exact matching. + + + + Type placeholder arguments: + + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myType{Type, 'Namespace.FooType', true}$ - defines type placeholder, matching 'Namespace.FooType' types with exact matching. + $myType{Type, 'Namespace.FooType'}$ - defines type placeholder, matching 'Namespace.FooType' types or types, which can be implicitly converted to 'Namespace.FooType'. + $myType{Type}$ - defines type placeholder, matching any type. + $typeFoo{'Namespace.FooType', true}$ - defines types placeholder, matching 'Namespace.FooType' types with exact matching. + + + + Identifier placeholder arguments: + + nameRegex - string value in single quotes, specifies regex to use for matching (empty string by default) + nameRegexCaseSensitive - boolean value, specifies if name regex is case sensitive (true by default) + type - string value in single quotes, specifies full type name to match (empty string by default) + exactType - boolean value, specifies if expression should have exact type match (false by default) + + Examples: + + $myIdentifier{Identifier, 'my.*', false, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (ignoring case) starting with 'my' prefix with 'Namespace.FooType' type. + $myIdentifier{Identifier, 'my.*', true, 'Namespace.FooType', true}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix with 'Namespace.FooType' type. + $identFoo{'my.*'}$ - defines identifier placeholder, matching identifiers (case sensitively) starting with 'my' prefix. + + + + Statement placeholder arguments: + + minimalOccurrences - minimal number of statements to match (-1 by default) + maximalOccurrences - maximal number of statements to match (-1 by default) + + Examples: + + $myStmt{Statement, 1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + $myStmt{Statement}$ - defines statement placeholder, matching any number of statements. + $stmtFoo{1, 2}$ - defines statement placeholder, matching 1 or 2 statements. + + + + Argument placeholder arguments: + + minimalOccurrences - minimal number of arguments to match (-1 by default) + maximalOccurrences - maximal number of arguments to match (-1 by default) + + Examples: + + $myArg{Argument, 1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + $myArg{Argument}$ - defines argument placeholder, matching any number of arguments. + $argFoo{1, 2}$ - defines argument placeholder, matching 1 or 2 arguments. + + + + Member placeholder arguments: + + docId - string value in single quotes, specifies XML documentation id of the member to match (empty by default) + + Examples: + + $myMember{Member, 'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + $memberFoo{'M:System.String.IsNullOrEmpty(System.String)'}$ - defines member placeholder, matching 'IsNullOrEmpty' member of the 'System.String' type. + + + + For more information please refer to the Structural Search and Replace article. + + + + + + Structural search pattern to use in the code template. + The pattern includes a textual part, which must contain only identifiers allowed in the target language, + and placeholders, which allow matching variable parts of the target code blocks. + + + + + Message to show when the search pattern was found. + You can also prepend the message text with "Error:", "Warning:", "Suggestion:" or "Hint:" prefix to specify the pattern severity. + Code patterns with replace templates produce suggestions by default. + However, if a replace template is not provided, then warning severity will be used. + + + + + Structural search replace pattern to use in code template replacement. + + + + + The replace message to show in the light bulb. + + + + + Apply code formatting after code replacement. + + + + + Whether similar code blocks should be matched. + + + + + Automatically insert namespace import directives or remove qualifiers that become redundant after the template is applied. + + + + + The string to use as a suppression key. + By default the following suppression key is used 'CodeTemplate_SomeType_SomeMember', + where 'SomeType' and 'SomeMember' are names of the associated containing type and member to which this attribute is applied. + + + + + Indicates that the string literal, passed as an argument matching this parameter, + should not be checked on spelling or grammar errors. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC action. If applied to a method, the MVC action name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC area. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is + an MVC controller. If applied to a method, the MVC controller name is calculated + implicitly from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC Master. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC model type. Use this attribute + for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC + partial view. If applied to a method, the MVC partial view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. + + + + + ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC editor template. + Use this attribute for custom wrappers similar to + System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). + + + + + ASP.NET MVC attribute. Indicates that the marked parameter is an MVC template. + Use this attribute for custom wrappers similar to + System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component. If applied to a method, the MVC view name is calculated implicitly + from the context. Use this attribute for custom wrappers similar to + System.Web.Mvc.Controller.View(Object). + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component name. + + + + + ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter + is an MVC view component view. If applied to a method, the MVC view component view name is default. + + + + + ASP.NET MVC attribute. When applied to a parameter of an attribute, + indicates that this parameter is an MVC action name. + + + [ActionName("Foo")] + public ActionResult Login(string returnUrl) { + ViewBag.ReturnUrl = Url.Action("Foo"); // OK + return RedirectToAction("Bar"); // Error: Cannot resolve action + } + + + + + Indicates that the marked parameter, field, or property is a route template. + + + This attribute allows IDE to recognize the use of web frameworks' route templates + to enable syntax highlighting, code completion, navigation, rename and other features in string literals. + + + + + Indicates that the marked type is custom route parameter constraint, + which is registered in the application's Startup with the name ConstraintName. + + + You can specify ProposedType if target constraint matches only route parameters of specific type, + it will allow IDE to create method's parameter from usage in route template + with specified type instead of default System.String + and check if constraint's proposed type conflicts with matched parameter's type. + + + + + Indicates that the marked parameter, field, or property is an URI string. + + + This attribute enables code completion, navigation, renaming and other features + in URI string literals assigned to annotated parameters, fields, or properties. + + + + + Indicates that the marked method declares routing convention for ASP.NET. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation, and other features over URI strings. + + + + + Indicates that the marked method parameter contains default route values of routing convention for ASP.NET. + + + + + Indicates that the marked method parameter contains constraints on route values of routing convention for ASP.NET. + + + + + Indicates that the marked parameter or property contains routing order provided by ASP.NET routing attribute. + + + + + Indicates that the marked parameter or property contains HTTP verbs provided by ASP.NET routing attribute. + + + + + Indicates that the marked attribute is used for attribute routing in ASP.NET. + + + The IDE will analyze all usages of attributes marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoint. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all routes to completion, navigation and other features over URI strings. + + + + + Indicates that the marked method declares an ASP.NET Minimal API endpoints group. + + + + + Indicates that the marked parameter contains an ASP.NET Minimal API endpoint handler. + + + + + Indicates that the marked method contains Minimal API endpoint declaration. + + + The IDE will analyze all usages of methods marked with this attribute, + and will add all declared in attributes routes to completion, navigation and other features over URI strings. + + + + + Comma-separated list of query parameters defined for endpoint + + + + + Razor attribute. Indicates that the marked parameter or method is a Razor section. + Use this attribute for custom wrappers similar to + System.Web.WebPages.WebPageBase.RenderSection(String). + + + + + XAML attribute. Indicates the type that has an ItemsSource property and should be treated + as an ItemsControl-derived type, to enable inner items DataContext type resolution. + + + + + XAML attribute. Indicates the property of some BindingBase-derived type, that + is used to bind some item of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + The property should have the tree ancestor of the ItemsControl type, or + marked with the attribute. + + + + + XAML attribute. Indicates the property of some Style-derived type that + is used to style items of an ItemsControl-derived type. This annotation will + enable the DataContext type resolve for XAML bindings for such properties. + + + Property should have the tree ancestor of the ItemsControl type or + marked with the attribute. + + + + + XAML attribute. Indicates that DependencyProperty has OneWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + XAML attribute. Indicates that DependencyProperty has TwoWay binding mode by default. + + + This attribute must be applied to DependencyProperty's CLR accessor property if it is present, or to a DependencyProperty descriptor field otherwise. + + + + + Specifies the subject being tested by a test class or a test method. + + + The can be applied to a test class or a test method to indicate what class + or interface the tests defined in them test. This information can be used by an IDE to provide better navigation + support or by test runners to group tests by subject and to provide better test reports. + + + + + Gets the type of the subject being tested. + + + + + Initializes a new instance of the class with the specified subject type. + + The type of the subject being tested. + + + + Signifies a generic argument as the test subject for a test class. + + + The can be applied to a generic parameter of a base test class to indicate that + the type passed as the argument is the class being tested. This information can be used by an IDE to provide better + navigation support or by test runners to group tests by subject and to provide better test reports. + + + public class BaseTestClass<[MeansTestSubject] T> + { + protected T Component { get; } + } + + public class CalculatorAdditionTests : BaseTestClass<Calculator> + { + [Test] + public void Should_add_two_numbers() + { + Assert.That(Component.Add(2, 3), Is.EqualTo(5)); + } + } + + +
+
diff --git a/packages/MSTest.TestAdapter.2.2.10/.signature.p7s b/packages/MSTest.TestAdapter.2.2.10/.signature.p7s new file mode 100644 index 000000000..6add25ea3 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/.signature.p7s differ diff --git a/packages/MSTest.TestAdapter.2.2.10/Icon.png b/packages/MSTest.TestAdapter.2.2.10/Icon.png new file mode 100644 index 000000000..a0f1fdbf4 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/Icon.png differ diff --git a/packages/MSTest.TestAdapter.2.2.10/MSTest.TestAdapter.2.2.10.nupkg b/packages/MSTest.TestAdapter.2.2.10/MSTest.TestAdapter.2.2.10.nupkg new file mode 100644 index 000000000..b2b7e0655 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/MSTest.TestAdapter.2.2.10.nupkg differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..d64dcd2cf Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll new file mode 100644 index 000000000..1b74172f9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll new file mode 100644 index 000000000..58bee839e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..5d343e582 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll new file mode 100644 index 000000000..e0ab0d015 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..9ee9e46ce Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..e8f036c08 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..7258beaf8 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..9a0c1971d Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..e892e8fdf Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..35bbafe09 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ad6d53a08 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..2dd49d057 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..e7a170b82 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..3d3bba34f Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..3070c262c Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..728a95d62 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..899ebc7b0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..9ed2c4b36 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..1f82bee18 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..9c8beef64 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..61235b9e1 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..774e09301 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ba6189426 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..c418b8266 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..1446aa76b Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..9620ba2c8 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..0f8ef0bc2 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..fc885e1cb Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..34af907c1 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..0087b322b Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..d5d98b2f2 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..ea86cf5e6 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..8e8328993 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..6ae78c468 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..51d475e4e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..3086dacd1 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..0424cee53 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..3ca15116a Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..365945a56 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..136bc36d4 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..12b023dce Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..3586eee8f Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..8bb3206da Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..980d948f8 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..1245f7793 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..a699995c3 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ef2c5ddef Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..969e9eb81 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..f1484fdda Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..400b877a9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..2bbfe315a Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..31d9a3769 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..dbd5f74a0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..283ff8eed Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..7670757cc Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..e4521ad42 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..4396c896d Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..ad87e66f4 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..b6c895491 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..ee946fbcb Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..ce0ddca39 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..0c13e3bd9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..ee8dc42c5 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..83d156ada Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..e03922445 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..be05af426 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..a4ee84322 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..3f919a697 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..d58bb752e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..ad4f39464 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..bad0e0e9c Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..fd3dfc899 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..e5db2e2ba Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..6eb9ae9a3 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..99d80b178 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..24cd1c51d Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ced58f387 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll new file mode 100644 index 000000000..ccf66b4e8 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.TestPlatform.CoreUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll new file mode 100644 index 000000000..fa5660415 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll new file mode 100644 index 000000000..e18008585 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll new file mode 100644 index 000000000..581e66506 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll new file mode 100644 index 000000000..64cf996f6 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/MSTest.TestAdapter.props b/packages/MSTest.TestAdapter.2.2.10/build/net45/MSTest.TestAdapter.props new file mode 100644 index 000000000..c923a1eb1 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/net45/MSTest.TestAdapter.props @@ -0,0 +1,33 @@ + + + + + Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll + PreserveNewest + False + + + Microsoft.TestPlatform.AdapterUtilities.dll + PreserveNewest + False + + + + + + + + diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/MSTest.TestAdapter.targets b/packages/MSTest.TestAdapter.2.2.10/build/net45/MSTest.TestAdapter.targets new file mode 100644 index 000000000..1c80426d0 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/net45/MSTest.TestAdapter.targets @@ -0,0 +1,35 @@ + + + + true + + + + + + + + + + + + + + + + + + %(CurrentUICultureHierarchy.Identity) + + + + %(MSTestV2ResourceFiles.CultureString)\%(Filename)%(Extension) + PreserveNewest + False + + + + + \ No newline at end of file diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..e7c234401 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..92acd17a9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ddaa6b11e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..98ac051b5 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..0937ed3ba Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..2e0a3a563 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..8a8968ac5 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..7eae2403e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..739ebb73a Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..554443122 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..71d21f648 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..6fb64208f Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..98d7437e4 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net45/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net45/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..282fe20b0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net45/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/MSTest.TestAdapter.props b/packages/MSTest.TestAdapter.2.2.10/build/net46/MSTest.TestAdapter.props new file mode 100644 index 000000000..aa6baccb4 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/net46/MSTest.TestAdapter.props @@ -0,0 +1,33 @@ + + + + + Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll + PreserveNewest + False + + + Microsoft.TestPlatform.AdapterUtilities.dll + PreserveNewest + False + + + + + + + + diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/MSTest.TestAdapter.targets b/packages/MSTest.TestAdapter.2.2.10/build/net46/MSTest.TestAdapter.targets new file mode 100644 index 000000000..0a181d397 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/net46/MSTest.TestAdapter.targets @@ -0,0 +1,35 @@ + + + + true + + + + + + + + + + + + + + + + + + %(CurrentUICultureHierarchy.Identity) + + + + %(MSTestV2ResourceFiles.CultureString)\%(Filename)%(Extension) + PreserveNewest + False + + + + + \ No newline at end of file diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..e7c234401 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..4155e1c81 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..92acd17a9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ddaa6b11e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..98ac051b5 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..0937ed3ba Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..2e0a3a563 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..8a8968ac5 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..7eae2403e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..739ebb73a Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..554443122 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..71d21f648 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..6fb64208f Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..98d7437e4 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net46/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net46/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..282fe20b0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net46/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/MSTest.TestAdapter.props b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/MSTest.TestAdapter.props new file mode 100644 index 000000000..84df3bbe3 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/MSTest.TestAdapter.props @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/MSTest.TestAdapter.targets b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/MSTest.TestAdapter.targets new file mode 100644 index 000000000..39a71872f --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/MSTest.TestAdapter.targets @@ -0,0 +1,77 @@ + + + + true + + + <__TestAdapterPlatformServicesRoot>$(MSBuildThisFileDirectory)winui/ + + + <__TestAdapterPlatformServicesRoot>$(MSBuildThisFileDirectory) + + + + + Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll + PreserveNewest + False + + + Microsoft.TestPlatform.AdapterUtilities.dll + PreserveNewest + False + + + + + + + + + + + + + + + + + + + + + + + %(CurrentUICultureHierarchy.Identity) + + + + + + + + + $(CurrentUICultureHierarchy)\%(FileName).resources.dll + PreserveNewest + %(FullPath) + False + + + + \ No newline at end of file diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..d64dcd2cf Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..a43f218ae Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..9ee9e46ce Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ad6d53a08 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..899ebc7b0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ba6189426 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..34af907c1 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..51d475e4e Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..12b023dce Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ef2c5ddef Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..dbd5f74a0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..b6c895491 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..e03922445 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..675c186a0 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..bad0e0e9c Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/net5.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ced58f387 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/net5.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/MSTest.TestAdapter.props b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/MSTest.TestAdapter.props new file mode 100644 index 000000000..aa6baccb4 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/MSTest.TestAdapter.props @@ -0,0 +1,33 @@ + + + + + Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll + PreserveNewest + False + + + Microsoft.TestPlatform.AdapterUtilities.dll + PreserveNewest + False + + + + + + + + diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..c8493a64f Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..a43f218ae Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..77cbd9525 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..01457365b Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..bfe512afd Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ba76cc830 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..6c5a41657 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..5aa507488 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..8e6c469ca Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..d83609672 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..b716e8829 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..e83d94e41 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..972882dbf Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..cc777aee9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..c2f2e0c59 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netcoreapp1.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/MSTest.TestAdapter.props b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/MSTest.TestAdapter.props new file mode 100644 index 000000000..aa6baccb4 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/MSTest.TestAdapter.props @@ -0,0 +1,33 @@ + + + + + Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll + PreserveNewest + False + + + Microsoft.TestPlatform.AdapterUtilities.dll + PreserveNewest + False + + + + + + + + diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..c8493a64f Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..a43f218ae Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..77cbd9525 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..01457365b Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..bfe512afd Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..ba76cc830 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..6c5a41657 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..5aa507488 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..8e6c469ca Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..d83609672 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..b716e8829 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..e83d94e41 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..972882dbf Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..cc777aee9 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..c2f2e0c59 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/netstandard1.5/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/MSTest.TestAdapter.props b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/MSTest.TestAdapter.props new file mode 100644 index 000000000..aa6baccb4 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/MSTest.TestAdapter.props @@ -0,0 +1,33 @@ + + + + + Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll + PreserveNewest + False + + + Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll + PreserveNewest + False + + + Microsoft.TestPlatform.AdapterUtilities.dll + PreserveNewest + False + + + + + + + + diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/MSTest.TestAdapter.targets b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/MSTest.TestAdapter.targets new file mode 100644 index 000000000..ce13b4b03 --- /dev/null +++ b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/MSTest.TestAdapter.targets @@ -0,0 +1,42 @@ + + + + true + + + + + + + + + + + + + + + + + + %(CurrentUICultureHierarchy.Identity) + + + + + + + + + $(CurrentUICultureHierarchy)\%(FileName).resources.dll + PreserveNewest + %(FullPath) + False + + + + + \ No newline at end of file diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/Microsoft.TestPlatform.AdapterUtilities.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/Microsoft.TestPlatform.AdapterUtilities.dll new file mode 100644 index 000000000..a39ee735c Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/Microsoft.TestPlatform.AdapterUtilities.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll new file mode 100644 index 000000000..3d72732a2 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..b7aa1258b Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/cs/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..36b2b9bae Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/de/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..b1bb2bff6 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/es/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..07f960f12 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/fr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..47500671d Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/it/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..c6087bc3d Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ja/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..803869743 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ko/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..56ecf082b Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/pl/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..96ce27a39 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/pt-BR/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..625d599b6 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/ru/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..2068aab07 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/tr/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..e45c2a044 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/zh-Hans/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll new file mode 100644 index 000000000..4c21af381 Binary files /dev/null and b/packages/MSTest.TestAdapter.2.2.10/build/uap10.0/zh-Hant/Microsoft.TestPlatform.AdapterUtilities.resources.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/.signature.p7s b/packages/MSTest.TestFramework.2.2.10/.signature.p7s new file mode 100644 index 000000000..32448b4ef Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/.signature.p7s differ diff --git a/packages/MSTest.TestFramework.2.2.10/Icon.png b/packages/MSTest.TestFramework.2.2.10/Icon.png new file mode 100644 index 000000000..a0f1fdbf4 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/Icon.png differ diff --git a/packages/MSTest.TestFramework.2.2.10/MSTest.TestFramework.2.2.10.nupkg b/packages/MSTest.TestFramework.2.2.10/MSTest.TestFramework.2.2.10.nupkg new file mode 100644 index 000000000..f005a7413 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/MSTest.TestFramework.2.2.10.nupkg differ diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/MSTest.TestFramework.targets b/packages/MSTest.TestFramework.2.2.10/build/net5.0/MSTest.TestFramework.targets new file mode 100644 index 000000000..46fbc4c03 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/MSTest.TestFramework.targets @@ -0,0 +1,17 @@ + + + + <_TestFrameworkExtensionsRoot>$(MSBuildThisFileDirectory)winui/ + + + <_TestFrameworkExtensionsRoot>$(MSBuildThisFileDirectory) + + + + + $(_TestFrameworkExtensionsRoot)Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + PreserveNewest + False + + + \ No newline at end of file diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML b/packages/MSTest.TestFramework.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML new file mode 100644 index 000000000..731cb4682 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML @@ -0,0 +1,162 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Used to specify deployment item (file or directory) for per-test deployment. + Can be specified on test class or test method. + Can have multiple instances of the attribute to specify more than one item. + The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Initializes a new instance of the class. + + The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + + + + Initializes a new instance of the class + + The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by will be copied to this directory. + + + + Gets the path of the source file or folder to be copied. + + + + + Gets the path of the directory to which the item is copied. + + + + + Used to store information that is provided to unit tests. + + + + + Gets test properties for a test. + + + + + Gets or sets the cancellation token source. This token source is canceled when test times out. Also when explicitly canceled the test will be aborted + + + + + Gets base directory for the test run, under which deployed files and result files are stored. + + + + + Gets directory for files deployed for the test run. Typically a subdirectory of . + + + + + Gets base directory for results from the test run. Typically a subdirectory of . + + + + + Gets directory for test run result files. Typically a subdirectory of . + + + + + Gets directory for test result files. + + + + + Gets base directory for the test run, under which deployed files and result files are stored. + Same as . Use that property instead. + + + + + Gets directory for files deployed for the test run. Typically a subdirectory of . + Same as . Use that property instead. + + + + + Gets directory for test run result files. Typically a subdirectory of . + Same as . Use that property for test run result files, or + for test-specific result files instead. + + + + + Gets the Fully-qualified name of the class containing the test method currently being executed + + + + + Gets the fully specified type name metadata format. + + + + + Gets the fully specified method name metadata format. + + + + + Gets the name of the test method currently being executed + + + + + Gets the current test outcome. + + + + + Adds a file name to the list in TestResult.ResultFileNames + + + The file Name. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll b/packages/MSTest.TestFramework.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll new file mode 100644 index 000000000..16aeafd53 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/build/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..5b20a571d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Používá se pro určení položky nasazení (souboru nebo adresáře) za účelem nasazení podle testu. + Lze zadat na testovací třídě nebo testovací metodě. + Může mít více instancí atributu pro zadání více než jedné položky. + Cesta k položce může být absolutní nebo relativní. Pokud je relativní, je relativní ve vztahu k RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicializuje novou instanci třídy . + + Soubor nebo adresář, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do adresáře, ve kterém jsou nasazená testovací sestavení. + + + + Inicializuje novou instanci třídy . + + Relativní nebo absolutní cesta k souboru nebo adresáři, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do stejného adresáře jako nasazená testovací sestavení. + Cesta k adresáři, do kterého se mají položky kopírovat. Může být absolutní nebo relativní ve vztahu k adresáři nasazení. Všechny soubory a adresáře určené cestou budou zkopírovány do tohoto adresáře. + + + + Získá cestu ke zdrojovému souboru nebo složce, které se mají kopírovat. + + + + + Získá cestu adresáře, do kterého se položka zkopíruje. + + + + + Třída TestContext. Tato třída by měla být zcela abstraktní a neměla by obsahovat žádné + členy. Členy implementuje adaptér. Uživatelé rozhraní by měli + k této funkci přistupovat jenom prostřednictvím dobře definovaného rozhraní. + + + + + Získá vlastnosti testu. + + + + + Získá plně kvalifikovaný název třídy obsahující aktuálně prováděnou testovací metodu. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Získá název aktuálně prováděné testovací metody. + + + + + Získá aktuální výsledek testu. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..81af0036f --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Wird zum Angeben des Bereitstellungselements (Datei oder Verzeichnis) für eine Bereitstellung pro Test verwendet. + Kann für eine Testklasse oder Testmethode angegeben werden. + Kann mehrere Instanzen des Attributs besitzen, um mehrere Elemente anzugeben. + Der Elementpfad kann absolut oder relativ sein. Wenn er relativ ist, dann relativ zu "RunConfig.RelativePathRoot". + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die bereitzustellende Datei oder das Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + + + + Initialisiert eine neue Instanz der -Klasse. + + Der relative oder absolute Pfad zur bereitzustellenden Datei oder zum Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + Der Pfad des Verzeichnisses, in das die Elemente kopiert werden sollen. Er kann absolut oder relativ zum Bereitstellungsverzeichnis sein. Alle Dateien und Verzeichnisse, die identifiziert werden durch werden in dieses Verzeichnis kopiert. + + + + Ruft den Pfad der Quelldatei oder des -ordners ab, die bzw. der kopiert werden soll. + + + + + Ruft den Pfad des Verzeichnisses ab, in das das Element kopiert werden soll. + + + + + Die TestContext-Klasse. Diese Klasse muss vollständig abstrakt sein und keine + Member enthalten. Der Adapter implementiert die Member. Benutzer im Framework sollten + darauf nur über eine klar definierte Schnittstelle zugreifen. + + + + + Ruft Testeigenschaften für einen Test ab. + + + + + Ruft den vollqualifizierten Namen der Klasse ab, die die Testmethode enthält, die zurzeit ausgeführt wird. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Ruft den Namen der zurzeit ausgeführten Testmethode ab. + + + + + Ruft das aktuelle Testergebnis ab. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..47b3d8ca6 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Se usa para especificar el elemento (archivo o directorio) para la implementación por prueba. + Puede especificarse en la clase de prueba o en el método de prueba. + Puede tener varias instancias del atributo para especificar más de un elemento. + La ruta de acceso del elemento puede ser absoluta o relativa. Si es relativa, lo es respecto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicializa una nueva instancia de la clase . + + Archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + + + + Inicializa una nueva instancia de la clase . + + Ruta de acceso relativa o absoluta al archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + Ruta de acceso del directorio en el que se van a copiar los elementos. Puede ser absoluta o relativa respecto al directorio de implementación. Todos los archivos y directorios que identifica se copiarán en este directorio. + + + + Obtiene la ruta de acceso al archivo o carpeta de origen que se debe copiar. + + + + + Obtiene la ruta de acceso al directorio donde se copia el elemento. + + + + + Clase TestContext. Esta clase debe ser totalmente abstracta y no contener ningún + miembro. El adaptador implementará los miembros. Los usuarios del marco solo deben + tener acceso a esta clase a través de una interfaz bien definida. + + + + + Obtiene las propiedades de una prueba. + + + + + Obtiene el nombre completo de la clase que contiene el método de prueba que se está ejecutando. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtiene el nombre del método de prueba que se está ejecutando. + + + + + Obtiene el resultado de la prueba actual. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..2c1d88abe --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Permet de spécifier l'élément de déploiement (fichier ou répertoire) pour un déploiement par test. + Peut être spécifié sur une classe de test ou une méthode de test. + Peut avoir plusieurs instances de l'attribut pour spécifier plusieurs éléments. + Le chemin de l'élément peut être absolu ou relatif. S'il est relatif, il l'est par rapport à RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Initialise une nouvelle instance de la classe . + + Fichier ou répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + + + + Initialise une nouvelle instance de la classe + + Chemin relatif ou absolu du fichier ou du répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + Chemin du répertoire dans lequel les éléments doivent être copiés. Il peut être absolu ou relatif au répertoire de déploiement. Tous les fichiers et répertoires identifiés par vont être copiés dans ce répertoire. + + + + Obtient le chemin du fichier ou dossier source à copier. + + + + + Obtient le chemin du répertoire dans lequel l'élément est copié. + + + + + Classe TestContext. Cette classe doit être complètement abstraite, et ne doit contenir aucun + membre. L'adaptateur va implémenter les membres. Les utilisateurs du framework ne doivent + y accéder que via une interface bien définie. + + + + + Obtient les propriétés de test d'un test. + + + + + Obtient le nom complet de la classe contenant la méthode de test en cours d'exécution + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtient le nom de la méthode de test en cours d'exécution + + + + + Obtient le résultat de test actuel. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..45a5e139f --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usato per specificare l'elemento di distribuzione (file o directory) per la distribuzione per singolo test. + Può essere specificato in classi o metodi di test. + Può contenere più istanze dell'attributo per specificare più di un elemento. + Il percorso dell'elemento può essere assoluto o relativo; se è relativo, è relativo rispetto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inizializza una nuova istanza della classe . + + File o directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + + + + Inizializza una nuova istanza della classe + + Percorso relativo o assoluto del file o della directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + Percorso della directory in cui vengono copiati gli elementi. Può essere assoluto o relativo rispetto alla directory di distribuzione. Tutte le directory e tutti i file identificati da verranno copiati in questa directory. + + + + Ottiene il percorso della cartella o del file di origine da copiare. + + + + + Ottiene il percorso della directory in cui viene copiato l'elemento. + + + + + Classe TestContext. Questa classe deve essere completamente astratta e non deve + contenere membri. I membri verranno implementati dall'adattatore. Gli utenti del framework devono + accedere a questa classe solo tramite un'interfaccia correttamente definita. + + + + + Ottiene le proprietà di un test. + + + + + Ottiene il nome completo della classe contenente il metodo di test attualmente in esecuzione + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Ottiene il nome del metodo di test attualmente in esecuzione + + + + + Ottiene il risultato del test corrente. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..c863ca9c9 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + テスト配置ごとに配置項目 (ファイルまたはディレクトリ) を指定するために使用されます。 + テスト クラスまたはテスト メソッドで指定できます。 + 属性に複数のインスタンスを指定して、2 つ以上の項目を指定することができます。 + 項目のパスには絶対パスまたは相対パスを指定できます。相対パスの場合は、RunConfig.RelativePathRoot からの相対パスです。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + クラスの新しいインスタンスを初期化します。 + + 配置するファイルまたはディレクトリ。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + + + + クラスの新しいインスタンスを初期化する + + 配置するファイルまたはディレクトリへの相対パスまたは絶対パス。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + アイテムのコピー先のディレクトリのパス。配置ディレクトリへの絶対パスまたは相対パスのいずれかを指定できます。次で識別されるすべてのファイルとディレクトリは このディレクトリにコピーされます。 + + + + コピーするソース ファイルまたはフォルダーのパスを取得します。 + + + + + 項目のコピー先のディレクトリのパスを取得します。 + + + + + TestContext クラス。このクラスは完全に抽象的でなければならず、かつメンバー + を含んでいてはなりません。アダプターはメンバーを実装します。フレームワーク内のユーザーは + 正しく定義されたインターフェイスを介してのみこのクラスにアクセスする必要があります。 + + + + + テストのテスト プロパティを取得します。 + + + + + 現在実行中のテスト メソッドを含むクラスの完全修飾名を取得する + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 現在実行中のテスト メソッドの名前を取得する + + + + + 現在のテスト成果を取得します。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..8099563a1 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 테스트 배포별 배포 항목(파일 또는 디렉터리)을 지정하는 데 사용됩니다. + 테스트 클래스 또는 테스트 메서드에서 지정할 수 있습니다. + 둘 이상의 항목을 지정하기 위한 여러 특성 인스턴스를 가질 수 있습니다. + 항목 경로는 절대 또는 상대 경로일 수 있으며, 상대 경로인 경우 RunConfig.RelativePathRoot가 기준입니다. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리에 대한 상대 또는 절대 경로. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + 항목을 복사할 디렉터리의 경로. 배포 디렉터리에 대한 절대 경로 또는 상대 경로일 수 있습니다.에 의해 식별되는 모든 파일 및 디렉터리는 이 디렉터리에 복사됩니다. + + + + 복사할 소스 파일 또는 폴더의 경로를 가져옵니다. + + + + + 항목을 복사할 디렉터리의 경로를 가져옵니다. + + + + + TestContext 클래스. 이 클래스는 완전히 추상 클래스여야 하며 멤버를 포함할 + 수 없습니다. 어댑터는 멤버를 구현합니다. 프레임워크의 사용자는 + 잘 정의된 인터페이스를 통해서만 여기에 액세스할 수 있습니다. + + + + + 테스트에 대한 테스트 속성을 가져옵니다. + + + + + 현재 실행 중인 테스트 메서드를 포함하는 클래스의 정규화된 이름을 가져옵니다 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 현재 실행 중인 테스트 메서드의 이름을 가져옵니다. + + + + + 현재 테스트 결과를 가져옵니다. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..d507bf258 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Służy do określenia elementu wdrożenia (pliku lub katalogu) dla wdrożenia testowego. + Może być określony w klasie testowej lub metodzie testowej. + Może mieć wiele wystąpień atrybutu w celu określenia więcej niż jednego elementu. + Ścieżka elementu może być bezwzględna lub względna. Jeśli jest względna, jest określana względem elementu RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicjuje nowe wystąpienie klasy . + + Plik lub katalog do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + + + + Inicjuje nowe wystąpienie klasy + + Względna lub bezwzględna ścieżka do pliku lub katalogu do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + Ścieżka katalogu, do którego mają być kopiowane elementy. Może być bezwzględna lub określana względem katalogu wdrażania. Wszystkie pliki i katalogi określone przez zostaną skopiowane do tego katalogu. + + + + Pobiera ścieżkę źródłowego pliku lub folderu do skopiowania. + + + + + Pobiera ścieżkę katalogu, do którego element jest kopiowany. + + + + + Klasa TestContext. Ta klasa powinna być w pełni abstrakcyjna i nie może zawierać żadnych + elementów członkowskich. Adapter zaimplementuje elementy członkowskie. Użytkownicy platformy powinni + uzyskiwać dostęp do tego elementu tylko za pośrednictwem prawidłowo zdefiniowanego interfejsu. + + + + + Pobiera właściwości testu. + + + + + Pobiera w pełni kwalifikowaną nazwę klasy zawierającej aktualnie wykonywaną metodę testową + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Pobiera nazwę aktualnie wykonywanej metody testowej + + + + + Pobiera wynik bieżącego testu. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..7fe8bcaca --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usado para especificar o item de implantação (arquivo ou diretório) para implantação por teste. + Pode ser especificado em classe de teste ou em método de teste. + Pode ter várias instâncias do atributo para especificar mais de um item. + O caminho do item pode ser absoluto ou relativo. Se relativo, é relativo a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicializa uma nova instância da classe . + + O arquivo ou o diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + + + + Inicializa uma nova instância da classe + + O caminho relativo ou absoluto ao arquivo ou ao diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + O caminho do diretório para o qual os itens deverão ser copiados. Ele pode ser absoluto ou relativo ao diretório de implantação. Todos os arquivos e diretórios identificados por serão copiados para esse diretório. + + + + Obtém o caminho da pasta ou do arquivo de origem a ser copiado. + + + + + Obtém o caminho do diretório para o qual o item é copiado. + + + + + Classe TestContext. Essa classe deve ser totalmente abstrata e não conter nenhum + membro. O adaptador implementará os membros. Os usuários na estrutura devem + acessá-la somente por meio de uma interface bem definida. + + + + + Obtém as propriedades de teste para um teste. + + + + + Obtém o Nome totalmente qualificado da classe contendo o método de teste executado no momento + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtém o Nome do método de teste executado no momento + + + + + Obtém o resultado do teste atual. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..f6977067b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Используется для указания элемента развертывания (файл или каталог) для развертывания каждого теста. + Может указываться для тестового класса или метода теста. + Чтобы указать несколько элементов, можно использовать несколько экземпляров атрибута. + Путь к элементу может быть абсолютным или относительным, в последнем случае он указывается по отношению к RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Инициализирует новый экземпляр класса . + + Файл или каталог для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + + + + Инициализирует новый экземпляр класса + + Относительный или абсолютный путь к файлу или каталогу для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + Путь к каталогу, в который должны быть скопированы элементы. Он может быть абсолютным или относительным (по отношению к каталогу развертывания). Все файлы и каталоги, обозначенные при помощи будет скопировано в этот каталог. + + + + Получает путь к копируемым исходному файлу или папке. + + + + + Получает путь к каталогу, в который копируется элемент. + + + + + Класс TestContext. Этот класс должен быть полностью абстрактным и не должен содержать ни одного элемента. + Элементы будут реализованы в адаптере. Пользователи платформы должны обращаться к этому классу + только при помощи четко определенного интерфейса. + + + + + Получает свойства теста. + + + + + Получает полное имя класса, содержащего метод теста, который выполняется в данный момент + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Получает имя метода теста, выполняемого в данный момент + + + + + Получает текущий результат теста. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..cfddb524a --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Test başına dağıtım için dağıtım öğesi (dosya veya dizin) belirtmek üzere kullanılır. + Test sınıfında veya test metodunda belirtilebilir. + Birden fazla öğe belirtmek için özniteliğin birden fazla örneğini içerebilir. + Öğe yolu mutlak veya göreli olabilir; göreli ise RunConfig.RelativePathRoot ile görelidir. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + sınıfının yeni bir örneğini başlatır. + + Dağıtılacak dosya veya dizin. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + + + + sınıfının yeni bir örneğini başlatır + + Dağıtılacak dosya veya dizinin göreli ya da mutlak yolu. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + Öğelerin kopyalanacağı dizinin yolu. Dağıtım dizinine göre mutlak veya göreli olabilir. Tüm dosyalar ve dizinler şuna göre tanımlanır: bu dizine kopyalanacak. + + + + Kopyalanacak kaynak dosya veya klasörün yolunu alır. + + + + + Öğenin kopyalandığı dizinin yolunu alır. + + + + + TestContext sınıfı. Bu sınıf tamamen soyut olmalı ve herhangi bir üye + içermemelidir. Üyeler bağdaştırıcı tarafından uygulanır. Çerçevedeki kullanıcılar + buna yalnızca iyi tanımlanmış bir arabirim üzerinden erişmelidir. + + + + + Bir testin test özelliklerini alır. + + + + + O anda yürütülen test metodunu içeren sınıfın tam adını alır + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Yürütülmekte olan test metodunun Adını alır + + + + + Geçerli test sonucunu alır. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML b/packages/MSTest.TestFramework.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML new file mode 100644 index 000000000..c617b80ba --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML @@ -0,0 +1,206 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Execute test code in UI thread for Windows store apps. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Display Name for the test. + + + + + Gets or sets the that should be used to invoke the UITestMethodAttribute. + If none is provided will check for , if the attribute is defined it will start the App and use its . + will try to use Microsoft.UI.Xaml.Window.Current.DispatcherQueue for the last resort, but that will only work on UWP. + + + + + Executes the test method on the UI Thread. + + + The test method. + + + An array of instances. + + Throws when run on an async test method. + + + + + Specifies derived class to run UI tests on. + + + + + Initializes a new instance of the class. + + + Specifies derived class to run UI tests on. + + + + + Gets the class. + + + + + TestContext class. This class should be fully abstract and not contain any + members. The adapter will implement the members. Users in the framework should + only access this via a well-defined interface. + + + + + Gets test properties for a test. + + + + + Gets or sets the cancellation token source. This token source is cancelled when test times out. Also when explicitly cancelled the test will be aborted + + + + + Gets Fully-qualified name of the class containing the test method currently being executed + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Gets the fully specified type name metadata format. + + + + + Gets the fully specified method name metadata format. + + + + + Gets the Name of the test method currently being executed + + + + + Gets the current test outcome. + + + + + Adds a file name to the list in TestResult.ResultFileNames. + + + The file name. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Used to specify deployment item (file or directory) for per-test deployment. + Can be specified on test class or test method. + Can have multiple instances of the attribute to specify more than one item. + The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensibility point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Initializes a new instance of the class. + + The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + + + + Initializes a new instance of the class + + The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by will be copied to this directory. + + + + Gets the path of the source file or folder to be copied. + + + + + Gets the path of the directory to which the item is copied. + + + + + Provides package information about the application. + + + + + Checks whether the current application is packaged or not. + + Returns true if application is packaged; false otherwise. + + + + + Gets the package path for the calling process. + + The package path when packaged, null if not. + + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll b/packages/MSTest.TestFramework.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll new file mode 100644 index 000000000..6402582dd Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/build/net5.0/winui/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..c839eabef --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用于为预测试部署指定部署项(文件或目录)。 + 可在测试类或测试方法上指定。 + 可使用多个特性实例来指定多个项。 + 项路径可以是绝对路径或相对路径,如果为相对路径,则相对于 RunConfig.RelativePathRoot。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + 初始化 类的新实例。 + + 要部署的文件或目录。路径与生成输出目录相关。将项复制到与已部署测试程序集相同的目录。 + + + + 初始化 类的新实例 + + 要部署的文件或目录的相对路径或绝对路径。该路径相对于生成输出目录。将项复制到与已部署测试程序集相同的目录。 + 要将项复制到其中的目录路径。它可以是绝对部署目录或相对部署目录。所有由以下对象标识的文件和目录: 将复制到此目录。 + + + + 获取要复制的源文件或文件夹的路径。 + + + + + 获取将项复制到其中的目录路径。 + + + + + TestContext 类。此类应完全抽象,且不包含任何 + 成员。适配器将实现成员。框架中的用户应 + 仅通过定义完善的接口对此进行访问。 + + + + + 获取测试的测试属性。 + + + + + 获取包含当前正在执行的测试方法的类的完全限定名称 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 获取当前正在执行的测试方法的名称 + + + + + 获取当前测试结果。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/build/net5.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/build/net5.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..f335cdfc8 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/build/net5.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用來指定每個測試部署的部署項目 (檔案或目錄)。 + 可以指定於測試類別或測試方法。 + 可以有屬性的多個執行個體來指定多個項目。 + 項目路徑可以是相對或絕對路徑,如果是相對路徑,則是 RunConfig.RelativePathRoot 的相對路徑。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + 初始化 類別的新執行個體。 + + 要部署的檔案或目錄。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + + + + 初始化 類別的新執行個體 + + 要部署之檔案或目錄的相對或絕對路徑。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + 要將項目複製到其中之目錄的路徑。它可以是部署目錄的絕對或相對路徑。下者所識別的所有檔案和目錄: 將會複製到這個目錄中。 + + + + 取得要複製之來源檔案或資料夾的路徑。 + + + + + 取得要將項目複製到其中之目錄的路徑。 + + + + + TestContext 類別。這個類別應該是完全抽象的,而且未包含任何 + 成員。配接器將會實作成員。架構中的使用者只 + 應透過妥善定義的介面來存取這個項目。 + + + + + 取得測試的測試屬性。 + + + + + 取得包含目前正在執行之測試方法的類別完整名稱 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 取得目前正在執行的測試方法名稱 + + + + + 取得目前測試結果。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML new file mode 100644 index 000000000..2ca735f6e --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML @@ -0,0 +1,1125 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Used to specify deployment item (file or directory) for per-test deployment. + Can be specified on test class or test method. + Can have multiple instances of the attribute to specify more than one item. + The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Initializes a new instance of the class. + + The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + + + + Initializes a new instance of the class + + The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by will be copied to this directory. + + + + Gets the path of the source file or folder to be copied. + + + + + Gets the path of the directory to which the item is copied. + + + + + Contains literals for names of sections, properties, attributes. + + + + + The configuration section name. + + + + + The configuration section name for Beta2. Left around for compat. + + + + + Section name for Data source. + + + + + Attribute name for 'Name' + + + + + Attribute name for 'ConnectionString' + + + + + Attribute name for 'DataAccessMethod' + + + + + Attribute name for 'DataTable' + + + + + The Data Source element. + + + + + Gets or sets the name of this configuration. + + + + + Gets or sets the ConnectionStringSettings element in <connectionStrings> section in the .config file. + + + + + Gets or sets the name of the data table. + + + + + Gets or sets the type of data access. + + + + + Gets the key name. + + + + + Gets the configuration properties. + + + + + The Data source element collection. + + + + + Initializes a new instance of the class. + + + + + Returns the configuration element with the specified key. + + The key of the element to return. + The System.Configuration.ConfigurationElement with the specified key; otherwise, null. + + + + Gets the configuration element at the specified index location. + + The index location of the System.Configuration.ConfigurationElement to return. + + + + Adds a configuration element to the configuration element collection. + + The System.Configuration.ConfigurationElement to add. + + + + Removes a System.Configuration.ConfigurationElement from the collection. + + The . + + + + Removes a System.Configuration.ConfigurationElement from the collection. + + The key of the System.Configuration.ConfigurationElement to remove. + + + + Removes all configuration element objects from the collection. + + + + + Creates a new . + + A new . + + + + Gets the element key for a specified configuration element. + + The System.Configuration.ConfigurationElement to return the key for. + An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement. + + + + Adds a configuration element to the configuration element collection. + + The System.Configuration.ConfigurationElement to add. + + + + Adds a configuration element to the configuration element collection. + + The index location at which to add the specified System.Configuration.ConfigurationElement. + The System.Configuration.ConfigurationElement to add. + + + + Support for configuration settings for Tests. + + + + + Gets the configuration section for tests. + + + + + The configuration section for tests. + + + + + Gets the data sources for this configuration section. + + + + + Gets the collection of properties. + + + The of properties for the element. + + + + + This class represents the live NON public INTERNAL object in the system + + + + + Initializes a new instance of the class that contains + the already existing object of the private class + + object that serves as starting point to reach the private members + the de-referencing string using . that points to the object to be retrieved as in m_X.m_Y.m_Z + + + + Initializes a new instance of the class that wraps the + specified type. + + Name of the assembly + fully qualified name + Arguments to pass to the constructor + + + + Initializes a new instance of the class that wraps the + specified type. + + Name of the assembly + fully qualified name + An array of objects representing the number, order, and type of the parameters for the constructor to get + Arguments to pass to the constructor + + + + Initializes a new instance of the class that wraps the + specified type. + + type of the object to create + Arguments to pass to the constructor + + + + Initializes a new instance of the class that wraps the + specified type. + + type of the object to create + An array of objects representing the number, order, and type of the parameters for the constructor to get + Arguments to pass to the constructor + + + + Initializes a new instance of the class that wraps + the given object. + + object to wrap + + + + Initializes a new instance of the class that wraps + the given object. + + object to wrap + PrivateType object + + + + Gets or sets the target + + + + + Gets the type of underlying object + + + + + returns the hash code of the target object + + int representing hashcode of the target object + + + + Equals + + Object with whom to compare + returns true if the objects are equal. + + + + Invokes the specified method + + Name of the method + Arguments to pass to the member to invoke. + Result of method call + + + + Invokes the specified method + + Name of the method + An array of objects representing the number, order, and type of the parameters for the method to get. + Arguments to pass to the member to invoke. + Result of method call + + + + Invokes the specified method + + Name of the method + An array of objects representing the number, order, and type of the parameters for the method to get. + Arguments to pass to the member to invoke. + An array of types corresponding to the types of the generic arguments. + Result of method call + + + + Invokes the specified method + + Name of the method + Arguments to pass to the member to invoke. + Culture info + Result of method call + + + + Invokes the specified method + + Name of the method + An array of objects representing the number, order, and type of the parameters for the method to get. + Arguments to pass to the member to invoke. + Culture info + Result of method call + + + + Invokes the specified method + + Name of the method + A bitmask comprised of one or more that specify how the search is conducted. + Arguments to pass to the member to invoke. + Result of method call + + + + Invokes the specified method + + Name of the method + A bitmask comprised of one or more that specify how the search is conducted. + An array of objects representing the number, order, and type of the parameters for the method to get. + Arguments to pass to the member to invoke. + Result of method call + + + + Invokes the specified method + + Name of the method + A bitmask comprised of one or more that specify how the search is conducted. + Arguments to pass to the member to invoke. + Culture info + Result of method call + + + + Invokes the specified method + + Name of the method + A bitmask comprised of one or more that specify how the search is conducted. + An array of objects representing the number, order, and type of the parameters for the method to get. + Arguments to pass to the member to invoke. + Culture info + Result of method call + + + + Invokes the specified method + + Name of the method + A bitmask comprised of one or more that specify how the search is conducted. + An array of objects representing the number, order, and type of the parameters for the method to get. + Arguments to pass to the member to invoke. + Culture info + An array of types corresponding to the types of the generic arguments. + Result of method call + + + + Gets the array element using array of subscripts for each dimension + + Name of the member + the indices of array + An array of elements. + + + + Sets the array element using array of subscripts for each dimension + + Name of the member + Value to set + the indices of array + + + + Gets the array element using array of subscripts for each dimension + + Name of the member + A bitmask comprised of one or more that specify how the search is conducted. + the indices of array + An array of elements. + + + + Sets the array element using array of subscripts for each dimension + + Name of the member + A bitmask comprised of one or more that specify how the search is conducted. + Value to set + the indices of array + + + + Get the field + + Name of the field + The field. + + + + Sets the field + + Name of the field + value to set + + + + Gets the field + + Name of the field + A bitmask comprised of one or more that specify how the search is conducted. + The field. + + + + Sets the field + + Name of the field + A bitmask comprised of one or more that specify how the search is conducted. + value to set + + + + Get the field or property + + Name of the field or property + The field or property. + + + + Sets the field or property + + Name of the field or property + value to set + + + + Gets the field or property + + Name of the field or property + A bitmask comprised of one or more that specify how the search is conducted. + The field or property. + + + + Sets the field or property + + Name of the field or property + A bitmask comprised of one or more that specify how the search is conducted. + value to set + + + + Gets the property + + Name of the property + Arguments to pass to the member to invoke. + The property. + + + + Gets the property + + Name of the property + An array of objects representing the number, order, and type of the parameters for the indexed property. + Arguments to pass to the member to invoke. + The property. + + + + Set the property + + Name of the property + value to set + Arguments to pass to the member to invoke. + + + + Set the property + + Name of the property + An array of objects representing the number, order, and type of the parameters for the indexed property. + value to set + Arguments to pass to the member to invoke. + + + + Gets the property + + Name of the property + A bitmask comprised of one or more that specify how the search is conducted. + Arguments to pass to the member to invoke. + The property. + + + + Gets the property + + Name of the property + A bitmask comprised of one or more that specify how the search is conducted. + An array of objects representing the number, order, and type of the parameters for the indexed property. + Arguments to pass to the member to invoke. + The property. + + + + Sets the property + + Name of the property + A bitmask comprised of one or more that specify how the search is conducted. + value to set + Arguments to pass to the member to invoke. + + + + Sets the property + + Name of the property + A bitmask comprised of one or more that specify how the search is conducted. + value to set + An array of objects representing the number, order, and type of the parameters for the indexed property. + Arguments to pass to the member to invoke. + + + + Validate access string + + access string + + + + Invokes the member + + Name of the member + Additional attributes + Arguments for the invocation + Culture + Result of the invocation + + + + Extracts the most appropriate generic method signature from the current private type. + + The name of the method in which to search the signature cache. + An array of types corresponding to the types of the parameters in which to search. + An array of types corresponding to the types of the generic arguments. + to further filter the method signatures. + Modifiers for parameters. + A method info instance. + + + + This class represents a private class for the Private Accessors functionality. + + + + + Binds to everything + + + + + The wrapped type. + + + + + Initializes a new instance of the class that contains the private type. + + Assembly name + fully qualified name of the + + + + Initializes a new instance of the class that contains + the private type from the type object + + The wrapped Type to create. + + + + Gets the referenced type + + + + + Invokes static member + + Name of the member to InvokeHelper + Arguments to the invocation + Result of invocation + + + + Invokes static member + + Name of the member to InvokeHelper + An array of objects representing the number, order, and type of the parameters for the method to invoke + Arguments to the invocation + Result of invocation + + + + Invokes static member + + Name of the member to InvokeHelper + An array of objects representing the number, order, and type of the parameters for the method to invoke + Arguments to the invocation + An array of types corresponding to the types of the generic arguments. + Result of invocation + + + + Invokes the static method + + Name of the member + Arguments to the invocation + Culture + Result of invocation + + + + Invokes the static method + + Name of the member + An array of objects representing the number, order, and type of the parameters for the method to invoke + Arguments to the invocation + Culture info + Result of invocation + + + + Invokes the static method + + Name of the member + Additional invocation attributes + Arguments to the invocation + Result of invocation + + + + Invokes the static method + + Name of the member + Additional invocation attributes + An array of objects representing the number, order, and type of the parameters for the method to invoke + Arguments to the invocation + Result of invocation + + + + Invokes the static method + + Name of the member + Additional invocation attributes + Arguments to the invocation + Culture + Result of invocation + + + + Invokes the static method + + Name of the member + Additional invocation attributes + /// An array of objects representing the number, order, and type of the parameters for the method to invoke + Arguments to the invocation + Culture + Result of invocation + + + + Invokes the static method + + Name of the member + Additional invocation attributes + /// An array of objects representing the number, order, and type of the parameters for the method to invoke + Arguments to the invocation + Culture + An array of types corresponding to the types of the generic arguments. + Result of invocation + + + + Gets the element in static array + + Name of the array + + A one-dimensional array of 32-bit integers that represent the indexes specifying + the position of the element to get. For instance, to access a[10][11] the indices would be {10,11} + + element at the specified location + + + + Sets the member of the static array + + Name of the array + value to set + + A one-dimensional array of 32-bit integers that represent the indexes specifying + the position of the element to set. For instance, to access a[10][11] the array would be {10,11} + + + + + Gets the element in static array + + Name of the array + Additional InvokeHelper attributes + + A one-dimensional array of 32-bit integers that represent the indexes specifying + the position of the element to get. For instance, to access a[10][11] the array would be {10,11} + + element at the specified location + + + + Sets the member of the static array + + Name of the array + Additional InvokeHelper attributes + value to set + + A one-dimensional array of 32-bit integers that represent the indexes specifying + the position of the element to set. For instance, to access a[10][11] the array would be {10,11} + + + + + Gets the static field + + Name of the field + The static field. + + + + Sets the static field + + Name of the field + Argument to the invocation + + + + Gets the static field using specified InvokeHelper attributes + + Name of the field + Additional invocation attributes + The static field. + + + + Sets the static field using binding attributes + + Name of the field + Additional InvokeHelper attributes + Argument to the invocation + + + + Gets the static field or property + + Name of the field or property + The static field or property. + + + + Sets the static field or property + + Name of the field or property + Value to be set to field or property + + + + Gets the static field or property using specified InvokeHelper attributes + + Name of the field or property + Additional invocation attributes + The static field or property. + + + + Sets the static field or property using binding attributes + + Name of the field or property + Additional invocation attributes + Value to be set to field or property + + + + Gets the static property + + Name of the field or property + Arguments to the invocation + The static property. + + + + Sets the static property + + Name of the property + Value to be set to field or property + Arguments to pass to the member to invoke. + + + + Sets the static property + + Name of the property + Value to be set to field or property + An array of objects representing the number, order, and type of the parameters for the indexed property. + Arguments to pass to the member to invoke. + + + + Gets the static property + + Name of the property + Additional invocation attributes. + Arguments to pass to the member to invoke. + The static property. + + + + Gets the static property + + Name of the property + Additional invocation attributes. + An array of objects representing the number, order, and type of the parameters for the indexed property. + Arguments to pass to the member to invoke. + The static property. + + + + Sets the static property + + Name of the property + Additional invocation attributes. + Value to be set to field or property + Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties. + + + + Sets the static property + + Name of the property + Additional invocation attributes. + Value to be set to field or property + An array of objects representing the number, order, and type of the parameters for the indexed property. + Arguments to pass to the member to invoke. + + + + Invokes the static method + + Name of the member + Additional invocation attributes + Arguments to the invocation + Culture + Result of invocation + + + + Provides method signature discovery for generic methods. + + + + + Compares the method signatures of these two methods. + + Method1 + Method2 + True if they are similar. + + + + Gets the hierarchy depth from the base type of the provided type. + + The type. + The depth. + + + + Finds most derived type with the provided information. + + Candidate matches. + Number of matches. + The most derived method. + + + + Given a set of methods that match the base criteria, select a method based + upon an array of types. This method should return null if no method matches + the criteria. + + Binding specification. + Candidate matches + Types + Parameter modifiers. + Matching method. Null if none matches. + + + + Finds the most specific method in the two methods provided. + + Method 1 + Parameter order for Method 1 + Parameter array type. + Method 2 + Parameter order for Method 2 + >Parameter array type. + Types to search in. + Args. + An int representing the match. + + + + Finds the most specific method in the two methods provided. + + Method 1 + Parameter order for Method 1 + Parameter array type. + Method 2 + Parameter order for Method 2 + >Parameter array type. + Types to search in. + Args. + An int representing the match. + + + + Finds the most specific type in the two provided. + + Type 1 + Type 2 + The defining type + An int representing the match. + + + + Used to store information that is provided to unit tests. + + + + + Gets test properties for a test. + + + + + Gets or sets the cancellation token source. This token source is canceled when test times out. Also when explicitly canceled the test will be aborted + + + + + Gets the current data row when test is used for data driven testing. + + + + + Gets current data connection row when test is used for data driven testing. + + + + + Gets base directory for the test run, under which deployed files and result files are stored. + + + + + Gets directory for files deployed for the test run. Typically a subdirectory of . + + + + + Gets base directory for results from the test run. Typically a subdirectory of . + + + + + Gets directory for test run result files. Typically a subdirectory of . + + + + + Gets directory for test result files. + + + + + Gets base directory for the test run, under which deployed files and result files are stored. + Same as . Use that property instead. + + + + + Gets directory for files deployed for the test run. Typically a subdirectory of . + Same as . Use that property instead. + + + + + Gets directory for test run result files. Typically a subdirectory of . + Same as . Use that property for test run result files, or + for test-specific result files instead. + + + + + Gets the Fully-qualified name of the class containing the test method currently being executed + + + + + Gets the fully specified type name metadata format. + + + + + Gets the fully specified method name metadata format. + + + + + Gets the name of the test method currently being executed + + + + + Gets the current test outcome. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Adds a file name to the list in TestResult.ResultFileNames + + + The file Name. + + + + + Begins a timer with the specified name + + Name of the timer. + + + + Ends a timer with the specified name + + Name of the timer. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll new file mode 100644 index 000000000..b6187a690 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.XML b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.XML new file mode 100644 index 000000000..910f6f624 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.XML @@ -0,0 +1,5318 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + The assembly cleanup attribute. + + + + + The assembly initialize attribute. + + + + + The class cleanup attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets the Inheritance Behavior + + + + + Gets when to run class cleanup methods. + + + + + When to run ClassCleanup during test execution + + + + + Run at end of assembly + + + + + Run at end of class + + + + + Specification for when to run class cleanup methods. + + + + + Default class cleanup execution + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets when to run class cleanup methods. + + + + + The class initialize attribute. + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + Specifies the ClassInitialize Inheritance Behavior + + + + + Gets the Inheritance Behavior + + + + + CSS Iteration URI + + + + + Initializes a new instance of the class for CSS Iteration URI. + + The CSS Iteration URI. + + + + Gets the CSS Iteration URI. + + + + + CSS Project Structure URI + + + + + Initializes a new instance of the class for CSS Project Structure URI. + + The CSS Project Structure URI. + + + + Gets the CSS Project Structure URI. + + + + + Attribute for data driven test where data can be specified in-line. + + + + + Description of the test + + + + + Initializes a new instance of the class to describe a test. + + The description. + + + + Gets the description of a test. + + + + + The presence of this attribute in a test assembly causes MSTest to discover test classes (i.e. classes having + the "TestClass" attribute) and test methods (i.e. methods having the "TestMethod" attribute) which are declared + internal in addition to test classes and test methods which are declared public. When this attribute is not + present in a test assembly the tests in such classes will not be discovered. + + + + + Specification to disable parallelization. + + + + + Enum to specify whether the data is stored as property or in method. + + + + + Data is declared as property. + + + + + Data is declared in method. + + + + + Attribute to define dynamic data for a test method. + + + + + Initializes a new instance of the class. + + + The name of method or property having test data. + + + Specifies whether the data is stored as property or in method. + + + + + Initializes a new instance of the class when the test data is present in a class different + from test method's class. + + + The name of method or property having test data. + + + The declaring type of property or method having data. Useful in cases when declaring type is present in a class different from + test method's class. If null, declaring type defaults to test method's class type. + + + Specifies whether the data is stored as property or in method. + + + + + Gets or sets the name of method used to customize the display name in test results. + + + + + Gets or sets the declaring type used to customize the display name in test results. + + + + + + + + + + + The ignore attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Message specifies reason for ignoring. + + + + + Gets the owner. + + + + + Enumeration for inheritance behavior, that can be used with both the class + and class. + Defines the behavior of the ClassInitialize and ClassCleanup methods of base classes. + The type of the enumeration must match + + + + + None. + + + + + Before each derived class. + + + + + Test Owner + + + + + Initializes a new instance of the class. + + + The owner. + + + + + Gets the owner. + + + + + Specification for parallelization level for a test run. + + + + + The default scope for the parallel run. Although method level gives maximum parallelization, the default is set to + class level to enable maximum number of customers to easily convert their tests to run in parallel. In most cases within + a class tests aren't thread safe. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the number of workers to be used for the parallel run. + + + + + Gets or sets the scope of the parallel run. + + + To enable all classes to run in parallel set this to . + To get the maximum parallelization level set this to . + + + + + Parallel execution mode. + + + + + Each thread of execution will be handed a TestClass worth of tests to execute. + Within the TestClass, the test methods will execute serially. + + + + + Each thread of execution will be handed TestMethods to execute. + + + + + Priority attribute; used to specify the priority of a unit test. + + + + + Initializes a new instance of the class. + + + The priority. + + + + + Gets the priority. + + + + + The test class attribute. + + + + + Gets a test method attribute that enables running this test. + + The test method attribute instance defined on this method. + The to be used to run this test. + Extensions can override this method to customize how all methods in a class are run. + + + + The test cleanup attribute marks methods that are executed after every test marked with a . + + + + + Specifies how to discover ITestDataSource tests. + + + + + Initializes a new instance of the class. + + + Sets which to use when discovering ITestDataSource tests. + + + + + Gets specified discovery option. + + + + + Supported TestDataSource discovery modes + + + + + Discover tests during execution. + This was the default option on version 2.2.3 and before. + + + + + Discover and expand ITestDataSource based tests. + This is the default behavior after version 2.2.3. + + + + + The test initialize attribute. + + + + + The test method attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Display name for the test. + + + + + Gets display name for the test. + + + + + Executes a test method. + + The test method to execute. + An array of TestResult objects that represent the outcome(s) of the test. + Extensions can override this method to customize running a TestMethod. + + + + The test property attribute. + + + + + Initializes a new instance of the class. + + + The name. + + + The value. + + + + + Gets the name. + + + + + Gets the value. + + + + + TestResult object to be returned to adapter. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the display name of the result. Useful when returning multiple results. + If null then Method name is used as DisplayName. + + + + + Gets or sets the outcome of the test execution. + + + + + Gets or sets the exception thrown when test is failed. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the execution id of the result. + + + + + Gets or sets the parent execution id of the result. + + + + + Gets or sets the inner results count of the result. + + + + + Gets or sets the duration of test execution. + + + + + Gets or sets the data row index in data source. Set only for results of individual + run of data row of a data driven test. + + + + + Gets or sets the return value of the test method. (Currently null always). + + + + + Gets or sets the result files attached by the test. + + + + + Enumeration for timeouts, that can be used with the class. + The type of the enumeration must match + + + + + The infinite. + + + + + Timeout attribute; used to specify the timeout of a unit test. + + + + + Initializes a new instance of the class. + + + The timeout in milliseconds. + + + + + Initializes a new instance of the class with a preset timeout + + + The timeout + + + + + Gets the timeout in milliseconds. + + + + + WorkItem attribute; used to specify a work item associated with this test. + + + + + Initializes a new instance of the class for the WorkItem Attribute. + + The Id to a work item. + + + + Gets the Id to a work item associated. + + + + + Test data source for data driven tests. + + + + + Gets the test data from custom test data source. + + + The method info of test method. + + + Test data for calling test method. + + + + + Gets the display name corresponding to test data row for displaying in TestResults. + + + The method info of test method. + + + The test data which is passed to test method. + + + The . + + + + + TestMethod for execution. + + + + + Gets the name of test method. + + + + + Gets the name of test class. + + + + + Gets the return type of test method. + + + + + Gets the arguments with which test method is invoked. + + + + + Gets the parameters of test method. + + + + + Gets the methodInfo for test method. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invokes the test method. + + + Arguments to pass to test method. (E.g. For data driven) + + + Result of test method invocation. + + + This call handles asynchronous test methods as well. + + + + + Get all attributes of the test method. + + + Whether attribute defined in parent class is valid. + + + All attributes. + + + + + Get attribute of specific type. + + System.Attribute type. + + Whether attribute defined in parent class is valid. + + + The attributes of the specified type. + + + + + The helper. + + + + + The check parameter not null. + + + The parameter. + + + The parameter name. + + + The message. + + Throws argument null exception when parameter is null. + + + + The check parameter not null or empty. + + + The parameter. + + + The parameter name. + + + The message. + + Throws ArgumentException when parameter is null. + + + + Enumeration for how we access data rows in data driven testing. + + + + + Rows are returned in sequential order. + + + + + Rows are returned in random order. + + + + + Attribute to define in-line data for a test method. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The data object. + + + + Initializes a new instance of the class which takes in an array of arguments. + + A data object. + More data. + + + + Gets data for calling test method. + + + + + Gets or sets display name in test results for customization. + + + + + + + + + + + The assert inconclusive exception. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + InternalTestFailureException class. Used to indicate internal failure for a test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initializes a new instance of the class. + + The exception message. + The exception. + + + + Initializes a new instance of the class. + + The exception message. + + + + Initializes a new instance of the class. + + + + + Attribute that specifies to expect an exception of the specified type + + + + + Initializes a new instance of the class with the expected type + + Type of the expected exception + + + + Initializes a new instance of the class with + the expected type and the message to include when no exception is thrown by the test. + + Type of the expected exception + + Message to include in the test result if the test fails due to not throwing an exception + + + + + Gets a value indicating the Type of the expected exception + + + + + Gets or sets a value indicating whether to allow types derived from the type of the expected exception to + qualify as expected + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Verifies that the type of the exception thrown by the unit test is expected + + The exception thrown by the unit test + + + + Base class for attributes that specify to expect an exception from a unit test + + + + + Initializes a new instance of the class with a default no-exception message + + + + + Initializes a new instance of the class with a no-exception message + + + Message to include in the test result if the test fails due to not throwing an + exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the default no-exception message + + The ExpectedException attribute type name + The default no-exception message + + + + Determines whether the exception is expected. If the method returns, then it is + understood that the exception was expected. If the method throws an exception, then it + is understood that the exception was not expected, and the thrown exception's message + is included in the test result. The class can be used for + convenience. If is used and the assertion fails, + then the test outcome is set to Inconclusive. + + The exception thrown by the unit test + + + + Rethrow the exception if it is an AssertFailedException or an AssertInconclusiveException + + The exception to rethrow if it is an assertion exception + + + + This class is designed to help user doing unit testing for types which uses generic types. + GenericParameterHelper satisfies some common generic type constraints + such as: + 1. public default constructor + 2. implements common interface: IComparable, IEnumerable + + + + + Initializes a new instance of the class that + satisfies the 'newable' constraint in C# generics. + + + This constructor initializes the Data property to a random value. + + + + + Initializes a new instance of the class that + initializes the Data property to a user-supplied value. + + Any integer value + + + + Gets or sets the Data + + + + + Do the value comparison for two GenericParameterHelper object + + object to do comparison with + true if obj has the same value as 'this' GenericParameterHelper object. + false otherwise. + + + + Returns a hashcode for this object. + + The hash code. + + + + Compares the data of the two objects. + + The object to compare with. + + A signed number indicating the relative values of this instance and value. + + + Thrown when the object passed in is not an instance of . + + + + + Returns an IEnumerator object whose length is derived from + the Data property. + + The IEnumerator object + + + + Returns a GenericParameterHelper object that is equal to + the current object. + + The cloned object. + + + + Enables users to log/write traces from unit tests for diagnostics. + + + + + Handler for LogMessage. + + Message to log. + + + + Event to listen. Raised when unit test writer writes some message. + Mainly to consume by adapter. + + + + + API for test writer to call to Log messages. + + String format with placeholders. + Parameters for placeholders. + + + + TestCategory attribute; used to specify the category of a unit test. + + + + + Initializes a new instance of the class and applies the category to the test. + + + The test Category. + + + + + Gets the test categories that has been applied to the test. + + + + + Base class for the "Category" attribute + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initializes a new instance of the class. + Applies the category to the test. The strings returned by TestCategories + are used with the /category command to filter tests + + + + + Gets the test category that has been applied to the test. + + + + + AssertFailedException class. Used to indicate failure for a test case + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + A collection of helper classes to test various conditions within + unit tests. If the condition being tested is not met, an exception + is thrown. + + + + + Gets the singleton instance of the Assert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null. + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is not equal to . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Throws an AssertFailedException. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Static equals overloads are used for comparing instances of two types for reference + equality. This method should not be used for comparison of two instances for + equality. This object will always throw with Assert.Fail. Please use + Assert.AreEqual and associated overloads in your unit tests. + + Object A + Object B + False, always. + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Replaces null characters ('\0') with "\\0". + + + The string to search. + + + The converted string with null characters replaced by "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Helper function that creates and throws an AssertionFailedException + + + name of the assertion throwing an exception + + + message describing conditions for assertion failure + + + The parameters. + + + + + Checks the parameter for valid conditions + + + The parameter. + + + The assertion Name. + + + parameter name + + + message for the invalid parameter exception + + + The parameters. + + + + + Safely converts an object to a string, handling null values and null characters. + Null values are converted to "(null)". Null characters are converted to "\\0". + + + The object to convert to a string. + + + The converted string. + + + + + The string assert. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert customAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if does not match + . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if matches . + + + + + A collection of helper classes to test various conditions associated + with collections within unit tests. If the condition being tested is not + met, an exception is thrown. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert customAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if is found in + . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if every element in is also found in + . + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Determines whether the first collection is a subset of the second + collection. If either set contains duplicate elements, the number + of occurrences of the element in the subset must be less than or + equal to the number of occurrences in the superset. + + + The collection the test expects to be contained in . + + + The collection the test expects to contain . + + + True if is a subset of + , false otherwise. + + + + + Constructs a dictionary containing the number of occurrences of each + element in the specified collection. + + + The collection to process. + + + The number of null elements in the collection. + + + A dictionary containing the number of occurrences of each element + in the specified collection. + + + + + Finds a mismatched element between the two collections. A mismatched + element is one that appears a different number of times in the + expected collection than it does in the actual collection. The + collections are assumed to be different non-null references with the + same number of elements. The caller is responsible for this level of + verification. If there is no mismatched element, the function returns + false and the out parameters should not be used. + + + The first collection to compare. + + + The second collection to compare. + + + The expected number of occurrences of + or 0 if there is no mismatched + element. + + + The actual number of occurrences of + or 0 if there is no mismatched + element. + + + The mismatched element (may be null) or null if there is no + mismatched element. + + + true if a mismatched element was found; false otherwise. + + + + + compares the objects using object.Equals + + + + + Base class for Framework Exceptions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Access string has invalid syntax.. + + + + + Looks up a localized string similar to The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0}. + + + + + Looks up a localized string similar to Duplicate item found:<{1}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Case is different for actual value:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected any value except:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0}. + + + + + Looks up a localized string similar to {0} must derive from {1}!. + + + + + Looks up a localized string similar to {0} failed. {1}. + + + + + Looks up a localized string similar to async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute.. + + + + + Looks up a localized string similar to UITestMethodAttribute.DispatcherQueue should not be null. To use UITestMethodAttribute within a WinUI Desktop App, remember to set the static UITestMethodAttribute.DispatcherQueue during the test initialization.. + + + + + Looks up a localized string similar to Both collections are empty. {0}. + + + + + Looks up a localized string similar to Both collection contain same elements.. + + + + + Looks up a localized string similar to Both collection references point to the same collection object. {0}. + + + + + Looks up a localized string similar to Both collections contain the same elements. {0}. + + + + + Looks up a localized string similar to {0}({1}). + + + + + Looks up a localized string similar to (null). + + + + + Looks up a localized string similar to (object). + + + + + Looks up a localized string similar to String '{0}' does not contain string '{1}'. {2}.. + + + + + Looks up a localized string similar to {0} ({1}). + + + + + Looks up a localized string similar to Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead.. + + + + + Looks up a localized string similar to Method {0} must match the expected signature: public static {1} {0}({2}).. + + + + + Looks up a localized string similar to Property or method {0} on {1} returns empty IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Property or method {0} on {1} does not return IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Value returned by property or method {0} shouldn't be null.. + + + + + Looks up a localized string similar to The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0}. + + + + + Looks up a localized string similar to Element at index {0} do not match.. + + + + + Looks up a localized string similar to Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0}. + + + + + Looks up a localized string similar to Element at index {1} is (null). Expected type:<{2}>.{0}. + + + + + Looks up a localized string similar to String '{0}' does not end with string '{1}'. {2}.. + + + + + Looks up a localized string similar to Invalid argument- EqualsTester can't use nulls.. + + + + + Looks up a localized string similar to Cannot convert object of type {0} to {1}.. + + + + + Looks up a localized string similar to The internal object referenced is no longer valid.. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. {1}.. + + + + + Looks up a localized string similar to The property {0} has type {1}; expected type {2}.. + + + + + Looks up a localized string similar to {0} Expected type:<{1}>. Actual type:<{2}>.. + + + + + Looks up a localized string similar to String '{0}' does not match pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to Wrong Type:<{1}>. Actual type:<{2}>. {0}. + + + + + Looks up a localized string similar to String '{0}' matches pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute.. + + + + + Looks up a localized string similar to No exception thrown. {1} exception was expected. {0}. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. The value cannot be null. {1}.. + + + + + Looks up a localized string similar to Different number of elements.. + + + + + Looks up a localized string similar to + The constructor with the specified signature could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to + The member specified ({0}) could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to String '{0}' does not start with string '{1}'. {2}.. + + + + + Looks up a localized string similar to The expected exception type must be System.Exception or a type derived from System.Exception.. + + + + + Looks up a localized string similar to (Failed to get the message for an exception of type {0} due to an exception.). + + + + + Looks up a localized string similar to Test method did not throw expected exception {0}. {1}. + + + + + Looks up a localized string similar to Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method.. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Threw exception {2}, but exception {1} was expected. {0} + Exception Message: {3} + Stack Trace: {4}. + + + + + unit test outcomes + + + + + Test was executed, but there were issues. + Issues may involve exceptions or failed assertions. + + + + + Test has completed, but we can't say if it passed or failed. + May be used for aborted tests. + + + + + Test was executed without any issues. + + + + + Test is currently executing. + + + + + There was a system error while we were trying to execute a test. + + + + + The test timed out. + + + + + Test was aborted by the user. + + + + + Test is in an unknown state + + + + + Test cannot be executed. + + + + + Provides helper functionality for the unit test framework + + + + + Gets the exception messages, including the messages for all inner exceptions + recursively + + Exception to get messages for + string with error message information + + + + Specifies connection string, table name and row access method for data driven testing. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + The default provider name for DataSource. + + + + + The default data access method. + + + + + Initializes a new instance of the class. This instance will be initialized with a data provider, connection string, data table and data access method to access the data source. + + Invariant data provider name, such as System.Data.SqlClient + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + Specifies the order to access data. + + + + Initializes a new instance of the class.This instance will be initialized with a connection string and table name. + Specify connection string and data table to access OLEDB data source. + + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + + + + Initializes a new instance of the class. This instance will be initialized with a data provider and connection string associated with the setting name. + + The name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Gets a value representing the data provider of the data source. + + + The data provider name. If a data provider was not designated at object initialization, the default provider of System.Data.OleDb will be returned. + + + + + Gets a value representing the connection string for the data source. + + + + + Gets a value indicating the table name providing data. + + + + + Gets the method used to access the data source. + + + + One of the values. If the is not initialized, this will return the default value . + + + + + Gets the name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + Specifies that null is disallowed as an input even if the corresponding type allows it. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter may be null. + + + + Gets the return value condition. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that the output will be non-null if the named parameter is non-null. + + + Initializes the attribute with the associated parameter name. + + The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. + + + + Gets the associated parameter name. + + + Applied to a method that will never return under any circumstance. + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + Initializes the attribute with the specified parameter value. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values. + + + Initializes the attribute with a field or property member. + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the list of field and property members. + + The list of field and property members that are promised to be not-null. + + + + Gets field or property member names. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. + + + Initializes the attribute with the specified return value condition and a field or property member. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the specified return value condition and list of field and property members. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The list of field and property members that are promised to be not-null. + + + + Gets the return value condition. + + + Gets field or property member names. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll new file mode 100644 index 000000000..e0ab0d015 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..055948f35 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Používá se pro určení položky nasazení (souboru nebo adresáře) za účelem nasazení podle testu. + Lze zadat na testovací třídě nebo testovací metodě. + Může mít více instancí atributu pro zadání více než jedné položky. + Cesta k položce může být absolutní nebo relativní. Pokud je relativní, je relativní ve vztahu k RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Inicializuje novou instanci třídy . + + Soubor nebo adresář, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do adresáře, ve kterém jsou nasazená testovací sestavení. + + + + Inicializuje novou instanci třídy . + + Relativní nebo absolutní cesta k souboru nebo adresáři, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do stejného adresáře jako nasazená testovací sestavení. + Cesta k adresáři, do kterého se mají položky kopírovat. Může být absolutní nebo relativní ve vztahu k adresáři nasazení. Všechny soubory a adresáře určené cestou budou zkopírovány do tohoto adresáře. + + + + Získá cestu ke zdrojovému souboru nebo složce, které se mají kopírovat. + + + + + Získá cestu adresáře, do kterého se položka zkopíruje. + + + + + Obsahuje literály názvů oddílů, vlastností a atributů. + + + + + Název oddílu konfigurace + + + + + Název části konfigurace pro Beta2. Zůstává kvůli kompatibilitě. + + + + + Název části pro zdroj dat + + + + + Název atributu pro Name + + + + + Název atributu pro ConnectionString + + + + + Název atributu pro DataAccessMethod + + + + + Název atributu pro DataTable + + + + + Element zdroje dat + + + + + Získá nebo nastaví název této konfigurace. + + + + + Získá nebo nastaví element ConnectionStringSettings v části <connectionStrings> v souboru .config. + + + + + Získá nebo nastaví název tabulky dat. + + + + + Získá nebo nastaví typ přístupu k datům. + + + + + Získá název klíče. + + + + + Získá vlastnosti konfigurace. + + + + + Kolekce elementů zdroje dat + + + + + Inicializuje novou instanci třídy . + + + + + Vrátí element konfigurace se zadaným klíčem. + + Klíč elementu, který se má vrátit + System.Configuration.ConfigurationElement se zadaným klíčem, jinak null. + + + + Získá element konfigurace v zadaném umístění indexu. + + Umístění indexu elementu System.Configuration.ConfigurationElement, který se má vrátit. + + + + Přidá element konfigurace ke kolekci elementů konfigurace. + + System.Configuration.ConfigurationElement, který se má přidat + + + + Odebere System.Configuration.ConfigurationElement z kolekce. + + . + + + + Odebere System.Configuration.ConfigurationElement z kolekce. + + Klíč elementu System.Configuration.ConfigurationElement, který se má odebrat + + + + Odebere všechny objekty elementů konfigurace z kolekce. + + + + + Vytvoří nový . + + Nový . + + + + Získá klíč elementu pro zadaný element konfigurace. + + System.Configuration.ConfigurationElement, pro který se má vrátit klíč + System.Object, který funguje jako klíč pro zadaný element System.Configuration.ConfigurationElement + + + + Přidá element konfigurace ke kolekci elementů konfigurace. + + System.Configuration.ConfigurationElement, který se má přidat + + + + Přidá element konfigurace ke kolekci elementů konfigurace. + + Umístění indexu, kde se má přidat zadaný element System.Configuration.ConfigurationElement + System.Configuration.ConfigurationElement, který se má přidat + + + + Podpora nastavení konfigurace testů + + + + + Získá oddíl konfigurace pro testy. + + + + + Oddíl konfigurace pro testy + + + + + Získá zdroje dat pro tento oddíl konfigurace. + + + + + Získá kolekci vlastností. + + + Třídu vlastností pro element + + + + + Tato třída představuje živý, NEVEŘEJNÝ, INTERNÍ objekt v systému. + + + + + Inicializuje novou instanci třídy , která obsahuje + už existující objekt privátní třídy. + + objektů, které slouží jako počáteční bod k dosažení privátních členů + řetězec zrušení reference využívající . a odkazující na objekt, který se má načíst, jako například v m_X.m_Y.m_Z + + + + Inicializuje novou instanci třídy , která zabaluje + zadaný typ. + + Název sestavení + plně kvalifikovaný název + Argumenty, které se mají předat konstruktoru + + + + Inicializuje novou instanci třídy , která zabaluje + zadaný typ. + + Název sestavení + plně kvalifikovaný název + Pole objektů představujících počet, pořadí a typ parametrů, které má načíst konstruktor + Argumenty, které se mají předat konstruktoru + + + + Inicializuje novou instanci třídy , která zabaluje + zadaný typ. + + typ objektu, který chcete vytvořit + Argumenty, které se mají předat konstruktoru + + + + Inicializuje novou instanci třídy , která zabaluje + zadaný typ. + + typ objektu, který chcete vytvořit + Pole objektů představujících počet, pořadí a typ parametrů, které má načíst konstruktor + Argumenty, které se mají předat konstruktoru + + + + Inicializuje novou instanci třídy , která zabaluje + daný objekt. + + Objekt, který chcete zabalit + + + + Inicializuje novou instanci třídy , která zabaluje + daný objekt. + + Objekt, který chcete zabalit + Objekt PrivateType + + + + Získá nebo nastaví cíl. + + + + + Získá typ základního objektu. + + + + + Vrátí hodnotu hash cílového objektu. + + celé číslo představující hodnotu hash cílového objektu + + + + Rovná se + + Objekt, se kterým chcete porovnat + pokud se objekty rovnají, vrátí true. + + + + Vyvolá zadanou metodu. + + Název metody + Argumenty pro vyvolání, které se mají předat členu + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda načíst. + Argumenty pro vyvolání, které se mají předat členu + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda načíst. + Argumenty pro vyvolání, které se mají předat členu + Pole typů odpovídající typům obecných argumentů + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Argumenty pro vyvolání, které se mají předat členu + Informace o jazykové verzi + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda načíst. + Argumenty pro vyvolání, které se mají předat členu + Informace o jazykové verzi + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Argumenty pro vyvolání, které se mají předat členu + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda načíst. + Argumenty pro vyvolání, které se mají předat členu + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Argumenty pro vyvolání, které se mají předat členu + Informace o jazykové verzi + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda načíst. + Argumenty pro vyvolání, které se mají předat členu + Informace o jazykové verzi + Výsledek volání metody + + + + Vyvolá zadanou metodu. + + Název metody + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda načíst. + Argumenty pro vyvolání, které se mají předat členu + Informace o jazykové verzi + Pole typů odpovídající typům obecných argumentů + Výsledek volání metody + + + + Získá prvek pole pomocí pole dolních indexů pro jednotlivé rozměry. + + Název člena + indexy pole + Pole prvků + + + + Nastaví prvek pole pomocí pole dolních indexů pro jednotlivé rozměry. + + Název člena + Hodnota, která se má nastavit + indexy pole + + + + Získá prvek pole pomocí pole dolních indexů pro jednotlivé rozměry. + + Název člena + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + indexy pole + Pole prvků + + + + Nastaví prvek pole pomocí pole dolních indexů pro jednotlivé rozměry. + + Název člena + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Hodnota, která se má nastavit + indexy pole + + + + Získá pole. + + Název pole + Pole + + + + Nastaví pole. + + Název pole + nastavovací hodnota + + + + Získá pole. + + Název pole + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Pole + + + + Nastaví pole. + + Název pole + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + nastavovací hodnota + + + + Načte pole nebo vlastnost. + + Název pole nebo vlastnosti + Pole nebo vlastnost + + + + Nastaví pole nebo vlastnost. + + Název pole nebo vlastnosti + nastavovací hodnota + + + + Získá pole nebo vlastnost. + + Název pole nebo vlastnosti + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Pole nebo vlastnost + + + + Nastaví pole nebo vlastnost. + + Název pole nebo vlastnosti + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + nastavovací hodnota + + + + Získá vlastnost. + + Název vlastnosti + Argumenty pro vyvolání, které se mají předat členu + Vlastnost + + + + Získá vlastnost. + + Název vlastnosti + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + Argumenty pro vyvolání, které se mají předat členu + Vlastnost + + + + Nastaví vlastnost. + + Název vlastnosti + nastavovací hodnota + Argumenty pro vyvolání, které se mají předat členu + + + + Nastaví vlastnost. + + Název vlastnosti + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + nastavovací hodnota + Argumenty pro vyvolání, které se mají předat členu + + + + Získá vlastnost. + + Název vlastnosti + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Argumenty pro vyvolání, které se mají předat členu + Vlastnost + + + + Získá vlastnost. + + Název vlastnosti + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + Argumenty pro vyvolání, které se mají předat členu + Vlastnost + + + + Nastaví vlastnost. + + Název vlastnosti + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + nastavovací hodnota + Argumenty pro vyvolání, které se mají předat členu + + + + Nastaví vlastnost. + + Název vlastnosti + Bitová maska sestávající z jednoho nebo několika určující způsob vyhledávání. + nastavovací hodnota + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + Argumenty pro vyvolání, které se mají předat členu + + + + Ověří přístupový řetězec. + + přístupový řetězec + + + + Vyvolá člen. + + Název člena + Další atributy + Argumenty vyvolání + Jazyková verze + Výsledek vyvolání + + + + Vybere z aktuálního privátního typu nejvhodnější signaturu obecné metody. + + Název metody, ve které chcete prohledat mezipaměť podpisu + Pole typů odpovídající typům parametrů, ve kterých se má hledat. + Pole typů odpovídající typům obecných argumentů + pro další filtrování podpisů metody. + Modifikátory parametrů + Instance methodinfo + + + + Tato třída představuje privátní třídu pro funkci privátního přístupového objektu. + + + + + Váže se na vše. + + + + + Zabalený typ + + + + + Inicializuje novou instanci třídy , která obsahuje privátní typ. + + Název sestavení + plně kvalifikovaný název + + + + Inicializuje novou instanci třídy , která obsahuje + privátní typ z objektu typu. + + Zabalený typ, který se má vytvořit + + + + Získá odkazovaný typ. + + + + + Vyvolá statický člen. + + Název členu InvokeHelper + Argumenty vyvolání + Výsledek vyvolání + + + + Vyvolá statický člen. + + Název členu InvokeHelper + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda vyvolat + Argumenty vyvolání + Výsledek vyvolání + + + + Vyvolá statický člen. + + Název členu InvokeHelper + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda vyvolat + Argumenty vyvolání + Pole typů odpovídající typům obecných argumentů + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název člena + Argumenty k vyvolání + Jazyková verze + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název člena + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda vyvolat + Argumenty k vyvolání + Informace o jazykové verzi + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název člena + Další atributy vyvolání + Argumenty k vyvolání + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název člena + Další atributy vyvolání + Pole objektů představujících počet, pořadí a typ parametrů, které má metoda vyvolat + Argumenty k vyvolání + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název členu + Další atributy vyvolání + Argumenty k vyvolání + Jazyková verze + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název členu + Další atributy vyvolání + /// Pole objektů představujících počet, pořadí a typ parametrů, které má metoda vyvolat + Argumenty k vyvolání + Jazyková verze + Výsledek vyvolání + + + + Vyvolá statickou metodu. + + Název členu + Další atributy vyvolání + /// Pole objektů představujících počet, pořadí a typ parametrů, které má metoda vyvolat + Argumenty k vyvolání + Jazyková verze + Pole typů odpovídající typům obecných argumentů + Výsledek vyvolání + + + + Získá prvek ve statickém poli. + + Název pole + + Jednorozměrné pole 32bitových celých čísel představujících indexy, které určují + pozici elementu, který se má získat. Pokud chcete získat přístup například k a[10][11], budou indexy {10,11}. + + prvek v zadaném umístění + + + + Nastaví člen statického pole. + + Název pole + nastavovací hodnota + + Jednorozměrné pole 32bitových celých čísel představujících indexy, které určují + pozici elementu, který se má nastavit. Pokud chcete například získat přístup k a[10][11], bude toto pole {10,11}. + + + + + Získá prvek ve statickém poli. + + Název pole + Další atributy InvokeHelper + + Jednorozměrné pole 32bitových celých čísel představujících indexy, které určují + pozici elementu, který se má získat. Pokud chcete například získat přístup k a[10][11], bude toto pole {10,11}. + + prvek v zadaném umístění + + + + Nastaví člen statického pole. + + Název pole + Další atributy InvokeHelper + nastavovací hodnota + + Jednorozměrné pole 32bitových celých čísel představujících indexy, které určují + pozici elementu, který se má nastavit. Pokud chcete například získat přístup k a[10][11], bude toto pole {10,11}. + + + + + Získá statické pole. + + Název pole + Statické pole + + + + Nastaví statické pole. + + Název pole + Argument k vyvolání + + + + Získá statické pole pomocí zadaných atributů InvokeHelper. + + Název pole + Další atributy vyvolání + Statické pole + + + + Nastaví statické pole pomocí atributů vazby. + + Název pole + Další atributy InvokeHelper + Argument k vyvolání + + + + Získá statické pole nebo vlastnost. + + Název pole nebo vlastnosti + Statické pole nebo vlastnost + + + + Nastaví statické pole nebo vlastnost. + + Název pole nebo vlastnosti + Hodnota, která se má nastavit pro pole nebo vlastnost + + + + Získá statické pole nebo vlastnost pomocí zadaných atributů InvokeHelper. + + Název pole nebo vlastnosti + Další atributy vyvolání + Statické pole nebo vlastnost + + + + Nastaví statické pole nebo vlastnost pomocí atributů vazby. + + Název pole nebo vlastnosti + Další atributy vyvolání + Hodnota, která se má nastavit pro pole nebo vlastnost + + + + Získá statistickou vlastnost. + + Název pole nebo vlastnosti + Argumenty k vyvolání + Statická vlastnost + + + + Nastaví statickou vlastnost. + + Název vlastnosti + Hodnota, která se má nastavit pro pole nebo vlastnost + Argumenty pro vyvolání, které se mají předat členu + + + + Nastaví statickou vlastnost. + + Název vlastnosti + Hodnota, která se má nastavit pro pole nebo vlastnost + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + Argumenty pro vyvolání, které se mají předat členu + + + + Získá statistickou vlastnost. + + Název vlastnosti + Další atributy vyvolání + Argumenty pro vyvolání, které se mají předat členu + Statická vlastnost + + + + Získá statistickou vlastnost. + + Název vlastnosti + Další atributy vyvolání + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + Argumenty pro vyvolání, které se mají předat členu + Statická vlastnost + + + + Nastaví statickou vlastnost. + + Název vlastnosti + Další atributy vyvolání + Hodnota, která se má nastavit pro pole nebo vlastnost + Volitelné hodnoty indexu pro indexované vlastnosti. Indexy indexovaných vlastností se počítají od nuly. Tato hodnota by měla pro neindexované vlastnosti být Null. + + + + Nastaví statickou vlastnost. + + Název vlastnosti + Další atributy vyvolání + Hodnota, která se má nastavit pro pole nebo vlastnost + Pole objektů představujících počet, pořadí a typ parametrů indexované vlastnosti. + Argumenty pro vyvolání, které se mají předat členu + + + + Vyvolá statickou metodu. + + Název členu + Další atributy vyvolání + Argumenty k vyvolání + Jazyková verze + Výsledek vyvolání + + + + Poskytuje zjišťování podpisu metody pro obecné metody. + + + + + Porovnává signatury těchto dvou metod. + + Method1 + Method2 + True, pokud je mezi nimi podobnost + + + + Získá hloubku hierarchie od základního typu poskytnutého typu. + + Typ + Hloubka + + + + Najde nejvíce odvozený typ s poskytnutými informacemi. + + Možné shody + Počet shod + Nejvíce odvozená metoda + + + + S ohledem na sadu metod, které splňují základní kritéria, vybere pro pole typů + metodu. Pokud kritériím nevyhovuje žádná metoda, měla by tato metoda + vrátit null. + + Specifikace vazby + Možné shody + Typy + Modifikátory parametrů + Metoda porovnávání. Null, pokud se nic neshoduje + + + + Najde v daných dvou poskytnutých metodách nejkonkrétnější metodu. + + Metoda 1 + Pořadí parametrů pro Metodu 1 + Typ pole parametrů + Metoda 2 + Pořadí parametrů pro Metodu 2 + >Typ pole parametrů + Typy, ve kterých se má hledat + Argumenty + Číslo typu int, které představuje shodu + + + + Najde v daných dvou poskytnutých metodách nejkonkrétnější metodu. + + Metoda 1 + Pořadí parametrů pro Metodu 1 + Typ pole parametrů + Metoda 2 + Pořadí parametrů pro Metodu 2 + >Typ pole parametrů + Typy, ve kterých se má hledat + Argumenty + Číslo typu int, které představuje shodu + + + + Najde ze dvou poskytnutých typů ten nejkonkrétnější. + + Typ 1 + Typ 2 + Definující typ + Číslo typu int, které představuje shodu + + + + Používá se pro ukládání informací poskytovaných testy jednotek. + + + + + Získá vlastnosti testu. + + + + + Získá aktuální řádek dat, když se test použije k testování řízenému daty. + + + + + Získá aktuální řádek připojení k datům, když se test použije k testování řízenému daty. + + + + + Získá základní adresář pro testovací běh, do kterého se ukládají nasazené soubory a soubory s výsledky. + + + + + Získá adresář pro soubory nasazené pro testovací běh. Obvykle se jedná o podadresář adresáře . + + + + + Získá základní adresář pro výsledky z testovacího běhu. Obvykle se jedná o podadresář adresáře . + + + + + Získá adresář pro soubory výsledků testovacího běhu. Obvykle se jedná o podadresář adresáře . + + + + + Získá adresář pro soubory s výsledky testu. + + + + + Získá základní adresář pro testovací běh, do kterého se ukládají nasazené soubory a soubory výsledků. + Shodné s . Použijte místo toho tuto vlastnost. + + + + + Získá adresář pro soubory nasazené pro testovací běh. Obvykle se jedná o podadresář adresáře . + Shodné s . Použijte místo toho tuto vlastnost. + + + + + Získá adresář pro soubory výsledků testovacího běhu. Obvykle se jedná o podadresář adresáře . + Shodné s . Pro soubory výsledků testovacího běhu použijte tuto vlastnost, + pro soubory výsledků konkrétního testu pak . + + + + + Získá plně kvalifikovaný název třídy, která obsahuje aktuálně prováděnou metodu testu. + + + + + Získá název aktuálně prováděné metody testu. + + + + + Získá aktuální výsledek testu. + + + + + Používá se pro zápis trasovacích zpráv během testu. + + řetězec formátované zprávy + + + + Používá se pro zápis trasovacích zpráv během testu. + + Řetězec formátu + argumenty + + + + Přidá do seznamu v TestResult.ResultFileNames název souboru. + + + Název souboru + + + + + Spustí zadaným způsobem časovač. + + Název časovače + + + + Ukončí zadaným způsobem časovač. + + Název časovače + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..3f446b4e8 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4197 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atribut TestMethod pro provádění + + + + + Získá název testovací metody. + + + + + Získá název třídy testu. + + + + + Získá návratový typ testovací metody. + + + + + Získá parametry testovací metody. + + + + + Získá methodInfo pro testovací metodu. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Vyvolá testovací metodu. + + + Argumenty pro testovací metodu (např. pro testování řízené daty) + + + Výsledek vyvolání testovací metody + + + This call handles asynchronous test methods as well. + + + + + Získá všechny atributy testovací metody. + + + Jestli je platný atribut definovaný v nadřazené třídě + + + Všechny atributy + + + + + Získá atribut konkrétního typu. + + System.Attribute type. + + Jestli je platný atribut definovaný v nadřazené třídě + + + Atributy zadaného typu + + + + + Pomocná služba + + + + + Kontrolní parametr není null. + + + Parametr + + + Název parametru + + + Zpráva + + Throws argument null exception when parameter is null. + + + + Ověřovací parametr není null nebo prázdný. + + + Parametr + + + Název parametru + + + Zpráva + + Throws ArgumentException when parameter is null. + + + + Výčet způsobů přístupu k datovým řádkům při testování řízeném daty + + + + + Řádky se vrací v sekvenčním pořadí. + + + + + Řádky se vrátí v náhodném pořadí. + + + + + Atribut pro definování vložených dat pro testovací metodu + + + + + Inicializuje novou instanci třídy . + + Datový objekt + + + + Inicializuje novou instanci třídy , která přijímá pole argumentů. + + Datový objekt + Další data + + + + Získá data pro volání testovací metody. + + + + + Získá nebo nastaví zobrazovaný název ve výsledcích testu pro přizpůsobení. + + + + + Výjimka s neprůkazným kontrolním výrazem + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Třída InternalTestFailureException. Používá se pro označení interní chyby testovacího případu. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + + + + Inicializuje novou instanci třídy . + + + + + Atribut, podle kterého se má očekávat výjimka zadaného typu + + + + + Inicializuje novou instanci třídy s očekávaným typem. + + Typ očekávané výjimky + + + + Inicializuje novou instanci třídy + s očekávaným typem a zprávou, která se zahrne v případě, že test nevyvolá žádnou výjimku. + + Typ očekávané výjimky + + Zpráva, která má být zahrnuta do výsledku testu, pokud se test nezdaří z důvodu nevyvolání výjimky + + + + + Načte hodnotu, která označuje typ očekávané výjimky. + + + + + Získá nebo načte hodnotu, která označuje, jestli je možné typy odvozené od typu očekávané výjimky + považovat za očekávané. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Ověří, jestli se očekává typ výjimky vyvolané testem jednotek. + + Výjimka vyvolaná testem jednotek + + + + Základní třída pro atributy, které určují, že se má očekávat výjimka testu jednotek + + + + + Inicializuje novou instanci třídy s výchozí zprávou no-exception. + + + + + Inicializuje novou instanci třídy se zprávou no-exception. + + + Zprávy, které mají být zahrnuty ve výsledku testu, pokud se test nezdaří z důvodu nevyvolání + výjimky + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá výchozí zprávu no-exception. + + Název typu atributu ExpectedException + Výchozí zpráva neobsahující výjimku + + + + Určuje, jestli se daná výjimka očekává. Pokud metoda skončí, rozumí se tomu tak, + že se výjimka očekávala. Pokud metoda vyvolá výjimku, rozumí se tím, + že se výjimka neočekávala a součástí výsledku testu + je zpráva vyvolané výjimky. Pomocí třídy je možné si usnadnit + práci. Pokud se použije a kontrolní výraz selže, + výsledek testu se nastaví na Neprůkazný. + + Výjimka vyvolaná testem jednotek + + + + Znovu vyvolá výjimku, pokud se jedná o atribut AssertFailedException nebo AssertInconclusiveException. + + Výjimka, která se má znovu vyvolat, pokud se jedná výjimku kontrolního výrazu + + + + Tato třída je koncipovaná tak, aby uživatelům pomáhala při testování jednotek typů, které využívá obecné typy. + Atribut GenericParameterHelper řeší některá běžná omezení obecných typů, + jako jsou: + 1. veřejný výchozí konstruktor + 2. implementace společného rozhraní: IComparable, IEnumerable + + + + + Inicializuje novou instanci třídy , která + splňuje omezení newable v obecných typech jazyka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializuje novou instanci třídy , která + inicializuje vlastnost Data na hodnotu zadanou uživatelem. + + Libovolné celé číslo + + + + Získá nebo nastaví data. + + + + + Provede porovnání hodnot pro dva objekty GenericParameterHelper. + + objekt, se kterým chcete porovnávat + pravda, pokud má objekt stejnou hodnotu jako „tento“ objekt GenericParameterHelper. + V opačném případě nepravda. + + + + Vrátí pro tento objekt hodnotu hash. + + Kód hash + + + + Porovná data daných dvou objektů . + + Objekt pro porovnání + + Číslo se znaménkem označující relativní hodnoty této instance a hodnoty + + + Thrown when the object passed in is not an instance of . + + + + + Vrátí objekt IEnumerator, jehož délka je odvozená od + vlastnosti dat. + + Objekt IEnumerator + + + + Vrátí objekt GenericParameterHelper, který se rovná + aktuálnímu objektu. + + Klonovaný objekt + + + + Umožňuje uživatelům protokolovat/zapisovat trasování z testů jednotek pro účely diagnostiky. + + + + + Obslužná rutina pro LogMessage + + Zpráva, kterou chcete zaprotokolovat + + + + Událost pro naslouchání. Dojde k ní, když autor testů jednotek napíše zprávu. + Určeno především pro použití adaptérem. + + + + + Rozhraní API pro volání zpráv protokolu zapisovačem testu + + Formátovací řetězec se zástupnými symboly + Parametry pro zástupné symboly + + + + Atribut TestCategory, používá se pro zadání kategorie testu jednotek. + + + + + Inicializuje novou instanci třídy a zavede pro daný test kategorii. + + + Kategorie testu + + + + + Získá kategorie testu, které se nastavily pro test. + + + + + Základní třída atributu Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializuje novou instanci třídy . + Tuto kategorii zavede pro daný test. Řetězce vrácené z TestCategories + se použijí spolu s příkazem /category k filtrování testů. + + + + + Získá kategorii testu, která se nastavila pro test. + + + + + Třída AssertFailedException. Používá se pro značení chyby testovacího případu. + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Kolekce pomocných tříd pro testování nejrůznějších podmínek v rámci + testů jednotek. Pokud se testovaná podmínka nesplní, vyvolá se + výjimka. + + + + + Získá instanci typu singleton funkce Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is false. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is true. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null. + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Vyvolá výjimku AssertFailedException. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Statická přetížení operátoru rovnosti se používají k porovnání rovnosti odkazů na instance + dvou typů. Tato metoda by se neměla používat k porovnání rovnosti dvou + instancí. Tento objekt vždy vyvolá Assert.Fail. Ve svých testech + jednotek prosím použijte Assert.AreEqual a přidružená přetížení. + + Objekt A + Objekt B + Vždy nepravda. + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Nahradí znaky null ('\0') řetězcem "\\0". + + + Řetězec, který se má hledat + + + Převedený řetězec se znaky Null nahrazený řetězcem "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Pomocná funkce, která vytváří a vyvolává výjimku AssertionFailedException + + + název kontrolního výrazu, který vyvolává výjimku + + + zpráva popisující podmínky neplatnosti kontrolního výrazu + + + Parametry + + + + + Ověří parametr pro platné podmínky. + + + Parametr + + + Název kontrolního výrazu + + + název parametru + + + zpráva pro neplatnou výjimku parametru + + + Parametry + + + + + Bezpečně převede objekt na řetězec, včetně zpracování hodnot null a znaků null. + Hodnoty null se převádějí na formát (null). Znaky null se převádějí na \\0. + + + Objekt, který chcete převést na řetězec + + + Převedený řetězec + + + + + Kontrolní výraz řetězce + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not end with + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if matches . + + + + + Kolekce tříd pomocných služeb pro ověřování nejrůznějších podmínek vztahujících se + na kolekce v rámci testů jednotek. Pokud se testovaná podmínka + nesplní, vyvolá se výjimka. + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is found in + . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a null element is found in . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Určuje, jestli první kolekce je podmnožinou druhé + kolekce. Pokud některá z množin obsahuje duplicitní prvky, musí počet + výskytů prvku v podmnožině být menší, nebo + se musí rovnat počtu výskytů v nadmnožině. + + + Kolekce, která podle testu má být obsažena v nadmnožině . + + + Kolekce, která podle testu má obsahovat . + + + Pravda, pokud je podmnožinou + , jinak nepravda. + + + + + Vytvoří slovník obsahující počet výskytů jednotlivých + prvků v zadané kolekci. + + + Kolekce, kterou chcete zpracovat + + + Počet prvků Null v kolekci + + + Slovník obsahující počet výskytů jednotlivých prvků + v zadané kolekci. + + + + + Najde mezi dvěma kolekcemi neshodný prvek. Neshodný + prvek je takový, který má v očekávané kolekci + odlišný počet výskytů ve srovnání se skutečnou kolekcí. Kolekce + se považují za rozdílné reference bez hodnoty null se + stejným počtem prvků. Za tuto úroveň ověření odpovídá + volající. Pokud neexistuje žádný neshodný prvek, funkce vrátí + false a neměli byste použít parametry Out. + + + První kolekce, která se má porovnat + + + Druhá kolekce k porovnání + + + Očekávaný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Skutečný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Neshodný prvek (může být Null) nebo Null, pokud neexistuje žádný + neshodný prvek. + + + pravda, pokud je nalezen nevyhovující prvek; v opačném případě nepravda. + + + + + Porovná objekt pomocí atributu object.Equals. + + + + + Základní třída pro výjimky architektury + + + + + Inicializuje novou instanci třídy . + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Třída prostředků se silnými typy pro vyhledávání lokalizovaných řetězců atd. + + + + + Vrátí v mezipaměti uloženou instanci ResourceManager použitou touto třídou. + + + + + Přepíše vlastnost CurrentUICulture aktuálního vlákna pro všechna + vyhledávání prostředků pomocí této třídy prostředků silného typu. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Přístupový řetězec má neplatnou syntaxi. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekávaná kolekce obsahuje počet výskytů {1} <{2}>. Skutečná kolekce obsahuje tento počet výskytů: {3}. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Našla se duplicitní položka:<{1}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekáváno:<{1}>. Případ je rozdílný pro skutečnou hodnotu:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekává rozdíl maximálně <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekáváno:<{1} ({2})>. Skutečnost:<{3} ({4})>. {0}. + + + + + Vyhledá řetězec podobný řetězci Očekáváno:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekával rozdíl větší než <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávala se libovolná hodnota s výjimkou:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevkládejte hodnotu typů do AreSame(). Hodnoty převedené na typ Object nebudou nikdy stejné. Zvažte možnost použít AreEqual(). {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Chyba {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: async TestMethod s atributem UITestMethodAttribute se nepodporují. Buď odeberte async, nebo použijte TestMethodAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce jsou prázdné. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejný prvek. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě reference kolekce odkazují na stejný objekt kolekce. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejné prvky. {0}. + + + + + Vyhledá řetězec podobný řetězci {0}({1}). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (null). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (objekt). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} neobsahuje řetězec {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} ({1}). + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Atribut Assert.Equals by se neměl používat pro kontrolní výrazy. Použijte spíše Assert.AreEqual a přetížení. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Počet prvků v kolekci se neshoduje. Očekáváno:<{1}>. Skutečnost:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {0} se neshoduje. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Prvek indexu {1} je neočekávaného typu. Očekávaný typ:<{2}>. Skutečný typ:<{3}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {1} je (null). Očekávaný typ:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nekončí řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Neplatný argument: EqualsTester nemůže použít hodnoty null. + + + + + Vyhledá řetězec podobný řetězci Nejde převést objekt typu {0} na {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Interní odkazovaný objekt už není platný. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Parametr {0} je neplatný. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Vlastnost {0} má typ {1}; očekávaný typ {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} Očekávaný typ:<{1}>. Skutečný typ:<{2}>. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se neshoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Nesprávný typ:<{1}>. Skutečný typ:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se shoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nezadal se žádný atribut DataRowAttribute. K atributu DataTestMethodAttribute se vyžaduje aspoň jeden atribut DataRowAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevyvolala se žádná výjimka. Očekávala se výjimka {1}. {0}. + + + + + Vyhledá lokalizované řetězce podobné tomuto: Parametr {0} je neplatný. Hodnota nemůže být null. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Rozdílný počet prvků. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Konstruktor se zadaným podpisem se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru objektu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Zadaný člen ({0}) se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru atributu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nezačíná řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávaný typ výjimky musí být System.Exception nebo typ odvozený od System.Exception. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (Z důvodu výjimky se nepodařilo získat zprávu pro výjimku typu {0}.). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Testovací metoda nevyvolala očekávanou výjimku {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda nevyvolala výjimku. Atribut {0} definovaný testovací metodou očekával výjimku. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, ale očekávala se výjimka {1}. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, očekávala se ale odvozená výjimka {1} nebo typ. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Vyvolala se výjimka {2}, ale očekávala se výjimka {1}. {0} + Zpráva o výjimce: {3} + Trasování zásobníku: {4} + + + + + Výsledky testu jednotek + + + + + Test se provedl, ale došlo k problémům. + Problémy se můžou týkat výjimek nebo neúspěšných kontrolních výrazů. + + + + + Test se dokončil, ale není možné zjistit, jestli byl úspěšný, nebo ne. + Dá se použít pro zrušené testy. + + + + + Test se provedl zcela bez problémů. + + + + + V tuto chvíli probíhá test. + + + + + Při provádění testu došlo k chybě systému. + + + + + Časový limit testu vypršel. + + + + + Test byl zrušen uživatelem. + + + + + Test je v neznámém stavu. + + + + + Poskytuje pomocnou funkci pro systém pro testy jednotek. + + + + + Rekurzivně získá zprávy o výjimce, včetně zpráv pro všechny vnitřní + výjimky. + + Výjimka pro načítání zpráv pro + řetězec s informacemi v chybové zprávě + + + + Výčet pro časové limity, který se dá použít spolu s třídou . + Typ výčtu musí odpovídat + + + + + Nekonečno + + + + + Atribut třídy testu + + + + + Získá atribut testovací metody, který umožní spustit tento test. + + Instance atributu testovací metody definované v této metodě. + Typ Použije se ke spuštění tohoto testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atribut testovací metody + + + + + Spustí testovací metodu. + + Testovací metoda, která se má spustit. + Pole objektů TestResult, které představuje výsledek (nebo výsledky) daného testu. + Extensions can override this method to customize running a TestMethod. + + + + Atribut inicializace testu + + + + + Atribut vyčištění testu + + + + + Atribut ignore + + + + + Atribut vlastnosti testu + + + + + Inicializuje novou instanci třídy . + + + Název + + + Hodnota + + + + + Získá název. + + + + + Získá hodnotu. + + + + + Atribut inicializace třídy + + + + + Atribut vyčištění třídy + + + + + Atribut inicializace sestavení + + + + + Atribut vyčištění sestavení + + + + + Vlastník testu + + + + + Inicializuje novou instanci třídy . + + + Vlastník + + + + + Získá vlastníka. + + + + + Atribut priority, používá se pro určení priority testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Priorita + + + + + Získá prioritu. + + + + + Popis testu + + + + + Inicializuje novou instanci třídy , která popíše test. + + Popis + + + + Získá popis testu. + + + + + Identifikátor URI struktury projektů CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI struktury projektů CSS. + + Identifikátor URI struktury projektů CSS + + + + Získá identifikátor URI struktury projektů CSS. + + + + + Identifikátor URI iterace CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI iterace CSS. + + Identifikátor URI iterace CSS + + + + Získá identifikátor URI iterace CSS. + + + + + Atribut WorkItem, používá se pro zadání pracovní položky přidružené k tomuto testu. + + + + + Inicializuje novou instanci třídy pro atribut WorkItem. + + ID pro pracovní položku + + + + Získá ID k přidružené pracovní položce. + + + + + Atribut časového limitu, používá se pro zadání časového limitu testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Časový limit + + + + + Inicializuje novou instanci třídy s předem nastaveným časovým limitem. + + + Časový limit + + + + + Získá časový limit. + + + + + Objekt TestResult, který se má vrátit adaptéru + + + + + Inicializuje novou instanci třídy . + + + + + Získá nebo nastaví zobrazovaný název výsledku. Vhodné pro vrácení většího počtu výsledků. + Pokud je null, jako DisplayName se použije název metody. + + + + + Získá nebo nastaví výsledek provedení testu. + + + + + Získá nebo nastaví výjimku vyvolanou při chybě testu. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo načte trasování ladění testovacího kódu. + + + + + Gets or sets the debug traces by test code. + + + + + Získá nebo nastaví délku trvání testu. + + + + + Získá nebo nastaví index řádku dat ve zdroji dat. Nastavte pouze pro výsledky jednoho + spuštění řádku dat v testu řízeném daty. + + + + + Získá nebo nastaví návratovou hodnotu testovací metody. (Aktuálně vždy null) + + + + + Získá nebo nastaví soubory s výsledky, které připojil test. + + + + + Určuje připojovací řetězec, název tabulky a metodu přístupu řádku pro testování řízené daty. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Název výchozího poskytovatele pro DataSource + + + + + Výchozí metoda pro přístup k datům + + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat, připojovacím řetězcem, tabulkou dat a přístupovou metodou k datům, pomocí kterých se získá přístup ke zdroji dat. + + Název poskytovatele neutrálních dat, jako je System.Data.SqlClient + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + Určuje pořadí přístupu k datům. + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s připojovacím řetězcem a názvem tabulky. + Zadejte připojovací řetězec a tabulku dat, pomocí kterých se získá přístup ke zdroji dat OLEDB. + + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat a připojovacím řetězcem přidruženým k názvu nastavení. + + Název zdroje dat nalezený v oddílu <microsoft.visualstudio.qualitytools> souboru app.config. + + + + Získá hodnotu představující poskytovatele dat zdroje dat. + + + Název poskytovatele dat. Pokud poskytovatel dat nebyl při inicializaci objektu zadán, bude vrácen výchozí poskytovatel System.Data.OleDb. + + + + + Získá hodnotu představující připojovací řetězec zdroje dat. + + + + + Získá hodnotu označující název tabulky poskytující data. + + + + + Získá metodu používanou pro přístup ke zdroji dat. + + + + Jedna z těchto položek: . Pokud není inicializován, vrátí výchozí hodnotu . + + + + + Získá název zdroje dat nalezeného v části <microsoft.visualstudio.qualitytools> v souboru app.config. + + + + + Atribut testu řízeného daty, kde se data dají zadat jako vložená. + + + + + Vyhledá všechny datové řádky a spustí je. + + + Testovací metoda + + + Pole . + + + + + Spustí testovací metodu řízenou daty. + + Testovací metoda, kterou chcete provést. + Datový řádek + Výsledek provedení + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..6dc91e9f6 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Wird zum Angeben des Bereitstellungselements (Datei oder Verzeichnis) für eine Bereitstellung pro Test verwendet. + Kann für eine Testklasse oder Testmethode angegeben werden. + Kann mehrere Instanzen des Attributs besitzen, um mehrere Elemente anzugeben. + Der Elementpfad kann absolut oder relativ sein. Wenn er relativ ist, dann relativ zu "RunConfig.RelativePathRoot". + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die bereitzustellende Datei oder das Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + + + + Initialisiert eine neue Instanz der -Klasse. + + Der relative oder absolute Pfad zur bereitzustellenden Datei oder zum Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + Der Pfad des Verzeichnisses, in das die Elemente kopiert werden sollen. Er kann absolut oder relativ zum Bereitstellungsverzeichnis sein. Alle Dateien und Verzeichnisse, die identifiziert werden durch werden in dieses Verzeichnis kopiert. + + + + Ruft den Pfad der Quelldatei oder des -ordners ab, die bzw. der kopiert werden soll. + + + + + Ruft den Pfad des Verzeichnisses ab, in das das Element kopiert werden soll. + + + + + Enthält Literale für Namen von Abschnitten, Eigenschaften, Attributen. + + + + + Der Konfigurationsabschnittsname. + + + + + Der Konfigurationsbereichsname für Beta2. Belassen für Kompatibilität. + + + + + Abschnittsname für die Datenquelle. + + + + + Attributname für "Name" + + + + + Attributname für "ConnectionString" + + + + + Attributname für "DataAccessMethod" + + + + + Attributname für "DataTable" + + + + + Das Datenquellelement. + + + + + Ruft das Arrayelement mit einem Array von tiefgestellten Indizes für diese Konfiguration ab. + + + + + Ruft das Element "ConnectionStringSettings" im Abschnitt <connectionStrings> in der Konfigurationsdatei ab oder legt es fest. + + + + + Ruft den Namen der Datentabelle ab oder legt ihn fest. + + + + + Ruft den Datenzugriffstyp ab oder legt ihn fest. + + + + + Ruft den Schlüsselnamen ab. + + + + + Ruft die Konfigurationseigenschaften ab. + + + + + Die Sammlung der Datenquellenelemente. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Gibt das Konfigurationselement mit dem angegebenen Schlüssel zurück. + + Der Schlüssel des Elements, das zurückgegeben werden soll. + Das System.Configuration.ConfigurationElement mit dem angegebenen Schlüssel, andernfalls NULL. + + + + Ruft das Konfigurationselement am angegebenen Indexspeicherort ab. + + Der Indexspeicherort des System.Configuration.ConfigurationElement, das zurückgegeben werden soll. + + + + Fügt der Konfigurationselementsammlung ein Konfigurationselement hinzu. + + Das System.Configuration.ConfigurationElement, das hinzugefügt werden soll. + + + + Entfernt ein System.Configuration.ConfigurationElement aus der Sammlung. + + Das . + + + + Entfernt ein System.Configuration.ConfigurationElement aus der Sammlung. + + Der Schlüssel des zu entfernenden System.Configuration.ConfigurationElement. + + + + Entfernt alle Konfigurationselementobjekte aus der Sammlung. + + + + + Erstellt ein neues. + + Eine neues . + + + + Ruft den Elementschlüssel für ein angegebenes Konfigurationselement ab. + + Das System.Configuration.ConfigurationElement, für das der Schlüssel zurückgegeben werden soll. + Ein System.Object, das als Schlüssel für das angegebene System.Configuration.ConfigurationElement fungiert. + + + + Fügt der Konfigurationselementsammlung ein Konfigurationselement hinzu. + + Das System.Configuration.ConfigurationElement, das hinzugefügt werden soll. + + + + Fügt der Konfigurationselementsammlung ein Konfigurationselement hinzu. + + Die Stelle im Index, an der das angegebene System.Configuration.ConfigurationElement hinzugefügt werden soll. + Das System.Configuration.ConfigurationElement, das hinzugefügt werden soll. + + + + Unterstützung für Konfigurationseinstellungen für Tests. + + + + + Ruft den Konfigurationsabschnitt für Tests ab. + + + + + Der Konfigurationsabschnitt für Tests. + + + + + Ruft die Datenquellen für diesen Konfigurationsbereich ab. + + + + + Ruft die Sammlung von Eigenschaften ab. + + + Der mit Eigenschaften für das Element. + + + + + Diese Klasse stellt das NICHT öffentliche INTERNE Objekt im System dar. + + + + + Initialisiert eine neue Instanz der -Klasse, die + das bereits vorhandene Objekt der privaten Klasse enthält + + Objekt, das als Ausgangspunkt zum Erreichen der privaten Member dient + Die dereferenzierende Zeichenfolge mit ., die auf das abzurufende Objekt zeigt (wie in m_X.m_Y.m_Z). + + + + Initialisiert eine neue Instanz der-Klasse, die den + angegebenen Typ umschließt. + + Name der Assembly + Vollqualifizierter Name + Argumente, die an den Konstruktor übergeben werden sollen. + + + + Initialisiert eine neue Instanz der-Klasse, die den + angegebenen Typ umschließt. + + Name der Assembly + Vollqualifizierter Name + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für den abzurufenden Konstruktor darstellt. + Argumente, die an den Konstruktor übergeben werden sollen. + + + + Initialisiert eine neue Instanz der-Klasse, die den + angegebenen Typ umschließt. + + Typ des zu erstellenden Objekts + Argumente, die an den Konstruktor übergeben werden sollen. + + + + Initialisiert eine neue Instanz der-Klasse, die den + angegebenen Typ umschließt. + + Typ des zu erstellenden Objekts + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für den abzurufenden Konstruktor darstellt. + Argumente, die an den Konstruktor übergeben werden sollen. + + + + Initialisiert eine neue Instanz der-Klasse, die das + angegebene Objekt umschließt. + + Das zu umschließende Objekt. + + + + Initialisiert eine neue Instanz der-Klasse, die das + angegebene Objekt umschließt. + + Das zu umschließende Objekt. + PrivateType-Objekt + + + + Ruf das Ziel ab bzw. legt dieses fest. + + + + + Ruft den Typ des zugrunde liegenden Objekts ab + + + + + Gibt den Hashcode des Zielobjekts zurück. + + int-Wert, der den Hashcode des Zielobjekts darstellt. + + + + Ist gleich + + Objekt, mit dem verglichen werden soll + gibt "true" zurück, wenn die Objekte gleich sind. + + + + Ruft die angegebene Methode auf. + + Name der Methode + An den aufzurufenden Member zu übergebende Argumente. + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die abzurufende Methode darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die abzurufende Methode darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Ein Array von Typen, das den Typen der generischen Argumente entspricht. + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + An den aufzurufenden Member zu übergebende Argumente. + Kulturinformation + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die abzurufende Methode darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Kulturinformation + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + An den aufzurufenden Member zu übergebende Argumente. + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die abzurufende Methode darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + An den aufzurufenden Member zu übergebende Argumente. + Kulturinformation + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Name der Methode + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die abzurufende Methode darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Kulturinformation + Ergebnis des Methodenaufrufs + + + + Ruft die angegebene Methode auf. + + Der Name der Methode. + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die abzurufende Methode darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Kulturinformation + Ein Array von Typen, das den Typen der generischen Argumente entspricht. + Ergebnis des Methodenaufrufs + + + + Ruft das Arrayelement mit einem Array von tiefgestellten Indizes für jede Dimension ab. + + Name des Members + Indizes des Arrays + Ein Array von Elementen. + + + + Legt das Arrayelement mit einem Array von tiefgestellten Indizes für jede Dimension fest. + + Name des Members + Der festzulegende Wert + Indizes des Arrays + + + + Ruft das Arrayelement mit einem Array von tiefgestellten Indizes für jede Dimension ab. + + Name des Members + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Indizes des Arrays + Ein Array von Elementen. + + + + Legt das Arrayelement mit einem Array von tiefgestellten Indizes für jede Dimension fest. + + Name des Members + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Der festzulegende Wert + Indizes des Arrays + + + + Ruft das Feld ab. + + Name des Felds + Das Feld. + + + + Legt das Feld fest. + + Name des Felds + Der festzulegende Wert + + + + Ruft das Feld ab. + + Name des Felds + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Das Feld. + + + + Legt das Feld fest. + + Name des Felds + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Der festzulegende Wert + + + + Ruft das Feld oder die Eigenschaft ab. + + Der Name des Felds oder der Eigenschaft. + Das Feld oder die Eigenschaft. + + + + Legt das Feld oder die Eigenschaft fest. + + Der Name des Felds oder der Eigenschaft. + Der festzulegende Wert + + + + Ruft das Feld oder die Eigenschaft ab. + + Der Name des Felds oder der Eigenschaft. + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Das Feld oder die Eigenschaft. + + + + Legt das Feld oder die Eigenschaft fest. + + Der Name des Felds oder der Eigenschaft. + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Der festzulegende Wert + + + + Ruft die Eigenschaft ab. + + Der Name der Eigenschaft. + An den aufzurufenden Member zu übergebende Argumente. + Die Eigenschaft. + + + + Ruft die Eigenschaft ab. + + Der Name der Eigenschaft. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Die Eigenschaft. + + + + Legt die Eigenschaft fest. + + Der Name der Eigenschaft. + Der festzulegende Wert + An den aufzurufenden Member zu übergebende Argumente. + + + + Legt die Eigenschaft fest. + + Der Name der Eigenschaft. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + Der festzulegende Wert + An den aufzurufenden Member zu übergebende Argumente. + + + + Ruft die Eigenschaft ab. + + Name der Eigenschaft + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + An den aufzurufenden Member zu übergebende Argumente. + Die Eigenschaft. + + + + Ruft die Eigenschaft ab. + + Name der Eigenschaft + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Die Eigenschaft. + + + + Legt die Eigenschaft fest. + + Der Name der Eigenschaft. + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Der festzulegende Wert + An den aufzurufenden Member zu übergebende Argumente. + + + + Legt die Eigenschaft fest. + + Der Name der Eigenschaft. + Eine Bitmaske aus mindestens einem die angeben, wie die Suche ausgeführt wird. + Der festzulegende Wert + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + An den aufzurufenden Member zu übergebende Argumente. + + + + Überprüft die Zugriffszeichenfolge. + + Zugriffszeichenfolge + + + + Ruft den Member auf. + + Name des Members + Zusätzliche Attribute + Argumente für den Aufruf + Kultur + Ergebnis des Aufrufs + + + + Extrahiert die am besten geeignete generische Methodensignatur aus dem aktuellen privaten Typ. + + Der Name der Methode, in der der Signaturcache gesucht werden soll. + Ein Array von Typen, das den Typen der Parameter entspricht, in denen gesucht werden soll. + Ein Array von Typen, das den Typen der generischen Argumente entspricht. + zum weiteren Filtern der Methodensignaturen. + Modifizierer für Parameter. + Eine methodinfo-Instanz. + + + + Diese Klasse stellt eine private Klasse für die private Accessorfunktion dar. + + + + + Bindet an alles. + + + + + Der umschlossene Typ. + + + + + Initialisiert eine neue Instanz der -Klasse, die den privaten Typ enthält. + + Assemblyname + Der vollqualifizierte Name von + + + + Initialisiert eine neue Instanz der -Klasse, die + den privaten Typ aus dem Typobjekt enthält. + + Der umschlossene Typ, der erstellt werden soll. + + + + Ruft den referenzierten Typ ab. + + + + + Ruft den statischen Member auf. + + Der Name des Members, für den InvokeHelper aufgerufen werden soll. + Argumente für den Aufruf + Ergebnis des Aufrufs + + + + Ruft den statischen Member auf. + + Der Name des Members, für den InvokeHelper aufgerufen werden soll. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die aufzurufende Methode darstellt. + Argumente für den Aufruf + Ergebnis des Aufrufs + + + + Ruft den statischen Member auf. + + Der Name des Members, für den InvokeHelper aufgerufen werden soll. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die aufzurufende Methode darstellt. + Argumente für den Aufruf + Ein Array von Typen, das den Typen der generischen Argumente entspricht. + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Name des Members + Argumente für den Aufruf + Kultur + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Name des Members + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die aufzurufende Methode darstellt. + Argumente für den Aufruf + Kulturinformation + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Name des Members + Zusätzliche Aufrufattribute + Argumente für den Aufruf + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Name des Members + Zusätzliche Aufrufattribute + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die aufzurufende Methode darstellt. + Argumente für den Aufruf + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Der Name des Members. + Zusätzliche Aufrufattribute + Argumente für den Aufruf + Kultur + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Der Name des Members. + Zusätzliche Aufrufattribute + /// Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die aufzurufende Methode darstellt. + Argumente für den Aufruf + Kultur + Ergebnis des Aufrufs + + + + Ruft die statische Methode auf. + + Der Name des Members. + Zusätzliche Aufrufattribute + /// Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die aufzurufende Methode darstellt. + Argumente für den Aufruf + Kultur + Ein Array von Typen, das den Typen der generischen Argumente entspricht. + Ergebnis des Aufrufs + + + + Ruft das Element im statischen Array ab. + + Name des Arrays + + Ein eindimensionales Array aus ganzzahligen 32-Bit-Werten, die die Indizes darstellen, welche + die Position des abzurufenden Elements angeben. Um z. B. auf "a[10][11]" zuzugreifen, würden die Indizes {10,11} lauten. + + Element an der angegebenen Position + + + + Legt den Member des statischen Arrays fest. + + Name des Arrays + Der festzulegende Wert + + Ein eindimensionales Array aus ganzzahligen 32-Bit-Werten, die die Indizes darstellen, welche + die Position des festzulegenden Elements angeben. Um z. B. auf "a[10][11]" zuzugreifen, würde das Array {10,11} lauten. + + + + + Ruft das Element im statischen Array ab. + + Name des Arrays + Zusätzliche InvokeHelper-Attribute + + Ein eindimensionales Array aus ganzzahligen 32-Bit-Werten, die die Indizes darstellen, welche + die Position des abzurufenden Elements angeben. Um z. B. auf "a[10][11]" zuzugreifen, würde das Array {10,11} lauten. + + Element an der angegebenen Position + + + + Legt den Member des statischen Arrays fest. + + Name des Arrays + Zusätzliche InvokeHelper-Attribute + Der festzulegende Wert + + Ein eindimensionales Array aus ganzzahligen 32-Bit-Werten, die die Indizes darstellen, welche + die Position des festzulegenden Elements angeben. Um z. B. auf "[10][11]" zuzugreifen, würde das Array {10,11} lauten. + + + + + Ruft das statische Feld ab. + + Der Name des Felds. + Das statische Feld. + + + + Legt das statische Feld fest. + + Der Name des Felds. + Argument für den Aufruf + + + + Ruft das statische Feld mit den angegebenen InvokeHelper-Attributen ab. + + Der Name des Felds. + Zusätzliche Aufrufattribute + Das statische Feld. + + + + Legt das statische Feld mit Bindungsattributen fest. + + Der Name des Felds. + Zusätzliche InvokeHelper-Attribute + Argument für den Aufruf + + + + Ruft das statische Feld oder die Eigenschaft ab. + + Der Name des Felds oder der Eigenschaft. + Das statische Feld oder die statische Eigenschaft. + + + + Legt das statische Feld oder die Eigenschaft fest. + + Der Name des Felds oder der Eigenschaft. + Der Wert, auf den das Feld oder die Eigenschaft festgelegt wird. + + + + Ruft das statische Feld oder die Eigenschaft mit den angegebenen InvokeHelper-Attributen ab. + + Der Name des Felds oder der Eigenschaft. + Zusätzliche Aufrufattribute + Das statische Feld oder die statische Eigenschaft. + + + + Legt das statische Feld oder die Eigenschaft mit Bindungsattributen fest. + + Der Name des Felds oder der Eigenschaft. + Zusätzliche Aufrufattribute + Der Wert, auf den das Feld oder die Eigenschaft festgelegt wird. + + + + Ruft die statische Eigenschaft ab. + + Der Name des Felds oder der Eigenschaft. + Argumente für den Aufruf + Die statische Eigenschaft. + + + + Legt die statische Eigenschaft fest. + + Der Name der Eigenschaft. + Der Wert, auf den das Feld oder die Eigenschaft festgelegt wird. + An den aufzurufenden Member zu übergebende Argumente. + + + + Legt die statische Eigenschaft fest. + + Der Name der Eigenschaft. + Der Wert, auf den das Feld oder die Eigenschaft festgelegt wird. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + An den aufzurufenden Member zu übergebende Argumente. + + + + Ruft die statische Eigenschaft ab. + + Der Name der Eigenschaft. + Zusätzliche Aufrufattribute. + An den aufzurufenden Member zu übergebende Argumente. + Die statische Eigenschaft. + + + + Ruft die statische Eigenschaft ab. + + Der Name der Eigenschaft. + Zusätzliche Aufrufattribute. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + An den aufzurufenden Member zu übergebende Argumente. + Die statische Eigenschaft. + + + + Legt die statische Eigenschaft fest. + + Der Name der Eigenschaft. + Zusätzliche Aufrufattribute. + Der Wert, auf den das Feld oder die Eigenschaft festgelegt wird. + Optionale Indexwerte für indizierte Eigenschaften. Die Indizes indizierter Eigenschaften sind nullbasiert. Dieser Wert sollte für nicht indizierte Eigenschaften null sein. + + + + Legt die statische Eigenschaft fest. + + Der Name der Eigenschaft. + Zusätzliche Aufrufattribute. + Der Wert, auf den das Feld oder die Eigenschaft festgelegt wird. + Ein Array von Objekten, das die Anzahl, die Reihenfolge und den Typ der Parameter für die indizierte Eigenschaft darstellt. + An den aufzurufenden Member zu übergebende Argumente. + + + + Ruft die statische Methode auf. + + Der Name des Members. + Zusätzliche Aufrufattribute + Argumente für den Aufruf + Kultur + Ergebnis des Aufrufs + + + + Stellt Methodensignaturermittlung für generische Methoden bereit. + + + + + Vergleicht die Methodensignaturen dieser beiden Methoden. + + Method1 + Method2 + "true", wenn sie ähnlich sind. + + + + Ruft die Hierarchietiefe vom Basistyp des bereitgestellten Typs ab. + + Der Typ. + Die Tiefe. + + + + Findet den am häufigsten abgerufenen Typ mit den angegebenen Informationen. + + Kandidatenübereinstimmungen. + Anzahl der Übereinstimmungen. + Die am häufigsten abgerufene Methode. + + + + Wählt bei Angabe einer Sammlung von Methoden, die mit den Basiskriterien übereinstimmen, eine Methode basierend + auf einem Array von Typen aus. Diese Methode sollte NULL zurückgeben, wenn keine Methode + mit den Kriterien übereinstimmt. + + Bindungsspezifikation. + Kandidatenübereinstimmungen + Typen + Parametermodifizierer. + Übereinstimmungsmethode. NULL, wenn keine Übereinstimmung vorliegt. + + + + Findet unter den beiden angegeben Methoden die spezifischste. + + Methode 1 + Parameterreihenfolge für Methode 1 + Parameter-Arraytyp. + Methode 2 + Parameterreihenfolge für Methode 2 + >Parameter-Arraytyp. + Typen, in denen gesucht wird. + Argumente. + Ein "int", der die Übereinstimmung darstellt. + + + + Findet unter den beiden angegeben Methoden die spezifischste. + + Methode 1 + Parameterreihenfolge für Methode 1 + Parameter-Arraytyp. + Methode 2 + Parameterreihenfolge für Methode 2 + >Parameter-Arraytyp. + Typen, in denen gesucht wird. + Argumente. + Ein "int", der die Übereinstimmung darstellt. + + + + Findet unter den beiden angegeben Typen den spezifischsten. + + Typ 1 + Typ 2 + Der Definitionstyp + Ein "int", der die Übereinstimmung darstellt. + + + + Wird verwendet, um Informationen zu speichern, die für Komponententests bereitgestellt werden. + + + + + Ruft Testeigenschaften für einen Test ab. + + + + + Ruft die aktuelle Datenzeile ab, wenn der Test für datengesteuerte Tests verwendet wird. + + + + + Ruft die aktuelle Datenverbindungszeile ab, wenn der Test für datengesteuerte Tests verwendet wird. + + + + + Ruft das Basisverzeichnis für den Testlauf ab, in dem die bereitgestellten Dateien und die Ergebnisdateien gespeichert werden. + + + + + Ruft das Verzeichnis für Dateien ab, die für den Testlauf bereitgestellt werden. Normalerweise ein Unterverzeichnis von . + + + + + Ruft das Basisverzeichnis für Ergebnisse aus dem Testlauf ab. Normalerweise ein Unterverzeichnis von . + + + + + Ruft das Verzeichnis für Ergebnisdateien des Testlaufs ab. In der Regel ein Unterverzeichnis von . + + + + + Ruft das Verzeichnis für Testergebnisdateien ab. + + + + + Ruft das Basisverzeichnis für den Testlauf ab, unter dem bereitgestellte Dateien und Ergebnisdateien gespeichert werden. + Identisch mit. Verwenden Sie diese Eigenschaft. + + + + + Ruft das Verzeichnis für Dateien ab, die für den Testlauf bereitgestellt werden. Normalerweise ein Unterverzeichnis von . + Identisch mit. Verwenden Sie diese Eigenschaft. + + + + + Ruft das Verzeichnis für Dateien ab, die für den Testlauf bereitgestellt werden. Normalerweise ein Unterverzeichnis von . + Identisch mit. Verwenden Sie diese Eigenschaft für Dateien, die für den Testlauf bereitgestellt werden, oder + für testspezifische Ergebnisdateien. + + + + + Ruft den vollqualifizierten Namen der Klasse ab, die die momentan ausgeführte Testmethode enthält + + + + + Ruft den Namen der zurzeit ausgeführten Testmethode ab. + + + + + Ruft das aktuelle Testergebnis ab. + + + + + Wird zum Schreiben von Ablaufverfolgungsnachrichten verwendet, während der Test ausgeführt wird. + + formatierte Meldungszeichenfolge + + + + Wird zum Schreiben von Ablaufverfolgungsnachrichten verwendet, während der Test ausgeführt wird. + + Formatzeichenfolge + Die Argumente + + + + Fügt der Liste in TestResult.ResultFileNames einen Dateinamen hinzu. + + + Der Dateiname. + + + + + Startet einen Timer mit dem angegebenen Namen. + + Name des Timers. + + + + Beendet einen Timer mit dem angegebenen Namen. + + Name des Timers. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..ae6802605 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod für die Ausführung. + + + + + Ruft den Namen der Testmethode ab. + + + + + Ruft den Namen der Testklasse ab. + + + + + Ruft den Rückgabetyp der Testmethode ab. + + + + + Ruft die Parameter der Testmethode ab. + + + + + Ruft die methodInfo der Testmethode ab. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Ruft die Testmethode auf. + + + An die Testmethode zu übergebende Argumente (z. B. für datengesteuerte Tests). + + + Das Ergebnis des Testmethodenaufrufs. + + + This call handles asynchronous test methods as well. + + + + + Ruft alle Attribute der Testmethode ab. + + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Alle Attribute. + + + + + Ruft ein Attribut eines bestimmten Typs ab. + + System.Attribute type. + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Die Attribute des angegebenen Typs. + + + + + Das Hilfsprogramm. + + + + + Der check-Parameter ungleich null. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws argument null exception when parameter is null. + + + + Der check-Parameter ungleich null oder leer. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws ArgumentException when parameter is null. + + + + Enumeration für die Art des Zugriffs auf Datenzeilen in datengesteuerten Tests. + + + + + Zeilen werden in sequenzieller Reihenfolge zurückgegeben. + + + + + Zeilen werden in zufälliger Reihenfolge zurückgegeben. + + + + + Attribut zum Definieren von Inlinedaten für eine Testmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Das Datenobjekt. + + + + Initialisiert eine neue Instanz der -Klasse, die ein Array aus Argumenten akzeptiert. + + Ein Datenobjekt. + Weitere Daten. + + + + Ruft Daten für den Aufruf der Testmethode ab. + + + + + Ruft den Anzeigenamen in den Testergebnissen für die Anpassung ab. + + + + + Die nicht eindeutige Assert-Ausnahme. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Die InternalTestFailureException-Klasse. Wird zum Angeben eines internen Fehlers für einen Testfall verwendet. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ein Attribut, das angibt, dass eine Ausnahme des angegebenen Typs erwartet wird + + + + + Initialisiert eine neue Instanz der -Klasse mit dem erwarteten Typ + + Der Typ der erwarteten Ausnahme. + + + + Initialisiert eine neue Instanz der-Klasse mit + dem erwarteten Typ und der einzuschließenden Meldung, wenn vom Test keine Ausnahme ausgelöst wurde. + + Der Typ der erwarteten Ausnahme. + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft einen Wert ab, der den Typ der erwarteten Ausnahme angibt. + + + + + Ruft einen Wert ab, der angibt, ob es zulässig ist, dass vom Typ der erwarteten Ausnahme abgeleitete Typen + als erwartet qualifiziert werden. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Überprüft, ob der Typ der vom Komponententest ausgelösten Ausnahme erwartet wird. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Basisklasse für Attribute, die angeben, dass eine Ausnahme aus einem Komponententest erwartet wird. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer standardmäßigen "no-exception"-Meldung. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer 2no-exception"-Meldung + + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, + weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die standardmäßige Nichtausnahmemeldung ab. + + Der Typname des ExpectedException-Attributs. + Die standardmäßige Nichtausnahmemeldung. + + + + Ermittelt, ob die Annahme erwartet ist. Wenn die Methode zurückkehrt, wird davon ausgegangen, + dass die Annahme erwartet war. Wenn die Methode eine Ausnahme auslöst, + wird davon ausgegangen, dass die Ausnahme nicht erwartet war, und die Meldung + der ausgelösten Ausnahme wird in das Testergebnis eingeschlossen. Die -Klasse wird aus Gründen der + Zweckmäßigkeit bereitgestellt. Wenn verwendet wird und ein Fehler der Assertion auftritt, + wird das Testergebnis auf Inconclusive festgelegt. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Löst die Ausnahme erneut aus, wenn es sich um eine AssertFailedException oder eine AssertInconclusiveException handelt. + + Die Ausnahme, die erneut ausgelöst werden soll, wenn es sich um eine Assertionausnahme handelt. + + + + Diese Klasse unterstützt Benutzer beim Ausführen von Komponententests für Typen, die generische Typen verwenden. + GenericParameterHelper erfüllt einige allgemeine generische Typeinschränkungen, + beispielsweise: + 1. öffentlicher Standardkonstruktor + 2. implementiert allgemeine Schnittstellen: IComparable, IEnumerable + + + + + Initialisiert eine neue Instanz der -Klasse, die + die Einschränkung "newable" in C#-Generika erfüllt. + + + This constructor initializes the Data property to a random value. + + + + + Initialisiert eine neue Instanz der-Klasse, die + die Data-Eigenschaft mit einem vom Benutzer bereitgestellten Wert initialisiert. + + Ein Integerwert + + + + Ruft die Daten ab oder legt sie fest. + + + + + Führt den Wertvergleich für zwei GenericParameterHelper-Objekte aus. + + Das Objekt, mit dem der Vergleich ausgeführt werden soll. + TRUE, wenn das Objekt den gleichen Wert wie "dieses" GenericParameterHelper-Objekt aufweist. + Andernfalls FALSE. + + + + Gibt einen Hashcode für diese Objekt zurück. + + Der Hash. + + + + Vergleicht die Daten der beiden -Objekte. + + Das Objekt, mit dem verglichen werden soll. + + Eine signierte Zahl, die die relativen Werte dieser Instanz und dieses Werts angibt. + + + Thrown when the object passed in is not an instance of . + + + + + Gibt ein IEnumerator-Objekt zurück, dessen Länge aus + der Data-Eigenschaft abgeleitet ist. + + Das IEnumerator-Objekt + + + + Gibt ein GenericParameterHelper-Objekt zurück, das gleich + dem aktuellen Objekt ist. + + Das geklonte Objekt. + + + + Ermöglicht Benutzern das Protokollieren/Schreiben von Ablaufverfolgungen aus Komponententests für die Diagnose. + + + + + Handler für LogMessage. + + Die zu protokollierende Meldung. + + + + Zu überwachendes Ereignis. Wird ausgelöst, wenn der Komponententestwriter eine Meldung schreibt. + Wird hauptsächlich von Adaptern verwendet. + + + + + Vom Testwriter aufzurufende API zum Protokollieren von Meldungen. + + Das Zeichenfolgenformat mit Platzhaltern. + Parameter für Platzhalter. + + + + Das TestCategory-Attribut. Wird zum Angeben der Kategorie eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse und wendet die Kategorie auf den Test an. + + + Die test-Kategorie. + + + + + Ruft die Testkategorien ab, die auf den Test angewendet wurden. + + + + + Die Basisklasse für das Category-Attribut. + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialisiert eine neue Instanz der -Klasse. + Wendet die Kategorie auf den Test an. Die von TestCategories + zurückgegebenen Zeichenfolgen werden mit dem Befehl "/category" zum Filtern von Tests verwendet. + + + + + Ruft die Testkategorie ab, die auf den Test angewendet wurde. + + + + + Die AssertFailedException-Klasse. Wird zum Angeben eines Fehlers für einen Testfall verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen in + Komponententests. Wenn die getestete Bedingung nicht erfüllt wird, wird eine Ausnahme + ausgelöst. + + + + + Ruft die Singleton-Instanz der Assert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is true. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null. + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Löst eine AssertFailedException aus. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Statische equals-Überladungen werden zum Vergleichen von Instanzen zweier Typen für + Verweisgleichheit verwendet. Diese Methode sollte nicht zum Vergleichen von zwei Instanzen auf + Gleichheit verwendet werden. Dieses Objekt löst immer einen Assert.Fail aus. Verwenden Sie + Assert.AreEqual und zugehörige Überladungen in Ihren Komponententests. + + Objekt A + Objekt B + Immer FALSE. + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Ersetzt Nullzeichen ("\0") durch "\\0". + + + Die Zeichenfolge, nach der gesucht werden soll. + + + Die konvertierte Zeichenfolge, in der Nullzeichen durch "\\0" ersetzt wurden. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Eine Hilfsfunktion, die eine AssertionFailedException erstellt und auslöst. + + + Der Name der Assertion, die eine Ausnahme auslöst. + + + Eine Meldung, die Bedingungen für den Assertionfehler beschreibt. + + + Die Parameter. + + + + + Überprüft den Parameter auf gültige Bedingungen. + + + Der Parameter. + + + Der Name der Assertion. + + + Parametername + + + Meldung für die ungültige Parameterausnahme. + + + Die Parameter. + + + + + Konvertiert ein Objekt sicher in eine Zeichenfolge und verarbeitet dabei NULL-Werte und Nullzeichen. + NULL-Werte werden in "(null)" konvertiert. Nullzeichen werden in "\\0" konvertiert". + + + Das Objekt, das in eine Zeichenfolge konvertiert werden soll. + + + Die konvertierte Zeichenfolge. + + + + + Die Zeichenfolgenassertion. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if matches . + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen, die + Sammlungen in Komponententests zugeordnet sind. Wenn die getestete Bedingung nicht + erfüllt wird, wird eine Ausnahme ausgelöst. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if every element in is also found in + . + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Ermittelt, ob die erste Sammlung eine Teilmenge der zweiten + Sammlung ist. Wenn eine der Mengen Elementduplikate enthält, muss die Anzahl + der Vorkommen des Elements in der Teilmenge kleiner oder + gleich der Anzahl der Vorkommen in der Obermenge sein. + + + Die Sammlung, von der der Test erwartet, dass sie enthalten ist in . + + + Die Sammlung, von der der Test erwartet, dass sie Folgendes enthält: . + + + TRUE, wenn: eine Teilmenge ist von + , andernfalls FALSE. + + + + + Generiert ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + Die zu verarbeitende Sammlung. + + + Die Anzahl der Nullelemente in der Sammlung. + + + Ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + + + Findet ein nicht übereinstimmendes Element in den beiden Sammlungen. Ein nicht übereinstimmendes + Element ist ein Element, für das sich die Anzahl der Vorkommen in der + erwarteten Sammlung von der Anzahl der Vorkommen in der tatsächlichen Sammlung unterscheidet. Von den + Sammlungen wird angenommen, dass unterschiedliche Verweise ungleich null mit der + gleichen Anzahl von Elementen vorhanden sind. Der Aufrufer ist für diese Ebene + der Überprüfung verantwortlich. Wenn kein nicht übereinstimmendes Element vorhanden ist, gibt die Funktion FALSE + zurück, und die out-Parameter sollten nicht verwendet werden. + + + Die erste zu vergleichende Sammlung. + + + Die zweite zu vergleichende Sammlung. + + + Die erwartete Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Die tatsächliche Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Das nicht übereinstimmende Element (kann NULL sein) oder NULL, wenn kein nicht + übereinstimmendes Element vorhanden ist. + + + TRUE, wenn ein nicht übereinstimmendes Element gefunden wurde, andernfalls FALSE. + + + + + vergleicht die Objekte mithilfe von object.Equals + + + + + Basisklasse für Frameworkausnahmen. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Eine stark typisierte Ressourcenklasse zum Suchen nach lokalisierten Zeichenfolgen usw. + + + + + Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + + + + + Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + Ressourcensuchen mithilfe dieser stark typisierten Ressourcenklasse. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zugriffszeichenfolge weist ungültige Syntax auf." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartete Sammlung enthält {1} Vorkommen von <{2}>. Die tatsächliche Sammlung enthält {3} Vorkommen. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Elementduplikat gefunden: <{1}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Groß-/Kleinschreibung unterscheidet sich für den tatsächlichen Wert: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz nicht größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1} ({2})>. Tatsächlich: <{3} ({4})>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beliebiger Wert erwartet, ausgenommen: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Übergeben Sie keine Werttypen an AreSame(). In Object konvertierte Werte sind nie gleich. Verwenden Sie ggf. AreEqual(). {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Fehler von {0}. {1}" nach. + + + + + Sucht nach einer lokalisierten Zeichenfolge ähnlich der folgenden: "async TestMethod" wird mit UITestMethodAttribute nicht unterstützt. Entfernen Sie "async", oder verwenden Sie TestMethodAttribute. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen sind leer. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungsverweise zeigen auf das gleiche Sammlungsobjekt. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0}({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(null)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(object)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' enthält nicht Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} ({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Assert.Equals sollte für Assertionen nicht verwendet werden. Verwenden Sie stattdessen Assert.AreEqual & Überladungen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Anzahl der Elemente in den Sammlungen stimmt nicht überein. Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {0} stimmt nicht überein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} weist nicht den erwarteten Typ auf. Erwarteter Typ: <{2}>. Tatsächlicher Typ: <{3}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} ist (null). Erwarteter Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' endet nicht mit Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ungültiges Argument: EqualsTester darf keine NULL-Werte verwenden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Objekt vom Typ {0} kann nicht in {1} konvertiert werden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Das referenzierte interne Objekt ist nicht mehr gültig." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Eigenschaft {0} weist den Typ {1} auf. Erwartet wurde der Typ {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} Erwarteter Typ: <{1}>. Tatsächlicher Typ: <{2}>." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt nicht mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Falscher Typ: <{1}>. Tatsächlicher Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Kein DataRowAttribute angegeben. Mindestens ein DataRowAttribute ist mit DataTestMethodAttribute erforderlich." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Keine Ausnahme ausgelöst. {1}-Ausnahme wurde erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. Der Wert darf nicht NULL sein. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Unterschiedliche Anzahl von Elementen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der Konstruktor mit der angegebenen Signatur wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der angegebene Member ({0}) wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Zeichenfolge '{0}' beginnt nicht mit der Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der erwartete Ausnahmetyp muss System.Exception oder ein von System.Exception abgeleiteter Typ sein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(Fehler beim Abrufen der Meldung vom Typ {0} aufgrund einer Ausnahme.)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat erwartete Ausnahme {0} nicht ausgelöst. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Testmethode hat keine Ausnahme ausgelöst. Vom Attribut {0}, das für die Testmethode definiert ist, wurde eine Ausnahme erwartet." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} oder ein davon abgeleiteter Typ wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ausnahme {2} wurde ausgelöst, aber Ausnahme {1} wurde erwartet. {0} + Ausnahmemeldung: {3} + Stapelüberwachung: {4}" nach. + + + + + Ergebnisse des Komponententests + + + + + Der Test wurde ausgeführt, aber es gab Probleme. + Möglicherweise liegen Ausnahmen oder Assertionsfehler vor. + + + + + Der Test wurde abgeschlossen, es lässt sich aber nicht sagen, ob er bestanden wurde oder fehlerhaft war. + Kann für abgebrochene Tests verwendet werden. + + + + + Der Test wurde ohne Probleme ausgeführt. + + + + + Der Test wird zurzeit ausgeführt. + + + + + Systemfehler beim Versuch, einen Test auszuführen. + + + + + Timeout des Tests. + + + + + Der Test wurde vom Benutzer abgebrochen. + + + + + Der Test weist einen unbekannten Zustand auf. + + + + + Stellt Hilfsfunktionen für das Komponententestframework bereit. + + + + + Ruft die Ausnahmemeldungen (einschließlich der Meldungen für alle inneren Ausnahmen) + rekursiv ab. + + Ausnahme, für die Meldungen abgerufen werden sollen + Zeichenfolge mit Fehlermeldungsinformationen + + + + Enumeration für Timeouts, die mit der -Klasse verwendet werden kann. + Der Typ der Enumeration muss entsprechen: + + + + + Unendlich. + + + + + Das Testklassenattribut. + + + + + Erhält ein Testmethodenattribut, das die Ausführung des Tests ermöglicht. + + Die für diese Methode definierte Attributinstanz der Testmethode. + Diezum Ausführen dieses Tests + Extensions can override this method to customize how all methods in a class are run. + + + + Das Testmethodenattribut. + + + + + Führt eine Testmethode aus. + + Die auszuführende Textmethode. + Ein Array aus TestResult-Objekten, die für die Ergebnisses des Tests stehen. + Extensions can override this method to customize running a TestMethod. + + + + Das Testinitialisierungsattribut. + + + + + Das Testbereinigungsattribut. + + + + + Das Ignorierattribut. + + + + + Das Testeigenschaftattribut. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Der Name. + + + Der Wert. + + + + + Ruft den Namen ab. + + + + + Ruft den Wert ab. + + + + + Das Klasseninitialisierungsattribut. + + + + + Das Klassenbereinigungsattribut. + + + + + Das Assemblyinitialisierungsattribut. + + + + + Das Assemblybereinigungsattribut. + + + + + Der Testbesitzer. + + + + + Initialisiert eine neue Instanz der-Klasse. + + + Der Besitzer. + + + + + Ruft den Besitzer ab. + + + + + Prioritätsattribut. Wird zum Angeben der Priorität eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Die Priorität. + + + + + Ruft die Priorität ab. + + + + + Die Beschreibung des Tests. + + + + + Initialisiert eine neue Instanz der -Klasse zum Beschreiben eines Tests. + + Die Beschreibung. + + + + Ruft die Beschreibung eines Tests ab. + + + + + Der URI der CSS-Projektstruktur. + + + + + Initialisiert eine neue Instanz der -Klasse der CSS Projektstruktur-URI. + + Der CSS-Projektstruktur-URI. + + + + Ruft den CSS-Projektstruktur-URI ab. + + + + + Der URI der CSS-Iteration. + + + + + Initialisiert eine neue Instanz der-Klasse für den CSS Iterations-URI. + + Der CSS-Iterations-URI. + + + + Ruft den CSS-Iterations-URI ab. + + + + + WorkItem-Attribut. Wird zum Angeben eines Arbeitselements verwendet, das diesem Test zugeordnet ist. + + + + + Initialisiert eine neue Instanz der-Klasse für das WorkItem-Attribut. + + Die ID eines Arbeitselements. + + + + Ruft die ID für ein zugeordnetes Arbeitselement ab. + + + + + Timeoutattribut. Wird zum Angeben des Timeouts eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Das Timeout. + + + + + Initialisiert eine neue Instanz der -Klasse mit einem voreingestellten Timeout. + + + Das Timeout. + + + + + Ruft das Timeout ab. + + + + + Das TestResult-Objekt, das an den Adapter zurückgegeben werden soll. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ruft den Anzeigenamen des Ergebnisses ab oder legt ihn fest. Hilfreich, wenn mehrere Ergebnisse zurückgegeben werden. + Wenn NULL, wird der Methodenname als DisplayName verwendet. + + + + + Ruft das Ergebnis der Testausführung ab oder legt es fest. + + + + + Ruft die Ausnahme ab, die bei einem Testfehler ausgelöst wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Debugablaufverfolgungen nach Testcode fest oder legt sie fest. + + + + + Gets or sets the debug traces by test code. + + + + + Ruft die Dauer der Testausführung ab oder legt sie fest. + + + + + Ruft den Datenzeilenindex in der Datenquelle ab, oder legt ihn fest. Nur festgelegt für Ergebnisse einer individuellen + Ausführung einer Datenzeile eines datengesteuerten Tests. + + + + + Ruft den Rückgabewert der Testmethode ab (zurzeit immer NULL). + + + + + Ruft die vom Test angehängten Ergebnisdateien ab, oder legt sie fest. + + + + + Gibt die Verbindungszeichenfolge, den Tabellennamen und die Zeilenzugriffsmethode für datengesteuerte Tests an. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Der Standardanbietername für DataSource. + + + + + Die standardmäßige Datenzugriffsmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter, einer Verbindungszeichenfolge, einer Datentabelle und einer Datenzugriffsmethode für den Zugriff auf die Daten initialisiert. + + Invarianter Datenanbietername, z. B. "System.Data.SqlClient" + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + Gibt die Reihenfolge für den Datenzugriff an. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einer Verbindungszeichenfolge und einem Tabellennamen initialisiert. + Geben Sie eine Verbindungszeichenfolge und Datentabelle an, um auf die OLEDB-Datenquelle zuzugreifen. + + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter und einer Verbindungszeichenfolge mit dem Namen der Einstellung initialisiert. + + Der Name einer Datenquelle, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + Ruft einen Wert ab, der den Datenanbieter der Datenquelle darstellt. + + + Der Name des Datenanbieters. Wenn kein Datenanbieter während der Objektinitialisierung festgelegt wurde, wird der Standardanbieter "System.Data.OleDb" zurückgegeben. + + + + + Ruft einen Wert ab, der die Verbindungszeichenfolge für die Datenquelle darstellt. + + + + + Ruft einen Wert ab, der den Tabellennamen angibt, der Daten bereitstellt. + + + + + Ruft die Methode ab, die für den Zugriff auf die Datenquelle verwendet wird. + + + + Einer der-Werte. Wenn das nicht initialisiert wurde, wird der Standardwert zurückgegeben. . + + + + + Ruft den Namen einer Datenquelle ab, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + + Ein Attribut für datengesteuerte Tests, in denen Daten inline angegeben werden können. + + + + + Ermittelt alle Datenzeilen und beginnt mit der Ausführung. + + + Die test-Methode. + + + Ein Array aus . + + + + + Führt die datengesteuerte Testmethode aus. + + Die auszuführende Testmethode. + Die Datenzeile. + Ergebnisse der Ausführung. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..17b74f564 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Se usa para especificar el elemento (archivo o directorio) para la implementación por prueba. + Puede especificarse en la clase de prueba o en el método de prueba. + Puede tener varias instancias del atributo para especificar más de un elemento. + La ruta de acceso del elemento puede ser absoluta o relativa. Si es relativa, lo es respecto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Inicializa una nueva instancia de la clase . + + Archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + + + + Inicializa una nueva instancia de la clase . + + Ruta de acceso relativa o absoluta al archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + Ruta de acceso del directorio en el que se van a copiar los elementos. Puede ser absoluta o relativa respecto al directorio de implementación. Todos los archivos y directorios que identifica se copiarán en este directorio. + + + + Obtiene la ruta de acceso al archivo o carpeta de origen que se debe copiar. + + + + + Obtiene la ruta de acceso al directorio donde se copia el elemento. + + + + + Contiene literales para los nombres de secciones, propiedades y atributos. + + + + + Nombre de la sección de configuración. + + + + + Nombre de la sección de configuración para Beta2. Se deja por motivos de compatibilidad. + + + + + Nombre de sección para el origen de datos. + + + + + Nombre de atributo para "Name". + + + + + Nombre de atributo para "ConnectionString". + + + + + Nombre de atributo para "DataAccessMethod". + + + + + Nombre de atributo para "DataTable". + + + + + Elemento de origen de datos. + + + + + Obtiene o establece el nombre de esta configuración. + + + + + Obtiene o establece el elemento ConnectionStringSettings en la sección <connectionStrings> del archivo .config. + + + + + Obtiene o establece el nombre de la tabla de datos. + + + + + Obtiene o establece el tipo de acceso de datos. + + + + + Obtiene el nombre de la clave. + + + + + Obtiene las propiedades de configuración. + + + + + Colección de elementos del origen de datos. + + + + + Inicializa una nueva instancia de la clase . + + + + + Devuelve el elemento de configuración con la clave especificada. + + Clave del elemento que se va a devolver. + Objeto System.Configuration.ConfigurationElement con la clave especificada. De lo contrario, NULL. + + + + Obtiene el elemento de configuración en la ubicación del índice especificada. + + Ubicación del índice del objeto System.Configuration.ConfigurationElement que se va a devolver. + + + + Agrega un elemento de configuración a la colección de elementos de configuración. + + Objeto System.Configuration.ConfigurationElement que se va a agregar. + + + + Quita un elemento System.Configuration.ConfigurationElement de la colección. + + El . + + + + Quita un elemento System.Configuration.ConfigurationElement de la colección. + + Clave del objeto System.Configuration.ConfigurationElement que se va a quitar. + + + + Quita todos los objetos de elemento de configuración de la colección. + + + + + Crea un nuevo elemento . + + Un nuevo objeto . + + + + Obtiene la clave de un elemento de configuración especificado. + + Objeto System.Configuration.ConfigurationElement para el que se va a devolver la clave. + Elemento System.Object que actúa como clave del objeto System.Configuration.ConfigurationElement especificado. + + + + Agrega un elemento de configuración a la colección de elementos de configuración. + + Objeto System.Configuration.ConfigurationElement que se va a agregar. + + + + Agrega un elemento de configuración a la colección de elementos de configuración. + + Ubicación del índice en la que se va a agregar el objeto System.Configuration.ConfigurationElement especificado. + Objeto System.Configuration.ConfigurationElement que se va a agregar. + + + + Compatibilidad con las opciones de configuración para pruebas. + + + + + Obtiene la sección de configuración para pruebas. + + + + + Sección de configuración para pruebas. + + + + + Obtiene los orígenes de datos para esta sección de configuración. + + + + + Obtiene la colección de propiedades. + + + de propiedades para el elemento. + + + + + Esta clase representa el objeto INTERNO NO público activo en el sistema. + + + + + Inicializa una nueva instancia de la clase que contiene + el objeto que ya existe de la clase privada. + + objeto que sirve como punto de partida para llegar a los miembros privados + Cadena de desreferencia que usa . para apuntar al objeto que se va a recuperar, como en m_X.m_Y.m_Z + + + + Inicializa una nueva instancia de la clase que contiene el + tipo especificado. + + Nombre del ensamblado + nombre completo + Argumentos para pasar al constructor + + + + Inicializa una nueva instancia de la clase que contiene el + tipo especificado. + + Nombre del ensamblado + nombre completo + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el constructor que se va a obtener + Argumentos para pasar al constructor + + + + Inicializa una nueva instancia de la clase que contiene el + tipo especificado. + + tipo del objeto que se va a crear + Argumentos para pasar al constructor + + + + Inicializa una nueva instancia de la clase que contiene el + tipo especificado. + + tipo del objeto que se va a crear + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el constructor que se va a obtener + Argumentos para pasar al constructor + + + + Inicializa una nueva instancia de la clase que contiene el + objeto dado. + + objeto para encapsular + + + + Inicializa una nueva instancia de la clase que contiene el + objeto dado. + + objeto para encapsular + Objeto PrivateType + + + + Obtiene o establece el destino. + + + + + Obtiene el tipo del objeto subyacente. + + + + + Devuelve el código hash del objeto de destino. + + valor int que representa el código hash del objeto de destino + + + + Es igual a + + Objeto con el que se va a comparar + devuelve "true" si los objetos son iguales. + + + + Invoca el método especificado. + + Nombre del método + Argumentos para pasar al miembro que se va a invocar. + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a obtener. + Argumentos para pasar al miembro que se va a invocar. + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a obtener. + Argumentos para pasar al miembro que se va a invocar. + Matriz de tipos correspondientes a los tipos de los argumentos genéricos. + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Argumentos para pasar al miembro que se va a invocar. + Información de referencia cultural + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a obtener. + Argumentos para pasar al miembro que se va a invocar. + Información de referencia cultural + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Argumentos para pasar al miembro que se va a invocar. + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a obtener. + Argumentos para pasar al miembro que se va a invocar. + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Argumentos para pasar al miembro que se va a invocar. + Información de referencia cultural + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a obtener. + Argumentos para pasar al miembro que se va a invocar. + Información de referencia cultural + Resultado de la llamada al método + + + + Invoca el método especificado. + + Nombre del método + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a obtener. + Argumentos para pasar al miembro que se va a invocar. + Información de referencia cultural + Matriz de tipos correspondientes a los tipos de los argumentos genéricos. + Resultado de la llamada al método + + + + Obtiene el elemento de matriz con una matriz de subíndices para cada dimensión. + + Nombre del miembro + los índices de la matriz + Una matriz de elementos. + + + + Establece el elemento de matriz con una matriz de subíndices para cada dimensión. + + Nombre del miembro + Valor para establecer + los índices de la matriz + + + + Obtiene el elemento de matriz con una matriz de subíndices para cada dimensión. + + Nombre del miembro + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + los índices de la matriz + Una matriz de elementos. + + + + Establece el elemento de matriz con una matriz de subíndices para cada dimensión. + + Nombre del miembro + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Valor para establecer + los índices de la matriz + + + + Obtiene el campo. + + Nombre del campo + El campo. + + + + Establece el campo. + + Nombre del campo + valor para establecer + + + + Obtiene el campo. + + Nombre del campo + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + El campo. + + + + Establece el campo. + + Nombre del campo + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + valor para establecer + + + + Obtiene el campo o la propiedad. + + Nombre del campo o propiedad + El campo o la propiedad. + + + + Establece el campo o la propiedad. + + Nombre del campo o propiedad + valor para establecer + + + + Obtiene el campo o la propiedad. + + Nombre del campo o propiedad + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + El campo o la propiedad. + + + + Establece el campo o la propiedad. + + Nombre del campo o propiedad + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + valor para establecer + + + + Obtiene la propiedad. + + Nombre de la propiedad + Argumentos para pasar al miembro que se va a invocar. + La propiedad. + + + + Obtiene la propiedad. + + Nombre de la propiedad + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + Argumentos para pasar al miembro que se va a invocar. + La propiedad. + + + + Establece la propiedad. + + Nombre de la propiedad + valor para establecer + Argumentos para pasar al miembro que se va a invocar. + + + + Establece la propiedad. + + Nombre de la propiedad + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + valor para establecer + Argumentos para pasar al miembro que se va a invocar. + + + + Obtiene la propiedad. + + Nombre de la propiedad + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Argumentos para pasar al miembro que se va a invocar. + La propiedad. + + + + Obtiene la propiedad. + + Nombre de la propiedad + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + Argumentos para pasar al miembro que se va a invocar. + La propiedad. + + + + Establece la propiedad. + + Nombre de la propiedad + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + valor para establecer + Argumentos para pasar al miembro que se va a invocar. + + + + Establece la propiedad. + + Nombre de la propiedad + Máscara de bits que consta de uno o más objetos que especifican cómo se realiza la búsqueda. + valor para establecer + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + Argumentos para pasar al miembro que se va a invocar. + + + + Valida la cadena de acceso. + + cadena de acceso + + + + Invoca el miembro. + + Nombre del miembro + Atributos adicionales + Argumentos para la invocación + Referencia cultural + Resultado de la invocación + + + + Extrae la signatura de método genérico más adecuada del tipo privado actual. + + Nombre del método donde se va a buscar la memoria caché de signatura. + Matriz de tipos correspondientes a los tipos de los parámetros donde buscar. + Matriz de tipos correspondientes a los tipos de los argumentos genéricos. + para filtrar aún más las signaturas de método. + Modificadores para parámetros. + Una instancia de methodinfo. + + + + Esta clase representa una clase privada para la funcionalidad de descriptor de acceso privado. + + + + + Se enlaza a todo. + + + + + Tipo que contiene la clase. + + + + + Inicializa una nueva instancia de la clase que contiene el tipo privado. + + Nombre del ensamblado + nombre completo de + + + + Inicializa una nueva instancia de la clase que contiene + el tipo privado del objeto de tipo. + + Tipo encapsulado que se va a crear. + + + + Obtiene el tipo al que se hace referencia. + + + + + Invoca el miembro estático. + + Nombre del miembro para InvokeHelper + Argumentos para la invocación + Resultado de la invocación + + + + Invoca el miembro estático. + + Nombre del miembro para InvokeHelper + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a invocar + Argumentos para la invocación + Resultado de la invocación + + + + Invoca el miembro estático. + + Nombre del miembro para InvokeHelper + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a invocar + Argumentos para la invocación + Matriz de tipos correspondientes a los tipos de los argumentos genéricos. + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Argumentos para la invocación + Referencia cultural + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a invocar + Argumentos para la invocación + Información de referencia cultural + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Atributos de invocación adicionales + Argumentos para la invocación + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Atributos de invocación adicionales + Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a invocar + Argumentos para la invocación + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Atributos de invocación adicionales + Argumentos para la invocación + Referencia cultural + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Atributos de invocación adicionales + /// Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a invocar + Argumentos para la invocación + Referencia cultural + Resultado de la invocación + + + + Invoca el método estático. + + Nombre del miembro + Atributos de invocación adicionales + /// Una matriz de objetos que representan el número, orden y tipo de los parámetros para el método que se va a invocar + Argumentos para la invocación + Referencia cultural + Matriz de tipos correspondientes a los tipos de los argumentos genéricos. + Resultado de la invocación + + + + Obtiene el elemento de la matriz estática. + + Nombre de la matriz + + Matriz unidimensional de enteros de 32 bits que representan los índices que especifican + la posición del elemento que se va a obtener. Por ejemplo, para acceder a a[10][11], los índices serían {10,11} + + elemento en la ubicación especificada + + + + Establece el miembro de la matriz estática. + + Nombre de la matriz + valor para establecer + + Matriz unidimensional de enteros de 32 bits que representan los índices que especifican + la posición del elemento que se va a establecer. Por ejemplo, para acceder a a[10][11], la matriz sería {10,11} + + + + + Obtiene el elemento de la matriz estática. + + Nombre de la matriz + Atributos InvokeHelper adicionales + + Matriz unidimensional de enteros de 32 bits que representan los índices que especifican + la posición del elemento que se va a obtener. Por ejemplo, para acceder a a[10][11], la matriz sería {10,11} + + elemento en la ubicación especificada + + + + Establece el miembro de la matriz estática. + + Nombre de la matriz + Atributos InvokeHelper adicionales + valor para establecer + + Matriz unidimensional de enteros de 32 bits que representan los índices que especifican + la posición del elemento que se va a establecer. Por ejemplo, para acceder a a[10][11], la matriz sería {10,11} + + + + + Obtiene el campo estático. + + Nombre del campo + El campo estático. + + + + Establece el campo estático. + + Nombre del campo + Argumento para la invocación + + + + Obtiene el campo estático con los atributos InvokeHelper especificados. + + Nombre del campo + Atributos de invocación adicionales + El campo estático. + + + + Establece el campo estático con atributos de enlace. + + Nombre del campo + Atributos InvokeHelper adicionales + Argumento para la invocación + + + + Obtiene la propiedad o el campo estático. + + Nombre del campo o propiedad + El campo o la propiedad estáticos. + + + + Establece la propiedad o el campo estático. + + Nombre del campo o propiedad + Valor que se va a establecer en el campo o la propiedad + + + + Obtiene la propiedad o el campo estático con los atributos InvokeHelper especificados. + + Nombre del campo o propiedad + Atributos de invocación adicionales + El campo o la propiedad estáticos. + + + + Establece la propiedad o el campo estático con atributos de enlace. + + Nombre del campo o propiedad + Atributos de invocación adicionales + Valor que se va a establecer en el campo o la propiedad + + + + Obtiene la propiedad estática. + + Nombre del campo o propiedad + Argumentos para la invocación + La propiedad estática. + + + + Establece la propiedad estática. + + Nombre de la propiedad + Valor que se va a establecer en el campo o la propiedad + Argumentos para pasar al miembro que se va a invocar. + + + + Establece la propiedad estática. + + Nombre de la propiedad + Valor que se va a establecer en el campo o la propiedad + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + Argumentos para pasar al miembro que se va a invocar. + + + + Obtiene la propiedad estática. + + Nombre de la propiedad + Atributos de invocación adicionales. + Argumentos para pasar al miembro que se va a invocar. + La propiedad estática. + + + + Obtiene la propiedad estática. + + Nombre de la propiedad + Atributos de invocación adicionales. + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + Argumentos para pasar al miembro que se va a invocar. + La propiedad estática. + + + + Establece la propiedad estática. + + Nombre de la propiedad + Atributos de invocación adicionales. + Valor que se va a establecer en el campo o la propiedad + Valores de índice opcionales para las propiedades indizadas. Los índices de las propiedades indizadas son de base cero. Este valor debe ser NULL para las propiedades no indizadas. + + + + Establece la propiedad estática. + + Nombre de la propiedad + Atributos de invocación adicionales. + Valor que se va a establecer en el campo o la propiedad + Una matriz de objetos que representan el número, orden y tipo de los parámetros para la propiedad indizada. + Argumentos para pasar al miembro que se va a invocar. + + + + Invoca el método estático. + + Nombre del miembro + Atributos de invocación adicionales + Argumentos para la invocación + Referencia cultural + Resultado de la invocación + + + + Proporciona detección de la signatura de los métodos genéricos. + + + + + Compara las firmas de estos dos métodos. + + Method1 + Method2 + "True" si son similares. + + + + Obtiene la profundidad de jerarquía desde el tipo base del tipo proporcionado. + + El tipo. + La profundidad. + + + + Busca el tipo más derivado con la información proporcionada. + + Coincidencias de candidato. + Número de coincidencias. + El método más derivado. + + + + Dado un conjunto de métodos que coinciden con los criterios base, seleccione un método basado + en una matriz de tipos. Este método debe devolver NULL si no hay ningún método que coincida + con los criterios. + + Especificación de enlace. + Coincidencias de candidato + Tipos + Modificadores de parámetro. + Método coincidente. "Null" si no coincide ninguno. + + + + Busca el método más específico entre los dos métodos proporcionados. + + Método 1 + Orden de parámetros del método 1 + Tipo de matriz de parámetro. + Método 2 + Orden de parámetros del método 2 + >Tipo de matriz de parámetro. + Tipos en los que buscar. + Args. + Un tipo int que representa la coincidencia. + + + + Busca el método más específico entre los dos métodos proporcionados. + + Método 1 + Orden de parámetros del método 1 + Tipo de matriz de parámetro. + Método 2 + Orden de parámetros del método 2 + >Tipo de matriz de parámetro. + Tipos en los que buscar. + Args. + Un tipo int que representa la coincidencia. + + + + Busca el tipo más específico de los dos proporcionados. + + Tipo 1 + Tipo 2 + El tipo de definición + Un tipo int que representa la coincidencia. + + + + Se usa para almacenar información proporcionada a las pruebas unitarias. + + + + + Obtiene las propiedades de una prueba. + + + + + Obtiene la fila de datos actual cuando la prueba se usa para realizar pruebas controladas por datos. + + + + + Obtiene la fila de conexión de datos actual cuando la prueba se usa para realizar pruebas controladas por datos. + + + + + Obtiene el directorio base para la serie de pruebas, en el que se almacenan los archivos implementados y los archivos de resultados. + + + + + Obtiene el directorio de los archivos implementados para la serie de pruebas. Suele ser un subdirectorio de . + + + + + Obtiene el directorio base para los resultados de la serie de pruebas. Suele ser un subdirectorio de . + + + + + Obtiene el directorio de los archivos de resultados de la serie de pruebas. Suele ser un subdirectorio de . + + + + + Obtiene el directorio de los archivos de resultados de la prueba. + + + + + Obtiene el directorio base para la serie de pruebas donde se almacenan los archivos implementados y los archivos de resultados. + Funciona igual que . Utilice esa propiedad en su lugar. + + + + + Obtiene el directorio de los archivos implementados para la serie de pruebas. Suele ser un subdirectorio de . + Funciona igual que . Utilice esa propiedad en su lugar. + + + + + Obtiene el directorio de los archivos de resultados de la serie de pruebas. Suele ser un subdirectorio de . + Funciona igual que . Utilice esa propiedad para los archivos de resultados de la serie de pruebas o + para los archivos de resultados específicos de cada prueba. + + + + + Obtiene el nombre completo de la clase que contiene el método de prueba que se está ejecutando. + + + + + Obtiene el nombre del método de prueba que se está ejecutando. + + + + + Obtiene el resultado de la prueba actual. + + + + + Se usa para escribir mensajes de seguimiento durante la ejecución de la prueba. + + cadena de mensaje con formato + + + + Se usa para escribir mensajes de seguimiento durante la ejecución de la prueba. + + cadena de formato + los argumentos + + + + Agrega un nombre de archivo a la lista en TestResult.ResultFileNames. + + + Nombre del archivo. + + + + + Inicia un temporizador con el nombre especificado. + + Nombre del temporizador. + + + + Finaliza un temporizador con el nombre especificado. + + Nombre del temporizador. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..5b05af931 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4199 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atributo TestMethod para la ejecución. + + + + + Obtiene el nombre del método de prueba. + + + + + Obtiene el nombre de la clase de prueba. + + + + + Obtiene el tipo de valor devuelto del método de prueba. + + + + + Obtiene los parámetros del método de prueba. + + + + + Obtiene el valor de methodInfo para el método de prueba. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca el método de prueba. + + + Argumentos que se pasan al método de prueba (por ejemplo, controlada por datos) + + + Resultado de la invocación del método de prueba. + + + This call handles asynchronous test methods as well. + + + + + Obtiene todos los atributos del método de prueba. + + + Indica si el atributo definido en la clase primaria es válido. + + + Todos los atributos. + + + + + Obtiene un atributo de un tipo específico. + + System.Attribute type. + + Indica si el atributo definido en la clase primaria es válido. + + + Atributos del tipo especificado. + + + + + Elemento auxiliar. + + + + + Parámetro de comprobación no NULL. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws argument null exception when parameter is null. + + + + Parámetro de comprobación no NULL o vacío. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws ArgumentException when parameter is null. + + + + Enumeración de cómo se accede a las filas de datos en las pruebas controladas por datos. + + + + + Las filas se devuelven en orden secuencial. + + + + + Las filas se devuelven en orden aleatorio. + + + + + Atributo para definir los datos insertados de un método de prueba. + + + + + Inicializa una nueva instancia de la clase . + + Objeto de datos. + + + + Inicializa una nueva instancia de la clase , que toma una matriz de argumentos. + + Objeto de datos. + Más datos. + + + + Obtiene datos para llamar al método de prueba. + + + + + Obtiene o establece el nombre para mostrar en los resultados de pruebas para personalizarlo. + + + + + Excepción de aserción no concluyente. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Clase InternalTestFailureException. Se usa para indicar un error interno de un caso de prueba. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + + + + Inicializa una nueva instancia de la clase . + + + + + Atributo que indica que debe esperarse una excepción del tipo especificado. + + + + + Inicializa una nueva instancia de la clase con el tipo esperado. + + Tipo de la excepción esperada + + + + Inicializa una nueva instancia de la clase + con el tipo esperado y el mensaje para incluir cuando la prueba no produce una excepción. + + Tipo de la excepción esperada + + Mensaje que se incluye en el resultado de la prueba si esta no se supera debido a que no se inicia una excepción + + + + + Obtiene un valor que indica el tipo de la excepción esperada. + + + + + Obtiene o establece un valor que indica si se permite que los tipos derivados del tipo de la excepción esperada + se consideren también como esperados. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Comprueba que el tipo de la excepción producida por la prueba unitaria es el esperado. + + Excepción que inicia la prueba unitaria + + + + Clase base para atributos que especifican que se espere una excepción de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción predeterminado. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción. + + + Mensaje para incluir en el resultado de la prueba si esta no se supera debido a que no se inicia una + excepción + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje de ausencia de excepción predeterminado. + + Nombre del tipo de atributo ExpectedException + Mensaje de ausencia de excepción predeterminado + + + + Determina si se espera la excepción. Si el método devuelve un valor, se entiende + que se esperaba la excepción. Si el método produce una excepción, + se entiende que no se esperaba la excepción y se incluye el mensaje + de la misma en el resultado de la prueba. Se puede usar para mayor + comodidad. Si se utiliza y la aserción no funciona, + el resultado de la prueba se establece como No concluyente. + + Excepción que inicia la prueba unitaria + + + + Produce de nuevo la excepción si es de tipo AssertFailedException o AssertInconclusiveException. + + La excepción que se va a reiniciar si es una excepción de aserción + + + + Esta clase está diseñada para ayudar al usuario a realizar pruebas unitarias para tipos con tipos genéricos. + GenericParameterHelper satisface algunas de las restricciones de tipo genérico comunes, + como: + 1. Constructor predeterminado público. + 2. Implementa una interfaz común: IComparable, IEnumerable. + + + + + Inicializa una nueva instancia de la clase que + satisface la restricción "renovable" en genéricos de C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa una nueva instancia de la clase que + inicializa la propiedad Data con un valor proporcionado por el usuario. + + Cualquier valor entero + + + + Obtiene o establece los datos. + + + + + Compara el valor de dos objetos GenericParameterHelper. + + objeto con el que hacer la comparación + Es true si el objeto tiene el mismo valor que el objeto GenericParameterHelper "this". + De lo contrario, false. + + + + Devuelve un código hash para este objeto. + + El código hash. + + + + Compara los datos de los dos objetos . + + Objeto con el que se va a comparar. + + Número con signo que indica los valores relativos de esta instancia y valor. + + + Thrown when the object passed in is not an instance of . + + + + + Devuelve un objeto IEnumerator cuya longitud se deriva de + la propiedad Data. + + El objeto IEnumerator + + + + Devuelve un objeto GenericParameterHelper que es igual al + objeto actual. + + El objeto clonado. + + + + Permite a los usuarios registrar o escribir el seguimiento de las pruebas unitarias con fines de diagnóstico. + + + + + Controlador para LogMessage. + + Mensaje para registrar. + + + + Evento que se debe escuchar. Se genera cuando el autor de las pruebas unitarias escribe algún mensaje. + Lo consume principalmente el adaptador. + + + + + API del escritor de la prueba para llamar a los mensajes de registro. + + Formato de cadena con marcadores de posición. + Parámetros para los marcadores de posición. + + + + Atributo TestCategory. Se usa para especificar la categoría de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase y le aplica la categoría a la prueba. + + + Categoría de prueba. + + + + + Obtiene las categorías que se le han aplicado a la prueba. + + + + + Clase base del atributo "Category". + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa una nueva instancia de la clase . + Aplica la categoría a la prueba. Las cadenas que devuelve TestCategories + se usan con el comando /category para filtrar las pruebas. + + + + + Obtiene la categoría que se le ha aplicado a la prueba. + + + + + Clase AssertFailedException. Se usa para indicar el error de un caso de prueba. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Colección de clases auxiliares para probar varias condiciones en las + pruebas unitarias. Si la condición que se está probando no se cumple, se produce + una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad de Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is false. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is true. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null. + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is not equal to . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Produce una excepción AssertFailedException. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Las sobrecargas de igualdad estáticas se usan para comparar la igualdad de referencia de + instancias de dos tipos. Este método no debe usarse para comparar la igualdad de dos instancias. + Este objeto se devolverá siempre con Assert.Fail. Utilice + Assert.AreEqual y las sobrecargas asociadas en pruebas unitarias. + + Objeto A + Objeto B + False, siempre. + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Reemplaza los caracteres NULL "\0" por "\\0". + + + Cadena para buscar. + + + La cadena convertida con los caracteres NULL reemplazados por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Función auxiliar que produce una excepción AssertionFailedException. + + + nombre de la aserción que inicia una excepción + + + mensaje que describe las condiciones del error de aserción + + + Los parámetros. + + + + + Comprueba el parámetro para las condiciones válidas. + + + El parámetro. + + + Nombre de la aserción. + + + nombre de parámetro + + + mensaje de la excepción de parámetro no válido + + + Los parámetros. + + + + + Convierte un objeto en cadena de forma segura, con control de los valores y caracteres NULL. + Los valores NULL se convierten en "NULL". Los caracteres NULL se convierten en "\\0". + + + Objeto que se va a convertir en cadena. + + + La cadena convertida. + + + + + Aserción de cadena. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if matches . + + + + + Colección de clases auxiliares para probar varias condiciones asociadas + a las colecciones en las pruebas unitarias. Si la condición que se está probando no se + cumple, se produce una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is found in + . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a null element is found in . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if every element in is also found in + . + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Determina si la primera colección es un subconjunto de la + segunda. Si cualquiera de los conjuntos contiene elementos duplicados, el número + de repeticiones del elemento en el subconjunto debe ser inferior o + igual al número de repeticiones en el superconjunto. + + + Colección que la prueba espera que esté incluida en . + + + Colección que la prueba espera que contenga . + + + True si es un subconjunto de + , de lo contrario false. + + + + + Construye un diccionario que contiene el número de repeticiones de cada + elemento en la colección especificada. + + + Colección que se va a procesar. + + + Número de elementos NULL de la colección. + + + Diccionario que contiene el número de repeticiones de cada elemento + en la colección especificada. + + + + + Encuentra un elemento no coincidente entre ambas colecciones. Un elemento + no coincidente es aquel que aparece un número distinto de veces en la + colección esperada de lo que aparece en la colección real. Se + supone que las colecciones son referencias no NULL diferentes con el + mismo número de elementos. El autor de la llamada es el responsable de + este nivel de comprobación. Si no hay ningún elemento no coincidente, + la función devuelve false y no deben usarse parámetros out. + + + La primera colección para comparar. + + + La segunda colección para comparar. + + + Número esperado de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El número real de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El elemento no coincidente (puede ser nulo) o NULL si no hay ningún + elemento no coincidente. + + + Es true si se encontró un elemento no coincidente. De lo contrario, false. + + + + + compara los objetos con object.Equals. + + + + + Clase base para las excepciones de marco. + + + + + Inicializa una nueva instancia de la clase . + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Clase de recurso fuertemente tipado para buscar cadenas traducidas, etc. + + + + + Devuelve la instancia de ResourceManager almacenada en caché que usa esta clase. + + + + + Invalida la propiedad CurrentUICulture del subproceso actual para todas + las búsquedas de recursos que usan esta clase de recursos fuertemente tipados. + + + + + Busca una cadena traducida similar a "La cadena de acceso tiene una sintaxis no válida". + + + + + Busca una cadena traducida similar a "La colección esperada contiene {1} repeticiones de <{2}>. La colección actual contiene {3} repeticiones. {0}". + + + + + Busca una cadena traducida similar a "Se encontró un elemento duplicado: <{1}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>. El caso es distinto para el valor real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia no superior a <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1} ({2})>, pero es: <{3} ({4})>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia mayor que <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba cualquier valor excepto: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "No pase tipos de valor a AreSame(). Los valores convertidos a Object no serán nunca iguales. Considere el uso de AreEqual(). {0}". + + + + + Busca una cadena traducida similar a "Error de {0}. {1}". + + + + + Busca una cadena traducida similar a "No se admite un método de prueba asincrónico con UITestMethodAttribute. Quite el método asincrónico o use TestMethodAttribute. + + + + + Busca una cadena traducida similar a "Ambas colecciones están vacías". {0}. + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos". + + + + + Busca una cadena traducida similar a "Las referencias de ambas colecciones apuntan al mismo objeto de colección. {0}". + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos. {0}". + + + + + Busca una cadena traducida similar a "{0}({1})". + + + + + Busca una cadena traducida similar a "(NULL)". + + + + + Busca una cadena traducida similar a "(objeto)". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no contiene la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "{0} ({1})". + + + + + Busca una cadena traducida similar a "No se debe usar Assert.Equals para aserciones. Use Assert.AreEqual y Overloads en su lugar". + + + + + Busca una cadena traducida similar a "El número de elementos de las colecciones no coincide. Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {0} no coincide". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} no es del tipo esperado. Tipo esperado: <{2}>, tipo real: <{3}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} es (NULL). Se esperaba el tipo: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no termina con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "Argumento no válido: EqualsTester no puede utilizar valores NULL". + + + + + Busca una cadena traducida similar a "El objeto de tipo {0} no se puede convertir en {1}". + + + + + Busca una cadena traducida similar a "El objeto interno al que se hace referencia ya no es válido". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. {1}". + + + + + Busca una cadena traducida similar a "La propiedad {0} tiene el tipo {1}; se esperaba el tipo {2}". + + + + + Busca una cadena traducida similar a "{0} Tipo esperado: <{1}>. Tipo real: <{2}>". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "Tipo incorrecto: <{1}>. Tipo real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "No se especificó ningún atributo DataRowAttribute. Se requiere al menos un elemento DataRowAttribute con DataTestMethodAttribute". + + + + + Busca una cadena traducida similar a "No se produjo ninguna excepción. Se esperaba la excepción {1}. {0}". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. El valor no puede ser NULL. {1}". + + + + + Busca una cadena traducida similar a "Número diferente de elementos". + + + + + Busca una cadena traducida similar a + "No se encontró el constructor con la signatura especificada. Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a + "No se encontró el miembro especificado ({0}). Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no empieza con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "El tipo de excepción esperado debe ser System.Exception o un tipo derivado de System.Exception". + + + + + Busca una cadena traducida similar a "No se pudo obtener el mensaje para una excepción del tipo {0} debido a una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba no inició la excepción esperada {0}. {1}". + + + + + Busca una cadena traducida similar a "El método de prueba no inició una excepción. El atributo {0} definido en el método de prueba esperaba una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1}. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1} o un tipo derivado de ella. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "Se produjo la excepción {2}, pero se esperaba la excepción {1}. {0} + Mensaje de excepción: {3} + Seguimiento de la pila: {4}". + + + + + Resultados de la prueba unitaria. + + + + + La prueba se ejecutó, pero hubo problemas. + Entre estos, puede haber excepciones o aserciones con errores. + + + + + La prueba se completó, pero no podemos determinar si el resultado fue correcto o no. + Se puede usar para pruebas anuladas. + + + + + La prueba se ejecutó sin problemas. + + + + + La prueba se está ejecutando. + + + + + Error del sistema al intentar ejecutar una prueba. + + + + + Se agotó el tiempo de espera de la prueba. + + + + + El usuario anuló la prueba. + + + + + La prueba tiene un estado desconocido + + + + + Proporciona funcionalidad auxiliar para el marco de pruebas unitarias. + + + + + Obtiene los mensajes de excepción, incluidos los mensajes de todas las excepciones internas, + de forma recursiva. + + Excepción para la que se obtienen los mensajes + la cadena con información del mensaje de error + + + + Enumeración para cuando se agota el tiempo de espera que se puede usar con el atributo . + El tipo de la enumeración debe coincidir. + + + + + Infinito. + + + + + Atributo de la clase de prueba. + + + + + Obtiene un atributo de método de prueba que habilita la ejecución de esta prueba. + + La instancia de atributo de método de prueba definida en este método. + Tipo que se utilizará para ejecutar esta prueba. + Extensions can override this method to customize how all methods in a class are run. + + + + Atributo del método de prueba. + + + + + Ejecuta un método de prueba. + + El método de prueba para ejecutar. + Una matriz de objetos de TestResult que representan los resultados de la prueba. + Extensions can override this method to customize running a TestMethod. + + + + Atributo para inicializar la prueba. + + + + + Atributo de limpieza de la prueba. + + + + + Atributo de omisión. + + + + + Atributo de propiedad de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El nombre. + + + El valor. + + + + + Obtiene el nombre. + + + + + Obtiene el valor. + + + + + Atributo de inicialización de la clase. + + + + + Atributo de limpieza de la clase. + + + + + Atributo de inicialización del ensamblado. + + + + + Atributo de limpieza del ensamblado. + + + + + Propietario de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El propietario. + + + + + Obtiene el propietario. + + + + + Atributo de prioridad. Se usa para especificar la prioridad de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + La prioridad. + + + + + Obtiene la prioridad. + + + + + Descripción de la prueba. + + + + + Inicializa una nueva instancia de la clase para describir una prueba. + + La descripción. + + + + Obtiene la descripción de una prueba. + + + + + URI de estructura de proyectos de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de estructura de proyecto de CSS. + + URI de estructura de proyectos de CSS. + + + + Obtiene el URI de estructura de proyectos de CSS. + + + + + URI de iteración de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de iteración de CSS. + + URI de iteración de CSS. + + + + Obtiene el URI de iteración de CSS. + + + + + Atributo WorkItem. Se usa para especificar un elemento de trabajo asociado a esta prueba. + + + + + Inicializa una nueva instancia de la clase para el atributo WorkItem. + + Identificador de un elemento de trabajo. + + + + Obtiene el identificador de un elemento de trabajo asociado. + + + + + Atributo de tiempo de espera. Se usa para especificar el tiempo de espera de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + Tiempo de espera. + + + + + Inicializa una nueva instancia de la clase con un tiempo de espera preestablecido. + + + Tiempo de espera + + + + + Obtiene el tiempo de espera. + + + + + Objeto TestResult que debe devolverse al adaptador. + + + + + Inicializa una nueva instancia de la clase . + + + + + Obtiene o establece el nombre para mostrar del resultado. Es útil cuando se devuelven varios resultados. + Si es NULL, se utiliza el nombre del método como nombre para mostrar. + + + + + Obtiene o establece el resultado de la ejecución de pruebas. + + + + + Obtiene o establece la excepción que se inicia cuando la prueba da error. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece el seguimiento de depuración que realiza el código de la prueba. + + + + + Gets or sets the debug traces by test code. + + + + + Obtiene o establece la duración de la ejecución de la prueba. + + + + + Obtiene o establece el índice de la fila de datos en el origen de datos. Se establece solo para resultados + de ejecuciones individuales de filas de datos de una prueba controlada por datos. + + + + + Obtiene o establece el valor devuelto del método de prueba. Actualmente es siempre NULL. + + + + + Obtiene o establece los archivos de resultados que adjunta la prueba. + + + + + Especifica la cadena de conexión, el nombre de tabla y el método de acceso a fila para las pruebas controladas por datos. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nombre de proveedor predeterminado del origen de datos. + + + + + Método de acceso a datos predeterminado. + + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos, una cadena de conexión, una tabla de datos y un método de acceso a datos para acceder al origen de datos. + + Nombre invariable del proveedor de datos, como System.Data.SqlClient + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + Especifica el orden de acceso a los datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con una cadena de conexión y un nombre de tabla. + Especifique la cadena de conexión y la tabla de datos para acceder al origen de datos OLEDB. + + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos y una cadena de conexión asociada al nombre del valor de configuración. + + El nombre de un origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + Obtiene un valor que representa el proveedor de datos del origen de datos. + + + Nombre del proveedor de datos. Si no se designó un proveedor de datos al inicializar el objeto, se devolverá el proveedor predeterminado de System.Data.OleDb. + + + + + Obtiene un valor que representa la cadena de conexión para el origen de datos. + + + + + Obtiene un valor que indica el nombre de la tabla que proporciona los datos. + + + + + Obtiene el método usado para tener acceso al origen de datos. + + + + Uno de los . Si no se ha inicializado, devolverá el valor predeterminado . + + + + + Obtiene el nombre del origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + + Atributo para una prueba controlada por datos donde los datos pueden especificarse insertados. + + + + + Busca todas las filas de datos y las ejecuta. + + + El método de prueba. + + + Una matriz de . + + + + + Ejecuta el método de prueba controlada por datos. + + Método de prueba para ejecutar. + Fila de datos. + Resultados de la ejecución. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..fcb3e3f9a --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Permet de spécifier l'élément de déploiement (fichier ou répertoire) pour un déploiement par test. + Peut être spécifié sur une classe de test ou une méthode de test. + Peut avoir plusieurs instances de l'attribut pour spécifier plusieurs éléments. + Le chemin de l'élément peut être absolu ou relatif. S'il est relatif, il l'est par rapport à RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Initialise une nouvelle instance de la classe . + + Fichier ou répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + + + + Initialise une nouvelle instance de la classe + + Chemin relatif ou absolu du fichier ou du répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + Chemin du répertoire dans lequel les éléments doivent être copiés. Il peut être absolu ou relatif au répertoire de déploiement. Tous les fichiers et répertoires identifiés par vont être copiés dans ce répertoire. + + + + Obtient le chemin du fichier ou dossier source à copier. + + + + + Obtient le chemin du répertoire dans lequel l'élément est copié. + + + + + Contient les littéraux pour les noms de sections, de propriétés et d'attributs. + + + + + Nom de la section de configuration. + + + + + Nom de la section de configuration pour Beta2. Conservé par souci de compatibilité. + + + + + Nom de section pour la source de données. + + + + + Nom d'attribut pour 'Name' + + + + + Nom d'attribut pour 'ConnectionString' + + + + + Nom d'attribut de 'DataAccessMethod' + + + + + Nom d'attribut de 'DataTable' + + + + + Élément de la source de données. + + + + + Obtient ou définit le nom de cette configuration. + + + + + Obtient ou définit l'élément ConnectionStringSettings dans la section <connectionStrings> du fichier .config. + + + + + Obtient ou définit le nom de la table de données. + + + + + Obtient ou définit le type d'accès aux données. + + + + + Obtient le nom de la clé. + + + + + Obtient les propriétés de configuration. + + + + + Collection d'éléments de la source de données. + + + + + Initialise une nouvelle instance de la classe . + + + + + Retourne l'élément de configuration avec la clé spécifiée. + + Clé de l'élément à retourner. + System.Configuration.ConfigurationElement avec la clé spécifiée ; sinon, null. + + + + Obtient l'élément de configuration à l'emplacement d'index spécifié. + + Emplacement d'index du System.Configuration.ConfigurationElement à retourner. + + + + Ajoute un élément de configuration à la collection d'éléments de configuration. + + System.Configuration.ConfigurationElement à ajouter. + + + + Supprime System.Configuration.ConfigurationElement de la collection. + + Le . + + + + Supprime System.Configuration.ConfigurationElement de la collection. + + Clé du System.Configuration.ConfigurationElement à supprimer. + + + + Supprime tous les objets d'éléments de configuration dans la collection. + + + + + Crée . + + Nouveau . + + + + Obtient la clé d'un élément de configuration spécifique. + + System.Configuration.ConfigurationElement dont la clé doit être retournée. + System.Object qui fait office de clé pour le System.Configuration.ConfigurationElement spécifié. + + + + Ajoute un élément de configuration à la collection d'éléments de configuration. + + System.Configuration.ConfigurationElement à ajouter. + + + + Ajoute un élément de configuration à la collection d'éléments de configuration. + + Emplacement d'index où ajouter le System.Configuration.ConfigurationElement spécifié. + System.Configuration.ConfigurationElement à ajouter. + + + + Prise en charge des paramètres de configuration pour les tests. + + + + + Obtient la section de configuration des tests. + + + + + Section de configuration des tests. + + + + + Obtient les sources de données de cette section de configuration. + + + + + Obtient la collection de propriétés. + + + Le des propriétés de l'élément. + + + + + Cette classe représente l'objet INTERNE dynamique NON public dans le système + + + + + Initialise une nouvelle instance de la classe qui contient + l'objet déjà existant de la classe privée + + objet qui sert de point de départ pour atteindre les membres privés + chaîne de déréférencement utilisant . et qui pointe vers l'objet à récupérer, par exemple m_X.m_Y.m_Z + + + + Initialise une nouvelle instance de la classe qui inclut dans un wrapper le + type spécifié. + + Nom de l'assembly + nom complet + Arguments à passer au constructeur + + + + Initialise une nouvelle instance de la classe qui inclut dans un wrapper le + type spécifié. + + Nom de l'assembly + nom complet + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres du constructeur à obtenir + Arguments à passer au constructeur + + + + Initialise une nouvelle instance de la classe qui inclut dans un wrapper le + type spécifié. + + type d'objet à créer + Arguments à passer au constructeur + + + + Initialise une nouvelle instance de la classe qui inclut dans un wrapper le + type spécifié. + + type d'objet à créer + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres du constructeur à obtenir + Arguments à passer au constructeur + + + + Initialise une nouvelle instance de la classe qui inclut dans un wrapper + l'objet donné. + + objet à inclure dans un wrapper + + + + Initialise une nouvelle instance de la classe qui inclut dans un wrapper + l'objet donné. + + objet à inclure dans un wrapper + Objet PrivateType + + + + Obtient ou définit la cible + + + + + Obtient le type de l'objet sous-jacent + + + + + retourne le code de hachage de l'objet cible + + int représentant le code de hachage de l'objet cible + + + + Est égal à + + Objet à comparer + retourne true si les objets sont égaux. + + + + Appelle la méthode spécifiée + + Nom de la méthode + Arguments à passer au membre à appeler. + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à obtenir. + Arguments à passer au membre à appeler. + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à obtenir. + Arguments à passer au membre à appeler. + Tableau de types correspondant aux types des arguments génériques. + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Arguments à passer au membre à appeler. + Informations sur la culture + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à obtenir. + Arguments à passer au membre à appeler. + Informations sur la culture + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Arguments à passer au membre à appeler. + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à obtenir. + Arguments à passer au membre à appeler. + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Arguments à passer au membre à appeler. + Informations sur la culture + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à obtenir. + Arguments à passer au membre à appeler. + Informations sur la culture + Résultat de l'appel de méthode + + + + Appelle la méthode spécifiée + + Nom de la méthode + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à obtenir. + Arguments à passer au membre à appeler. + Informations sur la culture + Tableau de types correspondant aux types des arguments génériques. + Résultat de l'appel de méthode + + + + Obtient l'élément de tableau à l'aide du tableau d'indices pour chaque dimension + + Nom du membre + les indices du tableau + Tableau d'éléments. + + + + Définit l'élément de tableau à l'aide du tableau d'indices pour chaque dimension + + Nom du membre + Valeur à définir + les indices du tableau + + + + Obtient l'élément de tableau à l'aide du tableau d'indices pour chaque dimension + + Nom du membre + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + les indices du tableau + Tableau d'éléments. + + + + Définit l'élément de tableau à l'aide du tableau d'indices pour chaque dimension + + Nom du membre + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Valeur à définir + les indices du tableau + + + + Obtient le champ + + Nom du champ + Champ. + + + + Définit le champ + + Nom du champ + valeur à définir + + + + Obtient le champ + + Nom du champ + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Champ. + + + + Définit le champ + + Nom du champ + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + valeur à définir + + + + Obtient le champ ou la propriété + + Nom du champ ou de la propriété + Champ ou propriété. + + + + Définit le champ ou la propriété + + Nom du champ ou de la propriété + valeur à définir + + + + Obtient le champ ou la propriété + + Nom du champ ou de la propriété + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Champ ou propriété. + + + + Définit le champ ou la propriété + + Nom du champ ou de la propriété + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + valeur à définir + + + + Obtient la propriété + + Nom de la propriété + Arguments à passer au membre à appeler. + Propriété. + + + + Obtient la propriété + + Nom de la propriété + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + Arguments à passer au membre à appeler. + Propriété. + + + + Définit la propriété + + Nom de la propriété + valeur à définir + Arguments à passer au membre à appeler. + + + + Définit la propriété + + Nom de la propriété + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + valeur à définir + Arguments à passer au membre à appeler. + + + + Obtient la propriété + + Nom de la propriété + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Arguments à passer au membre à appeler. + Propriété. + + + + Obtient la propriété + + Nom de la propriété + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + Arguments à passer au membre à appeler. + Propriété. + + + + Définit la propriété + + Nom de la propriété + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + valeur à définir + Arguments à passer au membre à appeler. + + + + Définit la propriété + + Nom de la propriété + Masque de bits composé d'un ou de plusieurs qui spécifient la façon dont la recherche est effectuée. + valeur à définir + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + Arguments à passer au membre à appeler. + + + + Valide la chaîne d'accès + + chaîne d'accès + + + + Appelle le membre + + Nom du membre + Attributs supplémentaires + Arguments de l'appel + Culture + Résultat de l'appel + + + + Extrait la signature de méthode générique la plus appropriée à partir du type privé actuel. + + Nom de la méthode dans laquelle rechercher le cache de signatures. + Tableau de types correspondant aux types des paramètres où effectuer la recherche. + Tableau de types correspondant aux types des arguments génériques. + pour filtrer plus précisément les signatures de méthode. + Modificateurs des paramètres. + Instance de methodinfo. + + + + Cette classe représente une classe privée pour la fonctionnalité d'accesseur private. + + + + + Se lie à tout + + + + + Type inclus dans un wrapper. + + + + + Initialise une nouvelle instance de la classe qui contient le type privé. + + Nom de l'assembly + nom complet de + + + + Initialise une nouvelle instance de la classe qui contient + le type privé de l'objet de type + + Type inclus dans un wrapper à créer. + + + + Obtient le type référencé + + + + + Appelle un membre statique + + Nom du membre InvokeHelper + Arguments de l'appel + Résultat de l'appel + + + + Appelle un membre statique + + Nom du membre InvokeHelper + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à appeler + Arguments de l'appel + Résultat de l'appel + + + + Appelle un membre statique + + Nom du membre InvokeHelper + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à appeler + Arguments de l'appel + Tableau de types correspondant aux types des arguments génériques. + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Arguments de l'appel + Culture + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à appeler + Arguments de l'appel + Informations sur la culture + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Attributs d'appel supplémentaires + Arguments de l'appel + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Attributs d'appel supplémentaires + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à appeler + Arguments de l'appel + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Attributs d'appel supplémentaires + Arguments de l'appel + Culture + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Attributs d'appel supplémentaires + /// Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à appeler + Arguments de l'appel + Culture + Résultat de l'appel + + + + Appelle la méthode statique + + Nom du membre + Attributs d'appel supplémentaires + /// Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la méthode à appeler + Arguments de l'appel + Culture + Tableau de types correspondant aux types des arguments génériques. + Résultat de l'appel + + + + Obtient l'élément dans le tableau statique + + Nom du tableau + + Tableau unidimensionnel d'entiers 32 bits qui représentent les index spécifiant + la position de l'élément à obtenir. Par exemple, pour accéder à a[10][11], les indices sont {10,11} + + élément à l'emplacement spécifié + + + + Définit le membre du tableau statique + + Nom du tableau + valeur à définir + + Tableau unidimensionnel d'entiers 32 bits qui représentent les index spécifiant + la position de l'élément à définir. Par exemple, pour accéder à a[10][11], le tableau est {10,11} + + + + + Obtient l'élément dans le tableau statique + + Nom du tableau + Attributs InvokeHelper supplémentaires + + Tableau unidimensionnel d'entiers 32 bits qui représentent les index spécifiant + la position de l'élément à obtenir. Par exemple, pour accéder à a[10][11], le tableau est {10,11} + + élément à l'emplacement spécifié + + + + Définit le membre du tableau statique + + Nom du tableau + Attributs InvokeHelper supplémentaires + valeur à définir + + Tableau unidimensionnel d'entiers 32 bits qui représentent les index spécifiant + la position de l'élément à définir. Par exemple, pour accéder à a[10][11], le tableau est {10,11} + + + + + Obtient le champ static + + Nom du champ + Champ static. + + + + Définit le champ static + + Nom du champ + Argument de l'appel + + + + Obtient le champ static à l'aide des attributs InvokeHelper spécifiés + + Nom du champ + Attributs d'appel supplémentaires + Champ static. + + + + Définit le champ static à l'aide des attributs de liaison + + Nom du champ + Attributs InvokeHelper supplémentaires + Argument de l'appel + + + + Obtient le champ ou la propriété statique + + Nom du champ ou de la propriété + Champ ou propriété statique. + + + + Définit le champ ou la propriété statique + + Nom du champ ou de la propriété + Valeur à affecter au champ ou à la propriété + + + + Obtient le champ ou la propriété statique à l'aide des attributs InvokeHelper spécifiés + + Nom du champ ou de la propriété + Attributs d'appel supplémentaires + Champ ou propriété statique. + + + + Définit le champ ou la propriété statique à l'aide des attributs de liaison + + Nom du champ ou de la propriété + Attributs d'appel supplémentaires + Valeur à affecter au champ ou à la propriété + + + + Obtient la propriété statique + + Nom du champ ou de la propriété + Arguments de l'appel + Propriété statique. + + + + Définit la propriété statique + + Nom de la propriété + Valeur à affecter au champ ou à la propriété + Arguments à passer au membre à appeler. + + + + Définit la propriété statique + + Nom de la propriété + Valeur à affecter au champ ou à la propriété + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + Arguments à passer au membre à appeler. + + + + Obtient la propriété statique + + Nom de la propriété + Attributs d'appel supplémentaires. + Arguments à passer au membre à appeler. + Propriété statique. + + + + Obtient la propriété statique + + Nom de la propriété + Attributs d'appel supplémentaires. + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + Arguments à passer au membre à appeler. + Propriété statique. + + + + Définit la propriété statique + + Nom de la propriété + Attributs d'appel supplémentaires. + Valeur à affecter au champ ou à la propriété + Valeurs d'index facultatives pour les propriétés indexées. Les index des propriétés indexées sont de base zéro. Cette valeur doit être null pour les propriétés non indexées. + + + + Définit la propriété statique + + Nom de la propriété + Attributs d'appel supplémentaires. + Valeur à affecter au champ ou à la propriété + Tableau qui contient des objets représentant le nombre, l'ordre et le type des paramètres de la propriété indexée. + Arguments à passer au membre à appeler. + + + + Appelle la méthode statique + + Nom du membre + Attributs d'appel supplémentaires + Arguments de l'appel + Culture + Résultat de l'appel + + + + Fournit la découverte de signatures de méthodes pour les méthodes génériques. + + + + + Compare les signatures de méthode de ces deux méthodes. + + Method1 + Method2 + True en cas de similitude. + + + + Obtient la profondeur de la hiérarchie à partir du type de base du type fourni. + + Type. + Profondeur. + + + + Recherche le type le plus dérivé à l'aide des informations fournies. + + Concordances. + Nombre de correspondances. + Méthode la plus dérivée. + + + + À partir d'un ensemble de méthodes qui correspondent aux critères de base, sélectionnez une méthode + reposant sur un tableau de types. Cette méthode doit retourner une valeur null, si aucune méthode ne correspond + aux critères. + + Spécification de liaison. + Concordances + Types + Modificateurs des paramètres. + Méthode de concordance. Null en l'absence de concordance. + + + + Recherche la méthode la plus spécifique parmi les deux méthodes fournies. + + Méthode 1 + Ordre des paramètres pour la méthode 1 + Type du tableau de paramètres. + Méthode 2 + Ordre des paramètres pour la méthode 2 + >Type du tableau de paramètres. + Types à rechercher. + Args. + Type int représentant la concordance. + + + + Recherche la méthode la plus spécifique parmi les deux méthodes fournies. + + Méthode 1 + Ordre des paramètres pour la méthode 1 + Type du tableau de paramètres. + Méthode 2 + Ordre des paramètres pour la méthode 2 + >Type du tableau de paramètres. + Types à rechercher. + Args. + Type int représentant la concordance. + + + + Recherche le type le plus spécifique parmi les deux types fournis. + + Type 1 + Type 2 + Type de définition + Type int représentant la concordance. + + + + Permet de stocker les informations fournies pour les tests unitaires. + + + + + Obtient les propriétés de test d'un test. + + + + + Obtient la ligne de données active quand le test est utilisé pour un test piloté par les données. + + + + + Obtient la ligne de la connexion de données active quand le test est utilisé pour un test piloté par les données. + + + + + Obtient le répertoire de base de la série de tests, sous lequel sont stockés les fichiers déployés et les fichiers de résultats. + + + + + Obtient le répertoire des fichiers déployés pour la série de tests. Généralement, il s'agit d'un sous-répertoire de . + + + + + Obtient le répertoire de base des résultats de la série de tests. Généralement, il s'agit d'un sous-répertoire de . + + + + + Obtient le répertoire des fichiers de résultats des séries de tests. Généralement, il s'agit d'un sous-répertoire de . + + + + + Obtient le répertoire des fichiers de résultats des tests. + + + + + Obtient le répertoire de base de la série de tests, sous lequel sont stockés les fichiers déployés et les fichiers de résultats. + Identique à . Utilisez cette propriété à la place. + + + + + Obtient le répertoire des fichiers déployés pour la série de tests. Généralement, il s'agit d'un sous-répertoire de . + Identique à . Utilisez cette propriété à la place. + + + + + Obtient le répertoire des fichiers de résultats des séries de tests. Généralement, il s'agit d'un sous-répertoire de . + Identique à . Utilisez cette propriété pour les fichiers de résultats des séries de tests, ou + pour les fichiers de résultats des tests spécifiques, à la place. + + + + + Obtient le nom complet de la classe contenant la méthode de test en cours d'exécution + + + + + Obtient le nom de la méthode de test en cours d'exécution + + + + + Obtient le résultat de test actuel. + + + + + Permet d'écrire des messages de suivi quand le test est en cours d'exécution + + chaîne de message mise en forme + + + + Permet d'écrire des messages de suivi quand le test est en cours d'exécution + + chaîne de format + arguments + + + + Ajoute un nom de fichier à la liste dans TestResult.ResultFileNames + + + Nom du fichier. + + + + + Démarre un minuteur ayant le nom spécifié + + Nom du minuteur. + + + + Met fin à un minuteur ayant le nom spécifié + + Nom du minuteur. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2d63dc056 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod pour exécution. + + + + + Obtient le nom de la méthode de test. + + + + + Obtient le nom de la classe de test. + + + + + Obtient le type de retour de la méthode de test. + + + + + Obtient les paramètres de la méthode de test. + + + + + Obtient le methodInfo de la méthode de test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Appelle la méthode de test. + + + Arguments à passer à la méthode de test. (Exemple : pour un test piloté par les données) + + + Résultat de l'appel de la méthode de test. + + + This call handles asynchronous test methods as well. + + + + + Obtient tous les attributs de la méthode de test. + + + Indique si l'attribut défini dans la classe parente est valide. + + + Tous les attributs. + + + + + Obtient l'attribut du type spécifique. + + System.Attribute type. + + Indique si l'attribut défini dans la classe parente est valide. + + + Attributs du type spécifié. + + + + + Assistance. + + + + + Paramètre de vérification non null. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws argument null exception when parameter is null. + + + + Paramètre de vérification non null ou vide. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws ArgumentException when parameter is null. + + + + Énumération liée à la façon dont nous accédons aux lignes de données dans les tests pilotés par les données. + + + + + Les lignes sont retournées dans un ordre séquentiel. + + + + + Les lignes sont retournées dans un ordre aléatoire. + + + + + Attribut permettant de définir les données inline d'une méthode de test. + + + + + Initialise une nouvelle instance de la classe . + + Objet de données. + + + + Initialise une nouvelle instance de la classe qui accepte un tableau d'arguments. + + Objet de données. + Plus de données. + + + + Obtient les données permettant d'appeler la méthode de test. + + + + + Obtient ou définit le nom d'affichage dans les résultats des tests à des fins de personnalisation. + + + + + Exception d'assertion non concluante. + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Classe InternalTestFailureException. Sert à indiquer l'échec interne d'un cas de test + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + + + + Initialise une nouvelle instance de la classe . + + + + + Attribut indiquant d'attendre une exception du type spécifié + + + + + Initialise une nouvelle instance de la classe avec le type attendu + + Type de l'exception attendue + + + + Initialise une nouvelle instance de la classe avec + le type attendu et le message à inclure quand aucune exception n'est levée par le test. + + Type de l'exception attendue + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient une valeur indiquant le type de l'exception attendue + + + + + Obtient ou définit une valeur indiquant si les types dérivés du type de l'exception attendue peuvent + être éligibles comme prévu + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Vérifie que le type de l'exception levée par le test unitaire est bien attendu + + Exception levée par le test unitaire + + + + Classe de base des attributs qui spécifient d'attendre une exception d'un test unitaire + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception par défaut + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception + + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une + exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message d'absence d'exception par défaut + + Nom du type de l'attribut ExpectedException + Message d'absence d'exception par défaut + + + + Détermine si l'exception est attendue. Si la méthode est retournée, cela + signifie que l'exception est attendue. Si la méthode lève une exception, cela + signifie que l'exception n'est pas attendue, et que le message de l'exception levée + est inclus dans le résultat de test. La classe peut être utilisée par + commodité. Si est utilisé et si l'assertion est un échec, + le résultat de test a la valeur Non concluant. + + Exception levée par le test unitaire + + + + Lève à nouveau l'exception, s'il s'agit de AssertFailedException ou de AssertInconclusiveException + + Exception à lever de nouveau, s'il s'agit d'une exception d'assertion + + + + Cette classe permet à l'utilisateur d'effectuer des tests unitaires pour les types basés sur des types génériques. + GenericParameterHelper répond à certaines contraintes usuelles des types génériques, + exemple : + 1. constructeur par défaut public + 2. implémentation d'une interface commune : IComparable, IEnumerable + + + + + Initialise une nouvelle instance de la classe qui + répond à la contrainte 'newable' dans les génériques C#. + + + This constructor initializes the Data property to a random value. + + + + + Initialise une nouvelle instance de la classe qui + initialise la propriété Data en lui assignant une valeur fournie par l'utilisateur. + + Valeur entière + + + + Obtient ou définit les données + + + + + Compare la valeur de deux objets GenericParameterHelper + + objet à comparer + true si obj a la même valeur que l'objet GenericParameterHelper de 'this'. + sinon false. + + + + Retourne un code de hachage pour cet objet. + + Code de hachage. + + + + Compare les données des deux objets . + + Objet à comparer. + + Nombre signé indiquant les valeurs relatives de cette instance et de cette valeur. + + + Thrown when the object passed in is not an instance of . + + + + + Retourne un objet IEnumerator dont la longueur est dérivée de + la propriété Data. + + Objet IEnumerator + + + + Retourne un objet GenericParameterHelper égal à + l'objet actuel. + + Objet cloné. + + + + Permet aux utilisateurs de journaliser/d'écrire des traces de tests unitaires à des fins de diagnostic. + + + + + Gestionnaire de LogMessage. + + Message à journaliser. + + + + Événement à écouter. Déclenché quand le writer de test unitaire écrit un message. + Sert principalement à être consommé par un adaptateur. + + + + + API à appeler par le writer de test pour journaliser les messages. + + Format de chaîne avec des espaces réservés. + Paramètres des espaces réservés. + + + + Attribut TestCategory utilisé pour spécifier la catégorie d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe et applique la catégorie au test. + + + Catégorie de test. + + + + + Obtient les catégories de test appliquées au test. + + + + + Classe de base de l'attribut "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialise une nouvelle instance de la classe . + Applique la catégorie au test. Les chaînes retournées par TestCategories + sont utilisées avec la commande /category pour filtrer les tests + + + + + Obtient la catégorie de test appliquée au test. + + + + + Classe AssertFailedException. Sert à indiquer l'échec d'un cas de test + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Collection de classes d'assistance permettant de tester diverses conditions dans + des tests unitaires. Si la condition testée n'est pas remplie, une exception + est levée. + + + + + Obtient l'instance singleton de la fonctionnalité Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is true. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null. + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if refers to the same object + as . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is not equal to . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Lève AssertFailedException. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Les surcharges statiques d'equals comparent les instances de deux types pour déterminer si leurs références sont + égales entre elles. Cette méthode ne doit pas être utilisée pour évaluer si deux instances sont + égales entre elles. Cet objet est toujours levé avec Assert.Fail. Utilisez + Assert.AreEqual et les surcharges associées dans vos tests unitaires. + + Objet A + Objet B + False, toujours. + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Remplace les caractères Null ('\0') par "\\0". + + + Chaîne à rechercher. + + + Chaîne convertie où les caractères null sont remplacés par "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Fonction d'assistance qui crée et lève AssertionFailedException + + + nom de l'assertion levant une exception + + + message décrivant les conditions de l'échec d'assertion + + + Paramètres. + + + + + Vérifie la validité des conditions du paramètre + + + Paramètre. + + + Nom de l'assertion. + + + nom du paramètre + + + message d'exception liée à un paramètre non valide + + + Paramètres. + + + + + Convertit en toute sécurité un objet en chaîne, en gérant les valeurs null et les caractères Null. + Les valeurs null sont converties en "(null)". Les caractères Null sont convertis en "\\0". + + + Objet à convertir en chaîne. + + + Chaîne convertie. + + + + + Assertion de chaîne. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if matches . + + + + + Collection de classes d'assistance permettant de tester diverses conditions associées + à des collections dans les tests unitaires. Si la condition testée n'est pas + remplie, une exception est levée. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is found in + . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is not found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if every element in is also found in + . + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Détermine si la première collection est un sous-ensemble de la seconde + collection. Si l'un des deux ensembles contient des éléments dupliqués, le nombre + d'occurrences de l'élément dans le sous-ensemble doit être inférieur ou + égal au nombre d'occurrences dans le sur-ensemble. + + + Collection dans laquelle le test est censé être contenu . + + + Collection que le test est censé contenir . + + + True si est un sous-ensemble de + , sinon false. + + + + + Construit un dictionnaire contenant le nombre d'occurrences de chaque + élément dans la collection spécifiée. + + + Collection à traiter. + + + Nombre d'éléments de valeur null dans la collection. + + + Dictionnaire contenant le nombre d'occurrences de chaque élément + dans la collection spécifiée. + + + + + Recherche un élément incompatible parmi les deux collections. Un élément incompatible + est un élément qui n'apparaît pas avec la même fréquence dans la + collection attendue et dans la collection réelle. Les + collections sont supposées être des références non null distinctes ayant le + même nombre d'éléments. L'appelant est responsable de ce niveau de + vérification. S'il n'existe aucun élément incompatible, la fonction retourne + la valeur false et les paramètres out ne doivent pas être utilisés. + + + Première collection à comparer. + + + Seconde collection à comparer. + + + Nombre attendu d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Nombre réel d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Élément incompatible (pouvant avoir une valeur null), ou valeur null s'il n'existe aucun + élément incompatible. + + + true si un élément incompatible est trouvé ; sinon, false. + + + + + compare les objets via object.Equals + + + + + Classe de base pour les exceptions de framework. + + + + + Initialise une nouvelle instance de la classe . + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. + + + + + Retourne l'instance ResourceManager mise en cache utilisée par cette classe. + + + + + Remplace la propriété CurrentUICulture du thread actuel pour toutes + les recherches de ressources à l'aide de cette classe de ressource fortement typée. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne Access comporte une syntaxe non valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : La collection attendue contient {1} occurrence(s) de <{2}>. La collection réelle contient {3} occurrence(s). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Un élément dupliqué a été trouvé : <{1}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. La casse est différente pour la valeur réelle : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue non supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1} ({2})>. Réel : <{3} ({4})>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Toute valeur attendue sauf : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Ne passez pas de types valeur à AreSame(). Les valeurs converties en Object ne seront plus jamais les mêmes. Si possible, utilisez AreEqual(). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Échec de {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : async TestMethod utilisé avec UITestMethodAttribute n'est pas pris en charge. Supprimez async ou utilisez TestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections sont vides. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent des éléments identiques. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections Reference pointent vers le même objet Collection. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent les mêmes éléments. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0}({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : (null). + + + + + Recherche une chaîne localisée semblable à celle-ci : (objet). + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne contient pas la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} ({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : Assert.Equals ne doit pas être utilisé pour les assertions. Utilisez Assert.AreEqual et des surcharges à la place. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le nombre d'éléments dans les collections ne correspond pas. Attendu : <{1}>. Réel : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les éléments à l'index {0} ne correspondent pas. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} n'est pas du type attendu. Type attendu : <{2}>. Type réel : <{3}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} est (null). Type attendu : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne se termine pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Argument non valide - EqualsTester ne peut pas utiliser de valeurs null. + + + + + Recherche une chaîne localisée semblable à celle-ci : Impossible de convertir un objet de type {0} en {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'objet interne référencé n'est plus valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La propriété {0} a le type {1} ; type attendu {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} Type attendu : <{1}>. Type réel : <{2}>. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne correspond pas au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Type incorrect : <{1}>. Type réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' correspond au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucun DataRowAttribute spécifié. Au moins un DataRowAttribute est nécessaire avec DataTestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucune exception levée. Exception {1} attendue. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. La valeur ne peut pas être null. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Nombre d'éléments différent. + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le constructeur doté de la signature spécifiée est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le membre spécifié ({0}) est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne commence pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le type de l'exception attendue doit être System.Exception ou un type dérivé de System.Exception. + + + + + Recherche une chaîne localisée semblable à celle-ci : (Échec de la réception du message pour une exception de type {0} en raison d'une exception.). + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé l'exception attendue {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé d'exception. Une exception était attendue par l'attribut {0} défini sur la méthode de test. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} (ou un type dérivé de cette dernière) était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'exception {2} a été levée, mais l'exception {1} était attendue. {0} + Message d'exception : {3} + Arborescence des appels de procédure : {4}. + + + + + résultats du test unitaire + + + + + Le test a été exécuté mais des problèmes se sont produits. + Il peut s'agir de problèmes liés à des exceptions ou des échecs d'assertion. + + + + + Test effectué, mais nous ne pouvons pas dire s'il s'agit d'une réussite ou d'un échec. + Utilisable éventuellement pour les tests abandonnés. + + + + + Le test a été exécuté sans problème. + + + + + Le test est en cours d'exécution. + + + + + Une erreur système s'est produite pendant que nous tentions d'exécuter un test. + + + + + Délai d'expiration du test. + + + + + Test abandonné par l'utilisateur. + + + + + Le test est dans un état inconnu + + + + + Fournit une fonctionnalité d'assistance pour le framework de tests unitaires + + + + + Obtient les messages d'exception, notamment les messages de toutes les exceptions internes + de manière récursive + + Exception pour laquelle les messages sont obtenus + chaîne avec les informations du message d'erreur + + + + Énumération des délais d'expiration, qui peut être utilisée avec la classe . + Le type de l'énumération doit correspondre + + + + + Infini. + + + + + Attribut de la classe de test. + + + + + Obtient un attribut de méthode de test qui permet d'exécuter ce test. + + Instance d'attribut de méthode de test définie sur cette méthode. + Le à utiliser pour exécuter ce test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attribut de la méthode de test. + + + + + Exécute une méthode de test. + + Méthode de test à exécuter. + Tableau d'objets TestResult qui représentent le ou les résultats du test. + Extensions can override this method to customize running a TestMethod. + + + + Attribut d'initialisation du test. + + + + + Attribut de nettoyage du test. + + + + + Attribut ignore. + + + + + Attribut de la propriété de test. + + + + + Initialise une nouvelle instance de la classe . + + + Nom. + + + Valeur. + + + + + Obtient le nom. + + + + + Obtient la valeur. + + + + + Attribut d'initialisation de la classe. + + + + + Attribut de nettoyage de la classe. + + + + + Attribut d'initialisation de l'assembly. + + + + + Attribut de nettoyage de l'assembly. + + + + + Propriétaire du test + + + + + Initialise une nouvelle instance de la classe . + + + Propriétaire. + + + + + Obtient le propriétaire. + + + + + Attribut Priority utilisé pour spécifier la priorité d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Priorité. + + + + + Obtient la priorité. + + + + + Description du test + + + + + Initialise une nouvelle instance de la classe pour décrire un test. + + Description. + + + + Obtient la description d'un test. + + + + + URI de structure de projet CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI de structure de projet CSS. + + URI de structure de projet CSS. + + + + Obtient l'URI de structure de projet CSS. + + + + + URI d'itération CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI d'itération CSS. + + URI d'itération CSS. + + + + Obtient l'URI d'itération CSS. + + + + + Attribut WorkItem permettant de spécifier un élément de travail associé à ce test. + + + + + Initialise une nouvelle instance de la classe pour l'attribut WorkItem. + + ID d'un élément de travail. + + + + Obtient l'ID d'un élément de travail associé. + + + + + Attribut Timeout utilisé pour spécifier le délai d'expiration d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Délai d'expiration. + + + + + Initialise une nouvelle instance de la classe avec un délai d'expiration prédéfini + + + Délai d'expiration + + + + + Obtient le délai d'attente. + + + + + Objet TestResult à retourner à l'adaptateur. + + + + + Initialise une nouvelle instance de la classe . + + + + + Obtient ou définit le nom d'affichage du résultat. Utile pour retourner plusieurs résultats. + En cas de valeur null, le nom de la méthode est utilisé en tant que DisplayName. + + + + + Obtient ou définit le résultat de l'exécution du test. + + + + + Obtient ou définit l'exception levée en cas d'échec du test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit les traces de débogage du code de test. + + + + + Gets or sets the debug traces by test code. + + + + + Obtient ou définit la durée de l'exécution du test. + + + + + Obtient ou définit l'index de ligne de données dans la source de données. Défini uniquement pour les résultats de + l'exécution individuelle de la ligne de données d'un test piloté par les données. + + + + + Obtient ou définit la valeur renvoyée de la méthode de test. (Toujours null). + + + + + Obtient ou définit les fichiers de résultats attachés par le test. + + + + + Spécifie la chaîne de connexion, le nom de la table et la méthode d'accès aux lignes pour les tests pilotés par les données. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nom du fournisseur par défaut de DataSource. + + + + + Méthode d'accès aux données par défaut. + + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données, une chaîne de connexion, une table de données et une méthode d'accès aux données pour accéder à la source de données. + + Nom du fournisseur de données invariant, par exemple System.Data.SqlClient + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + Spécifie l'ordre d'accès aux données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec une chaîne de connexion et un nom de table. + Spécifiez la chaîne de connexion et la table de données permettant d'accéder à la source de données OLEDB. + + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données et une chaîne de connexion associés au nom du paramètre. + + Nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + Obtient une valeur représentant le fournisseur de données de la source de données. + + + Nom du fournisseur de données. Si aucun fournisseur de données n'a été désigné au moment de l'initialisation de l'objet, le fournisseur par défaut de System.Data.OleDb est retourné. + + + + + Obtient une valeur représentant la chaîne de connexion de la source de données. + + + + + Obtient une valeur indiquant le nom de la table qui fournit les données. + + + + + Obtient la méthode utilisée pour accéder à la source de données. + + + + Une des valeurs possibles. Si n'est pas initialisé, ce qui entraîne le retour de la valeur par défaut . + + + + + Obtient le nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + + Attribut du test piloté par les données, où les données peuvent être spécifiées inline. + + + + + Recherche toutes les lignes de données et les exécute. + + + Méthode de test. + + + Tableau des . + + + + + Exécute la méthode de test piloté par les données. + + Méthode de test à exécuter. + Ligne de données. + Résultats de l'exécution. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..d743158b2 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usato per specificare l'elemento di distribuzione (file o directory) per la distribuzione per singolo test. + Può essere specificato in classi o metodi di test. + Può contenere più istanze dell'attributo per specificare più di un elemento. + Il percorso dell'elemento può essere assoluto o relativo; se è relativo, è relativo rispetto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Inizializza una nuova istanza della classe . + + File o directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + + + + Inizializza una nuova istanza della classe + + Percorso relativo o assoluto del file o della directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + Percorso della directory in cui vengono copiati gli elementi. Può essere assoluto o relativo rispetto alla directory di distribuzione. Tutte le directory e tutti i file identificati da verranno copiati in questa directory. + + + + Ottiene il percorso della cartella o del file di origine da copiare. + + + + + Ottiene il percorso della directory in cui viene copiato l'elemento. + + + + + Contiene i valori letterali relativi ai nomi di sezioni, proprietà, attributi. + + + + + Nome della sezione di configurazione. + + + + + Nome della sezione della configurazione per Beta2. Opzione lasciata per garantire la compatibilità. + + + + + Nome della sezione per l'origine dati. + + + + + Nome di attributo per 'Name' + + + + + Nome di attributo per 'ConnectionString' + + + + + Nome di attributo per 'DataAccessMethod' + + + + + Nome di attributo per 'DataTable' + + + + + Elemento dell'origine dati. + + + + + Ottiene o imposta il nome di questa configurazione. + + + + + Ottiene o imposta l'elemento ConnectionStringSettings nella sezione <connectionStrings> del file con estensione config. + + + + + Ottiene o imposta il nome della tabella dati. + + + + + Ottiene o imposta il tipo di accesso ai dati. + + + + + Ottiene il nome della chiave. + + + + + Ottiene le proprietà di configurazione. + + + + + Raccolta di elementi dell'origine dati. + + + + + Inizializza una nuova istanza della classe . + + + + + Restituisce l'elemento di configurazione con la chiave specificata. + + Chiave dell'elemento da restituire. + Elemento System.Configuration.ConfigurationElement con la chiave specificata; in caso contrario, Null. + + + + Ottiene l'elemento di configurazione nella posizione di indice specificata. + + Posizione di indice dell'elemento System.Configuration.ConfigurationElement da restituire. + + + + Aggiunge un elemento di configurazione alla raccolta di elementi di configurazione. + + Elemento System.Configuration.ConfigurationElement da aggiungere. + + + + Rimuove un elemento System.Configuration.ConfigurationElement dalla raccolta. + + Elemento . + + + + Rimuove un elemento System.Configuration.ConfigurationElement dalla raccolta. + + Chiave dell'elemento System.Configuration.ConfigurationElement da rimuovere. + + + + Rimuove tutti gli oggetti degli elementi di configurazione dalla raccolta. + + + + + Crea un nuovo oggetto . + + Nuovo elemento . + + + + Ottiene la chiave dell'elemento per un elemento di configurazione specificato. + + Elemento System.Configuration.ConfigurationElement per cui restituire la chiave. + Elemento System.Object che funge da chiave per l'elemento System.Configuration.ConfigurationElement specificato. + + + + Aggiunge un elemento di configurazione alla raccolta di elementi di configurazione. + + Elemento System.Configuration.ConfigurationElement da aggiungere. + + + + Aggiunge un elemento di configurazione alla raccolta di elementi di configurazione. + + Posizione di indice in cui aggiungere l'elemento System.Configuration.ConfigurationElement specificato. + Elemento System.Configuration.ConfigurationElement da aggiungere. + + + + Supporto per le impostazioni di configurazione per Test. + + + + + Ottiene la sezione della configurazione per i test. + + + + + Sezione della configurazione per i test. + + + + + Ottiene le origini dati per questa sezione della configurazione. + + + + + Ottiene la raccolta di proprietà. + + + delle proprietà per l'elemento. + + + + + Questa classe rappresenta l'oggetto INTERNO attivo NON pubblico nel sistema + + + + + Inizializza una nuova istanza della classe che contiene + l'oggetto già esistente della classe privata + + oggetto che funge da punto di partenza per raggiungere i membri privati + stringa di deferenziazione che usa . e punta all'oggetto da recuperare come in m_X.m_Y.m_Z + + + + Inizializza una nuova istanza della classe che esegue il wrapping del + tipo specificato. + + Nome dell'assembly + nome completo + Argomenti da passare al costruttore + + + + Inizializza una nuova istanza della classe che esegue il wrapping del + tipo specificato. + + Nome dell'assembly + nome completo + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al costruttore da ottenere + Argomenti da passare al costruttore + + + + Inizializza una nuova istanza della classe che esegue il wrapping del + tipo specificato. + + tipo dell'oggetto da creare + Argomenti da passare al costruttore + + + + Inizializza una nuova istanza della classe che esegue il wrapping del + tipo specificato. + + tipo dell'oggetto da creare + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al costruttore da ottenere + Argomenti da passare al costruttore + + + + Inizializza una nuova istanza della classe che esegue il wrapping + dell'oggetto specificato. + + oggetto di cui eseguire il wrapping + + + + Inizializza una nuova istanza della classe che esegue il wrapping + dell'oggetto specificato. + + oggetto di cui eseguire il wrapping + Oggetto PrivateType + + + + Ottiene o imposta la destinazione + + + + + Ottiene il tipo dell'oggetto sottostante + + + + + restituisce il codice hash dell'oggetto di destinazione + + int che rappresenta il codice hash dell'oggetto di destinazione + + + + È uguale a + + Oggetto con cui eseguire il confronto + restituisce true se gli oggetti sono uguali. + + + + Richiama il metodo specificato + + Nome del metodo + Argomenti da passare al membro da richiamare. + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da ottenere. + Argomenti da passare al membro da richiamare. + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da ottenere. + Argomenti da passare al membro da richiamare. + Matrice di tipi corrispondenti ai tipi degli argomenti generici. + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Argomenti da passare al membro da richiamare. + Info su impostazioni cultura + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da ottenere. + Argomenti da passare al membro da richiamare. + Info su impostazioni cultura + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Argomenti da passare al membro da richiamare. + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da ottenere. + Argomenti da passare al membro da richiamare. + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Argomenti da passare al membro da richiamare. + Info su impostazioni cultura + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da ottenere. + Argomenti da passare al membro da richiamare. + Info su impostazioni cultura + Risultato della chiamata al metodo + + + + Richiama il metodo specificato + + Nome del metodo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da ottenere. + Argomenti da passare al membro da richiamare. + Info su impostazioni cultura + Matrice di tipi corrispondenti ai tipi degli argomenti generici. + Risultato della chiamata al metodo + + + + Ottiene l'elemento di matrice usando la matrice di indici per ogni dimensione + + Nome del membro + indici della matrice + Matrice di elementi. + + + + Imposta l'elemento di matrice usando la matrice di indici per ogni dimensione + + Nome del membro + Valore da impostare + indici della matrice + + + + Ottiene l'elemento di matrice usando la matrice di indici per ogni dimensione + + Nome del membro + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + indici della matrice + Matrice di elementi. + + + + Imposta l'elemento di matrice usando la matrice di indici per ogni dimensione + + Nome del membro + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Valore da impostare + indici della matrice + + + + Ottiene il campo + + Nome del campo + Campo. + + + + Imposta il campo + + Nome del campo + valore da impostare + + + + Ottiene il campo + + Nome del campo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Campo. + + + + Imposta il campo + + Nome del campo + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + valore da impostare + + + + Ottiene il campo o la proprietà + + Nome del campo o della proprietà + Campo o proprietà. + + + + Imposta il campo o la proprietà + + Nome del campo o della proprietà + valore da impostare + + + + Ottiene il campo o la proprietà + + Nome del campo o della proprietà + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Campo o proprietà. + + + + Imposta il campo o la proprietà + + Nome del campo o della proprietà + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + valore da impostare + + + + Ottiene la proprietà + + Nome della proprietà + Argomenti da passare al membro da richiamare. + Proprietà. + + + + Ottiene la proprietà + + Nome della proprietà + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + Argomenti da passare al membro da richiamare. + Proprietà. + + + + Imposta la proprietà + + Nome della proprietà + valore da impostare + Argomenti da passare al membro da richiamare. + + + + Imposta la proprietà + + Nome della proprietà + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + valore da impostare + Argomenti da passare al membro da richiamare. + + + + Ottiene la proprietà + + Nome della proprietà + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Argomenti da passare al membro da richiamare. + Proprietà. + + + + Ottiene la proprietà + + Nome della proprietà + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + Argomenti da passare al membro da richiamare. + Proprietà. + + + + Imposta la proprietà + + Nome della proprietà + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + valore da impostare + Argomenti da passare al membro da richiamare. + + + + Imposta la proprietà + + Nome della proprietà + Maschera di bit costituita da uno o più che specificano in che modo viene eseguita la ricerca. + valore da impostare + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + Argomenti da passare al membro da richiamare. + + + + Convalida la stringa di accesso + + stringa di accesso + + + + Richiama il membro + + Nome del membro + Attributi aggiuntivi + Argomenti della chiamata + Impostazioni cultura + Risultato della chiamata + + + + Estrae la firma del metodo generico più appropriata dal tipo privato corrente. + + Nome del metodo in cui cercare la cache delle firme. + Matrice di tipi corrispondenti ai tipi dei parametri in cui eseguire la ricerca. + Matrice di tipi corrispondenti ai tipi degli argomenti generici. + per filtrare ulteriormente le firme del metodo. + Modificatori per i parametri. + Istanza di MethodInfo. + + + + Questa classe rappresenta una classe privata per la funzionalità della funzione di accesso privata. + + + + + Esegue il binding a tutto + + + + + Tipo di cui è stato eseguito il wrapping. + + + + + Inizializza una nuova istanza della classe che contiene il tipo privato. + + Nome dell'assembly + nome completo del + + + + Inizializza una nuova istanza della classe che contiene + il tipo privato dell'oggetto tipo + + Oggetto Type con wrapping da creare. + + + + Ottiene il tipo di riferimento + + + + + Richiama il membro statico + + Nome del membro per InvokeHelper + Argomenti della chiamata + Risultato della chiamata + + + + Richiama il membro statico + + Nome del membro per InvokeHelper + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da richiamare + Argomenti della chiamata + Risultato della chiamata + + + + Richiama il membro statico + + Nome del membro per InvokeHelper + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da richiamare + Argomenti della chiamata + Matrice di tipi corrispondenti ai tipi degli argomenti generici. + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Argomenti della chiamata + Impostazioni cultura + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da richiamare + Argomenti della chiamata + Info su impostazioni cultura + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Attributi di chiamata aggiuntivi + Argomenti della chiamata + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Attributi di chiamata aggiuntivi + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da richiamare + Argomenti della chiamata + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Attributi di chiamata aggiuntivi + Argomenti della chiamata + Impostazioni cultura + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Attributi di chiamata aggiuntivi + /// Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da richiamare + Argomenti della chiamata + Impostazioni cultura + Risultato della chiamata + + + + Richiama il metodo statico + + Nome del membro + Attributi di chiamata aggiuntivi + /// Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi al metodo da richiamare + Argomenti della chiamata + Impostazioni cultura + Matrice di tipi corrispondenti ai tipi degli argomenti generici. + Risultato della chiamata + + + + Ottiene l'elemento nella matrice statica + + Nome della matrice + + Matrice unidimensionale di valori interi a 32 bit che rappresentano gli indici che specificano + la posizione dell'elemento da ottenere. Ad esempio, per accedere a a[10][11], gli indici sono {10,11} + + elemento alla posizione specificata + + + + Imposta il membro della matrice statica + + Nome della matrice + valore da impostare + + Matrice unidimensionale di valori interi a 32 bit che rappresentano gli indici che specificano + la posizione dell'elemento da impostare. Ad esempio, per accedere a a[10][11], la matrice è {10,11} + + + + + Ottiene l'elemento nella matrice statica + + Nome della matrice + Attributi di InvokeHelper aggiuntivi + + Matrice unidimensionale di valori interi a 32 bit che rappresentano gli indici che specificano + la posizione dell'elemento da ottenere. Ad esempio, per accedere a a[10][11], la matrice è {10,11} + + elemento alla posizione specificata + + + + Imposta il membro della matrice statica + + Nome della matrice + Attributi di InvokeHelper aggiuntivi + valore da impostare + + Matrice unidimensionale di valori interi a 32 bit che rappresentano gli indici che specificano + la posizione dell'elemento da impostare. Ad esempio, per accedere a a[10][11], la matrice è {10,11} + + + + + Ottiene il campo statico + + Nome del campo + Campo statico. + + + + Imposta il campo statico + + Nome del campo + Argomento della chiamata + + + + Ottiene il campo statico usando gli attributi specificati di InvokeHelper + + Nome del campo + Attributi di chiamata aggiuntivi + Campo statico. + + + + Imposta il campo statico usando gli attributi di binding + + Nome del campo + Attributi di InvokeHelper aggiuntivi + Argomento della chiamata + + + + Ottiene la proprietà o il campo statico + + Nome del campo o della proprietà + Campo o proprietà statica. + + + + Imposta la proprietà o il campo statico + + Nome del campo o della proprietà + Valore da impostare sul campo o sulla proprietà + + + + Ottiene la proprietà o il campo statico usando gli attributi specificati di InvokeHelper + + Nome del campo o della proprietà + Attributi di chiamata aggiuntivi + Campo o proprietà statica. + + + + Imposta la proprietà o il campo statico usando gli attributi di binding + + Nome del campo o della proprietà + Attributi di chiamata aggiuntivi + Valore da impostare sul campo o sulla proprietà + + + + Ottiene la proprietà statica + + Nome del campo o della proprietà + Argomenti della chiamata + Proprietà statica. + + + + Imposta la proprietà statica + + Nome della proprietà + Valore da impostare sul campo o sulla proprietà + Argomenti da passare al membro da richiamare. + + + + Imposta la proprietà statica + + Nome della proprietà + Valore da impostare sul campo o sulla proprietà + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + Argomenti da passare al membro da richiamare. + + + + Ottiene la proprietà statica + + Nome della proprietà + Attributi di chiamata aggiuntivi. + Argomenti da passare al membro da richiamare. + Proprietà statica. + + + + Ottiene la proprietà statica + + Nome della proprietà + Attributi di chiamata aggiuntivi. + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + Argomenti da passare al membro da richiamare. + Proprietà statica. + + + + Imposta la proprietà statica + + Nome della proprietà + Attributi di chiamata aggiuntivi. + Valore da impostare sul campo o sulla proprietà + Valori di indice facoltativi per le proprietà indicizzate. Gli indici delle proprietà indicizzate sono in base zero. Questo valore deve essere Null per le proprietà non indicizzate. + + + + Imposta la proprietà statica + + Nome della proprietà + Attributi di chiamata aggiuntivi. + Valore da impostare sul campo o sulla proprietà + Matrice di oggetti che rappresentano numero, ordine e tipo dei parametri relativi alla proprietà indicizzata. + Argomenti da passare al membro da richiamare. + + + + Richiama il metodo statico + + Nome del membro + Attributi di chiamata aggiuntivi + Argomenti della chiamata + Impostazioni cultura + Risultato della chiamata + + + + Fornisce l'individuazione della firma del metodo per i metodi generici. + + + + + Confronta le firme di questi due metodi. + + Method1 + Method2 + True se sono simili. + + + + Ottiene la profondità della gerarchia dal tipo di base del tipo fornito. + + Tipo. + Profondità. + + + + Trova il tipo più derivato con le informazioni fornite. + + Corrispondenze possibili. + Numero di corrispondenze. + Metodo più derivato. + + + + Dato un set di metodi corrispondenti ai criteri di base, seleziona un metodo + basato su una matrice di tipi. Questo metodo deve restituire Null se nessun + metodo corrisponde ai criteri. + + Specifica del binding. + Corrispondenze possibili + Tipi + Modificatori di parametro. + Metodo corrispondente. È Null se non ci sono metodi corrispondenti. + + + + Trova il metodo più specifico tra i due metodi forniti. + + Metodo 1 + Ordine dei parametri per il metodo 1 + Tipo della matrice di parametri. + Metodo 2 + Ordine dei parametri per il metodo 2 + >Tipo della matrice di parametri. + Tipi in cui eseguire la ricerca. + Argomenti. + Tipo int che rappresenta la corrispondenza. + + + + Trova il metodo più specifico tra i due metodi forniti. + + Metodo 1 + Ordine dei parametri per il metodo 1 + Tipo della matrice di parametri. + Metodo 2 + Ordine dei parametri per il metodo 2 + >Tipo della matrice di parametri. + Tipi in cui eseguire la ricerca. + Argomenti. + Tipo int che rappresenta la corrispondenza. + + + + Trova il tipo più specifico tra i due tipi forniti. + + Tipo 1 + Tipo 2 + Tipo per la definizione + Tipo int che rappresenta la corrispondenza. + + + + Usata per archiviare le informazioni fornite agli unit test. + + + + + Ottiene le proprietà di un test. + + + + + Ottiene la riga di dati corrente quando il test viene usato per test basati sui dati. + + + + + Ottiene la riga di connessione dati corrente quando il test viene usato per test basati sui dati. + + + + + Ottiene la directory di base per l'esecuzione dei test, in cui vengono archiviati i file distribuiti e i file di risultati. + + + + + Ottiene la directory per i file distribuiti per l'esecuzione dei test. È in genere una sottodirectory di . + + + + + Ottiene la directory di base per i risultati dell'esecuzione dei test. È in genere una sottodirectory di . + + + + + Ottiene la directory per i file di risultati dell'esecuzione dei test. È in genere una sottodirectory di . + + + + + Ottiene la directory per i file di risultati del test. + + + + + Ottiene la directory di base per l'esecuzione dei test, in cui vengono archiviati i file distribuiti e i file di risultati. + Uguale a . In alternativa, usare tale proprietà. + + + + + Ottiene la directory per i file distribuiti per l'esecuzione dei test. È in genere una sottodirectory di . + Uguale a . In alternativa, usare tale proprietà. + + + + + Ottiene la directory per i file di risultati dell'esecuzione dei test. È in genere una sottodirectory di . + Uguale a . In alternativa, usare tale proprietà per i file di risultati dell'esecuzione dei test oppure + per file di risultati specifici del test. + + + + + Ottiene il nome completo della classe contenente il metodo di test attualmente in esecuzione + + + + + Ottiene il nome del metodo di test attualmente in esecuzione + + + + + Ottiene il risultato del test corrente. + + + + + Usato per scrivere messaggi di traccia durante l'esecuzione del test + + stringa del messaggio formattato + + + + Usato per scrivere messaggi di traccia durante l'esecuzione del test + + stringa di formato + argomenti + + + + Aggiunge un nome file all'elenco in TestResult.ResultFileNames + + + Nome file. + + + + + Avvia un timer con il nome specificato + + Nome del timer. + + + + Termina un timer con il nome specificato + + Nome del timer. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..d3540c8e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metodo di test per l'esecuzione. + + + + + Ottiene il nome del metodo di test. + + + + + Ottiene il nome della classe di test. + + + + + Ottiene il tipo restituito del metodo di test. + + + + + Ottiene i parametri del metodo di test. + + + + + Ottiene l'oggetto methodInfo per il metodo di test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Richiama il metodo di test. + + + Argomenti da passare al metodo di test, ad esempio per test basati sui dati + + + Risultato della chiamata del metodo di test. + + + This call handles asynchronous test methods as well. + + + + + Ottiene tutti gli attributi del metodo di test. + + + Indica se l'attributo definito nella classe padre è valido. + + + Tutti gli attributi. + + + + + Ottiene l'attributo di tipo specifico. + + System.Attribute type. + + Indica se l'attributo definito nella classe padre è valido. + + + Attributi del tipo specificato. + + + + + Helper. + + + + + Parametro check non Null. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws argument null exception when parameter is null. + + + + Parametro check non Null o vuoto. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws ArgumentException when parameter is null. + + + + Enumerazione relativa alla modalità di accesso alle righe di dati nei test basati sui dati. + + + + + Le righe vengono restituite in ordine sequenziale. + + + + + Le righe vengono restituite in ordine casuale. + + + + + Attributo per definire i dati inline per un metodo di test. + + + + + Inizializza una nuova istanza della classe . + + Oggetto dati. + + + + Inizializza una nuova istanza della classe che accetta una matrice di argomenti. + + Oggetto dati. + Altri dati. + + + + Ottiene i dati per chiamare il metodo di test. + + + + + Ottiene o imposta il nome visualizzato nei risultati del test per la personalizzazione. + + + + + Eccezione senza risultati dell'asserzione. + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Classe InternalTestFailureException. Usata per indicare un errore interno per un test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + + + + Inizializza una nuova istanza della classe . + + + + + Attributo che specifica di presupporre un'eccezione del tipo specificato + + + + + Inizializza una nuova istanza della classe con il tipo previsto + + Tipo dell'eccezione prevista + + + + Inizializza una nuova istanza della classe con + il tipo previsto e il messaggio da includere quando il test non genera alcuna eccezione. + + Tipo dell'eccezione prevista + + Messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene un valore che indica il tipo dell'eccezione prevista + + + + + Ottiene o imposta un valore che indica se consentire a tipi derivati dal tipo dell'eccezione prevista + di qualificarsi come previsto + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Verifica che il tipo dell'eccezione generata dallo unit test sia prevista + + Eccezione generata dallo unit test + + + + Classe di base per attributi che specificano se prevedere che uno unit test restituisca un'eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio per indicare nessuna eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio che indica nessuna eccezione + + + Messaggio da includere nel risultato del test se il test non riesce perché non + viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio predefinito per indicare nessuna eccezione + + Nome del tipo di attributo di ExpectedException + Messaggio predefinito per indicare nessuna eccezione + + + + Determina se l'eccezione è prevista. Se il metodo viene completato, si + presuppone che l'eccezione era prevista. Se il metodo genera un'eccezione, si + presuppone che l'eccezione non era prevista e il messaggio dell'eccezione generata + viene incluso nel risultato del test. Si può usare la classe per + comodità. Se si usa e l'asserzione non riesce, + il risultato del test viene impostato su Senza risultati. + + Eccezione generata dallo unit test + + + + Genera di nuovo l'eccezione se si tratta di un'eccezione AssertFailedException o AssertInconclusiveException + + Eccezione da generare di nuovo se si tratta di un'eccezione di asserzione + + + + Questa classe consente all'utente di eseguire testing unità per tipi che usano tipi generici. + GenericParameterHelper soddisfa alcuni dei vincoli di tipo generici più comuni, + ad esempio: + 1. costruttore predefinito pubblico + 2. implementa l'interfaccia comune: IComparable, IEnumerable + + + + + Inizializza una nuova istanza della classe che + soddisfa il vincolo 'newable' nei generics C#. + + + This constructor initializes the Data property to a random value. + + + + + Inizializza una nuova istanza della classe che + inizializza la proprietà Data con un valore fornito dall'utente. + + Qualsiasi valore Integer + + + + Ottiene o imposta i dati + + + + + Esegue il confronto dei valori di due oggetti GenericParameterHelper + + oggetto con cui eseguire il confronto + true se il valore di obj è uguale a quello dell'oggetto GenericParameterHelper 'this'; + in caso contrario, false. + + + + Restituisce un codice hash per questo oggetto. + + Codice hash. + + + + Confronta i dati dei due oggetti . + + Oggetto con cui eseguire il confronto. + + Numero con segno che indica i valori relativi di questa istanza e di questo valore. + + + Thrown when the object passed in is not an instance of . + + + + + Restituisce un oggetto IEnumerator la cui lunghezza viene derivata dalla + proprietà Data. + + L'oggetto IEnumerator + + + + Restituisce un oggetto GenericParameterHelper uguale a + quello corrente. + + Oggetto clonato. + + + + Consente agli utenti di registrare/scrivere tracce degli unit test per la diagnostica. + + + + + Gestore per LogMessage. + + Messaggio da registrare. + + + + Evento di cui rimanere in ascolto. Generato quando il writer di unit test scrive alcuni messaggi. + Utilizzato principalmente dall'adattatore. + + + + + API del writer di test da chiamare per registrare i messaggi. + + Formato stringa con segnaposto. + Parametri per segnaposto. + + + + Attributo TestCategory; usato per specificare la categoria di uno unit test. + + + + + Inizializza una nuova istanza della classe e applica la categoria al test. + + + Categoria di test. + + + + + Ottiene le categorie di test applicate al test. + + + + + Classe di base per l'attributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inizializza una nuova istanza della classe . + Applica la categoria al test. Le stringhe restituite da TestCategories + vengono usate con il comando /category per filtrare i test + + + + + Ottiene la categoria di test applicata al test. + + + + + Classe AssertFailedException. Usata per indicare un errore per un test case + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Raccolta di classi helper per testare diverse condizioni + negli unit test. Se la condizione da testare non viene soddisfatta, + viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is false. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is true. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null. + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if refers to the same object + as . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is not equal to . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Genera un'eccezione AssertFailedException. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Gli overload di uguaglianza statici vengono usati per confrontare istanze di due tipi e stabilire se + i riferimenti sono uguali. Questo metodo non deve essere usato per il confronto di uguaglianza tra due + istanze. Questo oggetto verrà sempre generato con Assert.Fail. Usare + Assert.AreEqual e gli overload associati negli unit test. + + Oggetto A + Oggetto B + Sempre false. + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Sostituisce caratteri Null ('\0') con "\\0". + + + Stringa da cercare. + + + Stringa convertita con caratteri Null sostituiti da "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funzione helper che crea e genera un'eccezione AssertionFailedException + + + nome dell'asserzione che genera un'eccezione + + + messaggio che descrive le condizioni per l'errore di asserzione + + + Parametri. + + + + + Verifica la validità delle condizioni nel parametro + + + Parametro. + + + Nome dell'asserzione. + + + nome del parametro + + + messaggio per l'eccezione di parametro non valido + + + Parametri. + + + + + Converte in modo sicuro un oggetto in una stringa, gestendo valori e caratteri Null. + I valori Null vengono convertiti in "(null)". I caratteri Null vengono convertiti in "\\0". + + + Oggetto da convertire in una stringa. + + + Stringa convertita. + + + + + Asserzione della stringa. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if matches . + + + + + Raccolta di classi helper per testare diverse condizioni associate + alle raccolte negli unit test. Se la condizione da testare non viene + soddisfatta, viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if every element in is also found in + . + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Determina se la prima raccolta è un subset della seconda raccolta. + Se entrambi i set contengono elementi duplicati, il numero delle + occorrenze dell'elemento nel subset deve essere minore o uguale + a quello delle occorrenze nel superset. + + + Raccolta che il test presuppone debba essere contenuta in . + + + Raccolta che il test presuppone debba contenere . + + + True se è un subset di + ; in caso contrario, false. + + + + + Costruisce un dizionario contenente il numero di occorrenze di ogni + elemento nella raccolta specificata. + + + Raccolta da elaborare. + + + Numero di elementi Null presenti nella raccolta. + + + Dizionario contenente il numero di occorrenze di ogni elemento + nella raccolta specificata. + + + + + Trova un elemento senza corrispondenza tra le due raccolte. Per elemento + senza corrispondenza si intende un elemento che appare nella raccolta prevista + un numero di volte diverso rispetto alla raccolta effettiva. Si presuppone + che le raccolte siano riferimenti non Null diversi con lo stesso + numero di elementi. Il chiamante è responsabile di questo livello di + verifica. Se non ci sono elementi senza corrispondenza, la funzione + restituisce false e i parametri out non devono essere usati. + + + Prima raccolta da confrontare. + + + Seconda raccolta da confrontare. + + + Numero previsto di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Numero effettivo di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Elemento senza corrispondenza (può essere Null) o Null se non ci sono elementi + senza corrispondenza. + + + true se è stato trovato un elemento senza corrispondenza; in caso contrario, false. + + + + + confronta gli oggetti usando object.Equals + + + + + Classe di base per le eccezioni del framework. + + + + + Inizializza una nuova istanza della classe . + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + + + + + Restituisce l'istanza di ResourceManager nella cache usata da questa classe. + + + + + Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte + le ricerche di risorse eseguite usando questa classe di risorse fortemente tipizzata. + + + + + Cerca una stringa localizzata simile a La sintassi della stringa di accesso non è valida. + + + + + Cerca una stringa localizzata simile a La raccolta prevista contiene {1} occorrenza/e di <{2}>, mentre quella effettiva ne contiene {3}. {0}. + + + + + Cerca una stringa localizzata simile a È stato trovato un elemento duplicato:<{1}>. {0}. + + + + + Cerca una stringa localizzata simile a Il valore previsto è <{1}>, ma la combinazione di maiuscole/minuscole è diversa per il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza minore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1} ({2})>. Valore effettivo: <{3} ({4})>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza maggiore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È previsto un valore qualsiasi eccetto <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Non passare tipi valore a AreSame(). I valori convertiti in Object non saranno mai uguali. Usare AreEqual(). {0}. + + + + + Cerca una stringa localizzata simile a {0} non riuscita. {1}. + + + + + Cerca una stringa localizzata simile ad async TestMethod con UITestMethodAttribute non supportata. Rimuovere async o usare TestMethodAttribute. + + + + + Cerca una stringa localizzata simile a Le raccolte sono entrambe vuote. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. + + + + + Cerca una stringa localizzata simile a I riferimenti a raccolte puntano entrambi allo stesso oggetto Collection. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. {0}. + + + + + Cerca una stringa localizzata simile a {0}({1}). + + + + + Cerca una stringa localizzata simile a (Null). + + + + + Cerca una stringa localizzata simile a (oggetto). + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non contiene la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a {0} ({1}). + + + + + Cerca una stringa localizzata simile a Per le asserzioni non usare Assert.Equals, ma preferire Assert.AreEqual e gli overload. + + + + + Cerca una stringa localizzata simile a Il numero di elementi nelle raccolte non corrisponde. Valore previsto: <{1}>. Valore effettivo: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {0} non corrisponde. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} non è del tipo previsto. Tipo previsto: <{2}>. Tipo effettivo: <{3}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} è (Null). Tipo previsto: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non termina con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Argomento non valido: EqualsTester non può usare valori Null. + + + + + Cerca una stringa localizzata simile a Non è possibile convertire un oggetto di tipo {0} in {1}. + + + + + Cerca una stringa localizzata simile a L'oggetto interno a cui si fa riferimento non è più valido. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. {1}. + + + + + Cerca una stringa localizzata simile a Il tipo della proprietà {0} è {1}, ma quello previsto è {2}. + + + + + Cerca una stringa localizzata simile a Tipo previsto di {0}: <{1}>. Tipo effettivo: <{2}>. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Tipo errato: <{1}>. Tipo effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Non è stato specificato alcun elemento DataRowAttribute. Con DataTestMethodAttribute è necessario almeno un elemento DataRowAttribute. + + + + + Cerca una stringa localizzata simile a Non è stata generata alcuna eccezione. Era prevista un'eccezione {1}. {0}. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. Il valore non può essere Null. {1}. + + + + + Cerca una stringa localizzata simile a Il numero di elementi è diverso. + + + + + Cerca una stringa localizzata simile a + Il costruttore con la firma specificata non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a + Il membro specificato ({0}) non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non inizia con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Il tipo di eccezione previsto deve essere System.Exception o un tipo derivato da System.Exception. + + + + + Cerca una stringa localizzata simile a Non è stato possibile ottenere il messaggio per un'eccezione di tipo {0} a causa di un'eccezione. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato l'eccezione prevista {0}. {1}. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato un'eccezione. È prevista un'eccezione dall'attributo {0} definito nel metodo di test. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1}. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1} o un tipo derivato da essa. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a È stata generata l'eccezione {2}, ma era prevista un'eccezione {1}. {0} + Messaggio dell'eccezione: {3} + Analisi dello stack: {4}. + + + + + risultati degli unit test + + + + + Il test è stato eseguito, ma si sono verificati errori. + Gli errori possono implicare eccezioni o asserzioni non riuscite. + + + + + Il test è stato completato, ma non è possibile determinare se è stato o meno superato. + Può essere usato per test interrotti. + + + + + Il test è stato eseguito senza problemi. + + + + + Il test è attualmente in corso. + + + + + Si è verificato un errore di sistema durante il tentativo di eseguire un test. + + + + + Timeout del test. + + + + + Il test è stato interrotto dall'utente. + + + + + Il test si trova in uno stato sconosciuto + + + + + Fornisce la funzionalità di helper per il framework degli unit test + + + + + Ottiene i messaggi di eccezione in modo ricorsivo, inclusi quelli relativi a + tutte le eccezioni interne + + Eccezione per cui ottenere i messaggi + stringa con le informazioni sul messaggio di errore + + + + Enumerazione per i timeout, che può essere usata con la classe . + Il tipo dell'enumerazione deve corrispondere + + + + + Valore infinito. + + + + + Attributo della classe di test. + + + + + Ottiene un attributo di metodo di test che consente di eseguire questo test. + + Istanza di attributo del metodo di test definita in questo metodo. + Oggetto da usare per eseguire questo test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attributo del metodo di test. + + + + + Esegue un metodo di test. + + Metodo di test da eseguire. + Matrice di oggetti TestResult che rappresentano il risultato o i risultati del test. + Extensions can override this method to customize running a TestMethod. + + + + Attributo di inizializzazione test. + + + + + Attributo di pulizia dei test. + + + + + Attributo ignore. + + + + + Attributo della proprietà di test. + + + + + Inizializza una nuova istanza della classe . + + + Nome. + + + Valore. + + + + + Ottiene il nome. + + + + + Ottiene il valore. + + + + + Attributo di inizializzazione classi. + + + + + Attributo di pulizia delle classi. + + + + + Attributo di inizializzazione assembly. + + + + + Attributo di pulizia degli assembly. + + + + + Proprietario del test + + + + + Inizializza una nuova istanza della classe . + + + Proprietario. + + + + + Ottiene il proprietario. + + + + + Attributo Priority; usato per specificare la priorità di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Priorità. + + + + + Ottiene la priorità. + + + + + Descrizione del test + + + + + Inizializza una nuova istanza della classe per descrivere un test. + + Descrizione. + + + + Ottiene la descrizione di un test. + + + + + URI della struttura di progetto CSS + + + + + Inizializza una nuova istanza della classe per l'URI della struttura di progetto CSS. + + URI della struttura di progetto CSS. + + + + Ottiene l'URI della struttura di progetto CSS. + + + + + URI dell'iterazione CSS + + + + + Inizializza una nuova istanza della classe per l'URI dell'iterazione CSS. + + URI dell'iterazione CSS. + + + + Ottiene l'URI dell'iterazione CSS. + + + + + Attributo WorkItem; usato per specificare un elemento di lavoro associato a questo test. + + + + + Inizializza una nuova istanza della classe per l'attributo WorkItem. + + ID di un elemento di lavoro. + + + + Ottiene l'ID di un elemento di lavoro associato. + + + + + Attributo Timeout; usato per specificare il timeout di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Timeout. + + + + + Inizializza una nuova istanza della classe con un timeout preimpostato + + + Timeout + + + + + Ottiene il timeout. + + + + + Oggetto TestResult da restituire all'adattatore. + + + + + Inizializza una nuova istanza della classe . + + + + + Ottiene o imposta il nome visualizzato del risultato. Utile quando vengono restituiti più risultati. + Se è Null, come nome visualizzato viene usato il nome del metodo. + + + + + Ottiene o imposta il risultato dell'esecuzione dei test. + + + + + Ottiene o imposta l'eccezione generata quando il test non viene superato. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta le tracce di debug in base al codice del test. + + + + + Gets or sets the debug traces by test code. + + + + + Ottiene o imposta la durata dell'esecuzione dei test. + + + + + Ottiene o imposta l'indice della riga di dati nell'origine dati. Impostare solo per risultati di singole + esecuzioni della riga di dati di un test basato sui dati. + + + + + Ottiene o imposta il valore restituito del metodo di test. Attualmente è sempre Null. + + + + + Ottiene o imposta i file di risultati allegati dal test. + + + + + Specifica la stringa di connessione, il nome tabella e il metodo di accesso alle righe per test basati sui dati. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nome del provider predefinito per DataSource. + + + + + Metodo predefinito di accesso ai dati. + + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati, la stringa di connessione, la tabella dati e il metodo di accesso ai dati per accedere all'origine dati. + + Nome del provider di dati non dipendente da paese/area geografica, ad esempio System.Data.SqlClient + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + Specifica l'ordine per l'accesso ai dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con una stringa di connessione e un nome tabella. + Specificare la stringa di connessione e la tabella dati per accedere all'origine dati OLEDB. + + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati e la stringa di connessione associata al nome dell'impostazione. + + Nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + Ottiene un valore che rappresenta il provider di dati dell'origine dati. + + + Nome del provider di dati. Se non è stato designato un provider di dati durante l'inizializzazione dell'oggetto, verrà restituito il provider predefinito di System.Data.OleDb. + + + + + Ottiene un valore che rappresenta la stringa di connessione per l'origine dati. + + + + + Ottiene un valore che indica il nome della tabella che fornisce i dati. + + + + + Ottiene il metodo usato per accedere all'origine dati. + + + + Uno dei valori di . Se non è inizializzato, restituirà il valore predefinito . + + + + + Ottiene il nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + + Attributo per il test basato sui dati in cui è possibile specificare i dati inline. + + + + + Trova tutte le righe di dati e le esegue. + + + Metodo di test. + + + Matrice di istanze di . + + + + + Esegue il metodo di test basato sui dati. + + Metodo di test da eseguire. + Riga di dati. + Risultati dell'esecuzione. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..629a4bc5f --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + テスト配置ごとに配置項目 (ファイルまたはディレクトリ) を指定するために使用されます。 + テスト クラスまたはテスト メソッドで指定できます。 + 属性に複数のインスタンスを指定して、2 つ以上の項目を指定することができます。 + 項目のパスには絶対パスまたは相対パスを指定できます。相対パスの場合は、RunConfig.RelativePathRoot からの相対パスです。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + クラスの新しいインスタンスを初期化します。 + + 配置するファイルまたはディレクトリ。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + + + + クラスの新しいインスタンスを初期化する + + 配置するファイルまたはディレクトリへの相対パスまたは絶対パス。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + アイテムのコピー先のディレクトリのパス。配置ディレクトリへの絶対パスまたは相対パスのいずれかを指定できます。次で識別されるすべてのファイルとディレクトリは このディレクトリにコピーされます。 + + + + コピーするソース ファイルまたはフォルダーのパスを取得します。 + + + + + 項目のコピー先のディレクトリのパスを取得します。 + + + + + セクション、プロパティ、属性の名前のリテラルが含まれています。 + + + + + 構成セクション名。 + + + + + Beta2 の構成セクション名。互換性のために残されています。 + + + + + データ ソースのセクション名。 + + + + + 'Name' の属性名 + + + + + 'ConnectionString' の属性名 + + + + + 'DataAccessMethod' の属性名 + + + + + 'DataTable' の属性名 + + + + + データ ソース要素。 + + + + + この構成の名前を取得または設定します。 + + + + + .config ファイルの <connectionStrings> セクションの ConnectionStringSettings 要素を取得または設定します。 + + + + + データ テーブルの名前を取得または設定します。 + + + + + データ アクセスの種類を取得または設定します。 + + + + + キー名を取得します。 + + + + + 構成プロパティを取得します。 + + + + + データ ソース要素コレクション。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + 指定したキーを含む構成要素を返します。 + + 返される要素のキー。 + 指定したキーを持つ System.Configuration.ConfigurationElement。それ以外の場合は、null。 + + + + 指定したインデックスの場所の構成要素を取得します。 + + 返される System.Configuration.ConfigurationElement のインデックスの場所。 + + + + 構成要素を構成要素コレクションに追加します。 + + 追加する System.Configuration.ConfigurationElement。 + + + + コレクションから System.Configuration.ConfigurationElement を削除します。 + + 。 + + + + コレクションから System.Configuration.ConfigurationElement を削除します。 + + 削除する System.Configuration.ConfigurationElement のキー。 + + + + コレクションからすべての構成要素オブジェクトを削除します。 + + + + + 新しい を作成します。 + + 新しい + + + + 指定した構成要素の要素キーを取得します。 + + キーを返す対象の System.Configuration.ConfigurationElement。 + 指定した System.Configuration.ConfigurationElement のキーとして機能する System.Object。 + + + + 構成要素を構成要素コレクションに追加します。 + + 追加する System.Configuration.ConfigurationElement。 + + + + 構成要素を構成要素コレクションに追加します。 + + 指定した System.Configuration.ConfigurationElement を追加するインデックスの場所。 + 追加する System.Configuration.ConfigurationElement。 + + + + テストの構成設定のサポート。 + + + + + テスト用の構成セクションを取得します。 + + + + + テスト用の構成セクション。 + + + + + この構成セクションのデータ ソースを取得します。 + + + + + プロパティのコレクションを取得します。 + + + その (要素のプロパティ)。 + + + + + このクラスは、システム内のパブリックでないライブ内部オブジェクトを表します + + + + + プライベート クラスの既存のオブジェクトを含んでいる + クラスの新しいインスタンスを初期化します + + プライベート メンバーに到達するための開始点となるオブジェクト + m_X.m_Y.m_Z として取得するオブジェクトを指し示す "." を使用する逆参照文字列 + + + + 指定された型をラップする クラスの新しいインスタンスを + 初期化します。 + + アセンブリの名前 + 完全修飾名 + コンストラクターに渡す引数 + + + + 指定された型をラップする クラスの新しいインスタンスを + 初期化します。 + + アセンブリの名前 + 完全修飾名 + 配列: 取得するコンストラクターのパラメーターの数、順番、型を表すオブジェクト + コンストラクターに渡す引数 + + + + 指定された型をラップする クラスの新しいインスタンスを + 初期化します。 + + 作成するオブジェクトの型 + コンストラクターに渡す引数 + + + + 指定された型をラップする クラスの新しいインスタンスを + 初期化します。 + + 作成するオブジェクトの型 + 配列: 取得するコンストラクターのパラメーターの数、順番、型を表すオブジェクト + コンストラクターに渡す引数 + + + + 指定されたオブジェクトをラップする クラスの新しいインスタンスを + 初期化します。 + + ラップするオブジェクト + + + + 指定されたオブジェクトをラップする クラスの新しいインスタンスを + 初期化します。 + + ラップするオブジェクト + PrivateType オブジェクト + + + + ターゲットを取得または設定します + + + + + 基になるオブジェクトの型を取得します + + + + + 対象オブジェクトのハッシュ コードを返す + + 対象オブジェクトのハッシュコードを表す int + + + + 次の値と等しい + + 比較対象のオブジェクト + オブジェクトが等しい場合は True を返します。 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 呼び出すメンバーに渡す引数。 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 配列: 取得するメソッドのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 配列: 取得するメソッドのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + ジェネリック引数の型に対応する型の配列。 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 呼び出すメンバーに渡す引数。 + カルチャ情報 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 配列: 取得するメソッドのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + カルチャ情報 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 呼び出すメンバーに渡す引数。 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 配列: 取得するメソッドのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 呼び出すメンバーに渡す引数。 + カルチャ情報 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 配列: 取得するメソッドのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + カルチャ情報 + メソッド呼び出しの結果 + + + + 指定されたメソッドを呼び出す + + メソッドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 配列: 取得するメソッドのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + カルチャ情報 + ジェネリック引数の型に対応する型の配列。 + メソッド呼び出しの結果 + + + + 各ディメンションに下付き文字の配列を使用して配列要素を取得する + + メンバーの名前 + 配列のインデックス + 要素の配列。 + + + + 各ディメンションに下付き文字の配列を使用して配列要素を設定する + + メンバーの名前 + 設定する値 + 配列のインデックス + + + + 各ディメンションに下付き文字の配列を使用して配列要素を取得する + + メンバーの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 配列のインデックス + 要素の配列。 + + + + 各ディメンションに下付き文字の配列を使用して配列要素を設定する + + メンバーの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 設定する値 + 配列のインデックス + + + + フィールドを取得する + + フィールドの名前 + フィールド。 + + + + フィールドを設定する + + フィールドの名前 + 設定する値 + + + + フィールドを取得する + + フィールドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + フィールド。 + + + + フィールドを設定する + + フィールドの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 設定する値 + + + + フィールドまたはプロパティを取得する + + フィールドまたはプロパティの名前 + フィールドまたはプロパティ。 + + + + フィールドまたはプロパティを設定する + + フィールドまたはプロパティの名前 + 設定する値 + + + + フィールドまたはプロパティを取得する + + フィールドまたはプロパティの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + フィールドまたはプロパティ。 + + + + フィールドまたはプロパティを設定する + + フィールドまたはプロパティの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 設定する値 + + + + プロパティを取得する + + プロパティの名前 + 呼び出すメンバーに渡す引数。 + プロパティ。 + + + + プロパティを取得する + + プロパティの名前 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + プロパティ。 + + + + プロパティを設定する + + プロパティの名前 + 設定する値 + 呼び出すメンバーに渡す引数。 + + + + プロパティを設定する + + プロパティの名前 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 設定する値 + 呼び出すメンバーに渡す引数。 + + + + プロパティを取得する + + プロパティの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 呼び出すメンバーに渡す引数。 + プロパティ。 + + + + プロパティを取得する + + プロパティの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + プロパティ。 + + + + プロパティを設定する + + プロパティの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 設定する値 + 呼び出すメンバーに渡す引数。 + + + + プロパティを設定する + + プロパティの名前 + 1 つまたは複数の以下のもので構成されるビットマスク 検索の実行方法を指定します。 + 設定する値 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + + + + アクセス文字列を検証する + + アクセス文字列 + + + + メンバーを呼び出す + + メンバーの名前 + 追加の属性 + 呼び出しの引数 + カルチャ + 呼び出しの結果 + + + + 現在のプライベート型から最も適切なジェネリック メソッド シグネチャを抽出します。 + + シグネチャ キャッシュを検索するメソッドの名前。 + 検索対象のパラメーターの型に対応する型の配列。 + ジェネリック引数の型に対応する型の配列。 + メソッド シグネチャをさらにフィルターするため。 + パラメーターの修飾子。 + Methodinfo インスタンス。 + + + + このクラスは、プライベート アクセサー機能のプライベート クラスを表します。 + + + + + すべてにバインドする + + + + + ラップされた型。 + + + + + プライベート型を含む クラスの新しいインスタンスを初期化します。 + + アセンブリ名 + 完全修飾名: + + + + Initializes a new instance of the class that contains + the private type from the type object + + 作成するラップされた型。 + + + + 参照型を取得する + + + + + 静的メンバーを呼び出す + + InvokeHelper に対するメンバーの名前 + 呼び出しに対する引数 + 呼び出しの結果 + + + + 静的メンバーを呼び出す + + InvokeHelper に対するメンバーの名前 + 配列: 呼び出すメソッドのパラメーターの数値、順序、および型を表すオブジェクト + 呼び出しに対する引数 + 呼び出しの結果 + + + + 静的メンバーを呼び出す + + InvokeHelper に対するメンバーの名前 + 配列: 呼び出すメソッドのパラメーターの数値、順序、および型を表すオブジェクト + 呼び出しに対する引数 + ジェネリック引数の型に対応する型の配列。 + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 呼び出しに対する引数 + カルチャ + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 配列: 呼び出すメソッドのパラメーターの数値、順序、および型を表すオブジェクト + 呼び出しに対する引数 + カルチャ情報 + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 追加の呼び出し属性 + 呼び出しに対する引数 + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 追加の呼び出し属性 + 配列: 呼び出すメソッドのパラメーターの数値、順序、および型を表すオブジェクト + 呼び出しに対する引数 + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 追加の呼び出し属性 + 呼び出しに対する引数 + カルチャ + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 追加の呼び出し属性 + /// 配列: 呼び出すメソッドのパラメーターの数値、順序、および型を表すオブジェクト + 呼び出しに対する引数 + カルチャ + 呼び出しの結果 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 追加の呼び出し属性 + /// 配列: 呼び出すメソッドのパラメーターの数値、順序、および型を表すオブジェクト + 呼び出しに対する引数 + カルチャ + ジェネリック引数の型に対応する型の配列。 + 呼び出しの結果 + + + + 静的配列内の要素を取得する + + 配列の名前 + + 取得する要素の位置を指定するインデックスを表す 32 ビット整数 + の 1 次元配列。たとえば、[10][11] にアクセスする場合には、インデックスは {10,11} になります + + 指定した場所の要素 + + + + 静的配列のメンバーを設定する + + 配列の名前 + 設定する値 + + 設定する要素の位置を指定するインデックスを表す 32 ビット整数 + の 1 次元配列。たとえば、[10][11] にアクセスする場合には、配列は {10,11} になります + + + + + 静的配列の要素を取得します + + 配列の名前 + 追加の InvokeHelper 属性 + + 取得する要素の位置を指定するインデックスを表す 32 ビット整数 + の 1 次元配列。たとえば、[10][11] にアクセスする場合には、配列は {10,11} になります + + 指定した場所の要素 + + + + 静的配列のメンバーを設定する + + 配列の名前 + 追加の InvokeHelper 属性 + 設定する値 + + 設定する要素の位置を指定するインデックスを表す 32 ビット整数 + の 1 次元配列。たとえば、[10][11] にアクセスする場合には、配列は {10,11} になります + + + + + 静的フィールドを取得する + + フィールドの名前 + 静的フィールド。 + + + + 静的フィールドを設定する + + フィールドの名前 + 呼び出しに対する引数 + + + + 指定した InvokeHelper 属性を使用して静的フィールドを取得する + + フィールドの名前 + 追加の呼び出し属性 + 静的フィールド。 + + + + バインド属性を使用して静的フィールドを設定する + + フィールドの名前 + 追加の InvokeHelper 属性 + 呼び出しに対する引数 + + + + 静的フィールドまたは静的プロパティを取得する + + フィールドまたはプロパティの名前 + 静的フィールドまたはプロパティ。 + + + + 静的フィールドまたは静的プロパティを設定する + + フィールドまたはプロパティの名前 + フィールドまたはプロパティに設定する値 + + + + 指定した InvokeHelper 属性を使用して、静的フィールドまたは静的プロパティを取得する + + フィールドまたはプロパティの名前 + 追加の呼び出し属性 + 静的フィールドまたはプロパティ。 + + + + バインド属性を使用して、静的フィールドまたは静的プロパティを設定する + + フィールドまたはプロパティの名前 + 追加の呼び出し属性 + フィールドまたはプロパティに設定する値 + + + + 静的プロパティを取得する + + フィールドまたはプロパティの名前 + 呼び出しに対する引数 + 静的プロパティ。 + + + + 静的プロパティを設定する + + プロパティの名前 + フィールドまたはプロパティに設定する値 + 呼び出すメンバーに渡す引数。 + + + + 静的プロパティを設定する + + プロパティの名前 + フィールドまたはプロパティに設定する値 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + + + + 静的プロパティを取得する + + プロパティの名前 + 追加の呼び出し属性。 + 呼び出すメンバーに渡す引数。 + 静的プロパティ。 + + + + 静的プロパティを取得する + + プロパティの名前 + 追加の呼び出し属性。 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + 静的プロパティ。 + + + + 静的プロパティを設定する + + プロパティの名前 + 追加の呼び出し属性。 + フィールドまたはプロパティに設定する値 + インデックス付きプロパティのオプションのインデックス値。インデックス付きプロパティのインデックスは 0 から始まります。インデックスのないプロパティについては、この値は null である必要があります。 + + + + 静的プロパティを設定する + + プロパティの名前 + 追加の呼び出し属性。 + フィールドまたはプロパティに設定する値 + 配列: インデックス付きプロパティのパラメーターの数、順番、型を表すオブジェクト。 + 呼び出すメンバーに渡す引数。 + + + + 静的メソッドを呼び出す + + メンバーの名前 + 追加の呼び出し属性 + 呼び出しに対する引数 + カルチャ + 呼び出しの結果 + + + + ジェネリック メソッドのメソッド シグネチャを検出します。 + + + + + これらの 2 つのメソッドのメソッド シグネチャを比較します。 + + Method1 + Method2 + 類似している場合は True。 + + + + 指定した型の基本データ型から階層の深さを取得します。 + + 型。 + 深さ。 + + + + 指定された情報を使用して最派生型を検索します。 + + 候補の一致。 + 一致の数。 + 最派生メソッド。 + + + + 基本条件に一致するメソッドのセットを指定して、型の配列に + 基づいてメソッドを選択します。条件に + 一致するメソッドがない場合、このメソッドは null を返します。 + + バインドの指定。 + 候補の一致 + 型 + パラメーター修飾子。 + 一致するメソッド。一致が見つからない場合は null。 + + + + 指定されている 2 つのメソッドのうち、より特定性の高いメソッドを判別します。 + + メソッド 1 + メソッド 1 のパラメーターの順序 + パラメーターの配列型。 + メソッド 2 + メソッド 2 のパラメーターの順序 + >パラメーターの配列型。 + 検索する型。 + 引数。 + 一致を表す int。 + + + + 指定されている 2 つのメソッドのうち、より特定性の高いメソッドを判別します。 + + メソッド 1 + メソッド 1 のパラメーターの順序 + パラメーターの配列型。 + メソッド 2 + メソッド 2 のパラメーターの順序 + >パラメーターの配列型。 + 検索する型。 + 引数。 + 一致を表す int。 + + + + 指定されている 2 つのうち、より特定性の高い型を判別します。 + + 型 1 + 型 2 + 定義する型 + 一致を表す int。 + + + + 単体テストに提供される情報を保存するために使用されます。 + + + + + テストのテスト プロパティを取得します。 + + + + + テストがデータ ドリブン テストで使用されるときに現在のデータ行を取得します。 + + + + + テストがデータ ドリブン テストで使用されるときに現在のデータ接続行を取得します。 + + + + + テストの実行の基本ディレクトリを取得します。配置されたファイルと結果ファイルはそのディレクトリに格納されます。 + + + + + テストの実行のために配置されたファイルのディレクトリを取得します。通常は、 のサブディレクトリです。 + + + + + テストの実行の結果の基本ディレクトリを取得します。通常は、 のサブディレクトリです。 + + + + + テストの実行の結果ファイル用のディレクトリを取得します。通常は、 のサブディレクトリです。 + + + + + テスト結果ファイルのディレクトリを取得します。 + + + + + テストの実行の基本ディレクトリを取得します。配置されたファイルと結果ファイルはそのディレクトリに格納されます。 + と同じであり、代わりにそのプロパティをご使用ください。 + + + + + テストの実行のために配置されたファイルのディレクトリを取得します。通常は、 のサブディレクトリです。 + と同じであり、代わりにそのプロパティをご使用ください。 + + + + + テストの実行の結果ファイル用のディレクトリを取得します。通常は、 のサブディレクトリです。 + と同じであり、テストの実行の結果ファイルのそのプロパティを使用するか、 + その代わりにテスト固有の結果ファイルの をご使用ください。 + + + + + 現在実行されているテスト メソッドを含むクラスの完全修飾名を取得します + + + + + 現在実行中のテスト メソッドの名前を取得します + + + + + 現在のテスト成果を取得します。 + + + + + テストの実行中にトレース メッセージを書き込むために使用されます + + 書式設定されたメッセージ文字列 + + + + テストの実行中にトレース メッセージを書き込むために使用されます + + 書式設定文字列 + 引数 + + + + TestResult.ResultFileNames の一覧にファイル名を追加する + + + ファイル名。 + + + + + 指定した名前のタイマーを開始する + + タイマーの名前。 + + + + 指定した名前のタイマーを終了する + + タイマーの名前。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..922b5b17d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 実行用の TestMethod。 + + + + + テスト メソッドの名前を取得します。 + + + + + テスト クラスの名前を取得します。 + + + + + テスト メソッドの戻り値の型を取得します。 + + + + + テスト メソッドのパラメーターを取得します。 + + + + + テスト メソッドの methodInfo を取得します。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + テスト メソッドを呼び出します。 + + + テスト メソッドに渡す引数。(データ ドリブンの場合など) + + + テスト メソッド呼び出しの結果。 + + + This call handles asynchronous test methods as well. + + + + + テスト メソッドのすべての属性を取得します。 + + + 親クラスで定義されている属性が有効かどうか。 + + + すべての属性。 + + + + + 特定の型の属性を取得します。 + + System.Attribute type. + + 親クラスで定義されている属性が有効かどうか。 + + + 指定した種類の属性。 + + + + + ヘルパー。 + + + + + null でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws argument null exception when parameter is null. + + + + null または空でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws ArgumentException when parameter is null. + + + + データ ドリブン テストのデータ行にアクセスする方法の列挙型。 + + + + + 行は順番に返されます。 + + + + + 行はランダムに返されます。 + + + + + テスト メソッドのインライン データを定義する属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + + + + 引数の配列を受け入れる クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + 追加のデータ。 + + + + テスト メソッドを呼び出すデータを取得します。 + + + + + カスタマイズするために、テスト結果の表示名を取得または設定します。 + + + + + assert inconclusive 例外。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + InternalTestFailureException クラス。テスト ケースの内部エラーを示すために使用されます + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 指定した型の例外を予期するよう指定する属性 + + + + + 予期される型を指定して、 クラスの新しいインスタンスを初期化する + + 予期される例外の型 + + + + 予期される型と、テストで例外がスローされない場合に含めるメッセージとを指定して + クラスの新しいインスタンスを初期化します。 + + 予期される例外の型 + + 例外がスローされなかったことが原因でテストが失敗した場合に、テスト結果に含まれるメッセージ + + + + + 予期される例外の型を示す値を取得する + + + + + 予期される例外の型から派生した型を予期される型として使用できるかどうかを示す値を + 取得または設定する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 単体テストでスローされる例外の型が予期される型であることを検証する + + 単体テストでスローされる例外 + + + + 単体テストからの例外を予期するように指定する属性の基底クラス + + + + + 既定の例外なしメッセージを指定して クラスの新しいインスタンスを初期化する + + + + + 例外なしメッセージを指定して クラスの新しいインスタンスを初期化します + + + 例外がスローされなかったことが原因でテストが失敗した場合に、 + テスト結果に含まれるメッセージ + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 既定の例外なしメッセージを取得する + + ExpectedException 属性の型名 + 既定の例外なしメッセージ + + + + 例外が予期されているかどうかを判断します。メソッドが戻る場合は、 + 例外が予期されていたと解釈されます。メソッドが例外をスローする場合は、 + 例外が予期されていなかったと解釈され、スローされた例外のメッセージが + テスト結果に含められます。便宜上、 クラスを使用できます。 + が使用され、アサーションが失敗すると、 + テスト成果は [結果不確定] に設定されます。 + + 単体テストでスローされる例外 + + + + AssertFailedException または AssertInconclusiveException である場合に、例外を再スローする + + アサーション例外である場合に再スローされる例外 + + + + このクラスは、ジェネリック型を使用する型の単体テストを実行するユーザーを支援するように設計されています。 + GenericParameterHelper は、次のようないくつかの共通ジェネリック型制約を + 満たしています: + 1. パブリックの既定のコンストラクター + 2. 共通インターフェイスを実装します: IComparable、IEnumerable + + + + + C# ジェネリックの 'newable' 制約を満たす + クラスの新しいインスタンスを初期化します。 + + + This constructor initializes the Data property to a random value. + + + + + Data プロパティをユーザー指定の値に初期化する クラスの + 新しいインスタンスを初期化します。 + + 任意の整数値 + + + + データを取得または設定する + + + + + 2 つの GenericParameterHelper オブジェクトの値の比較を実行する + + 次との比較を実行するオブジェクト + オブジェクトの値が 'this' GenericParameterHelper オブジェクトと同じ値である場合は true。 + それ以外の場合は、false。 + + + + このオブジェクトのハッシュコードを返します。 + + ハッシュ コード。 + + + + 2 つの オブジェクトのデータを比較します。 + + 比較対象のオブジェクト。 + + このインスタンスと値の相対値を示す符号付きの数値。 + + + Thrown when the object passed in is not an instance of . + + + + + 長さが Data プロパティから派生している IEnumerator オブジェクト + を返します。 + + IEnumerator オブジェクト + + + + 現在のオブジェクトに相当する GenericParameterHelper + オブジェクトを返します。 + + 複製されたオブジェクト。 + + + + ユーザーが診断用に単体テストからトレースをログ記録/書き込みできるようにします。 + + + + + LogMessage のハンドラー。 + + ログに記録するメッセージ。 + + + + リッスンするイベント。単体テスト ライターがメッセージを書き込むときに発生します。 + 主にアダプターによって消費されます。 + + + + + テスト ライターがメッセージをログ記録するために呼び出す API。 + + プレースホルダーを含む文字列形式。 + プレースホルダーのパラメーター。 + + + + TestCategory 属性。単体テストのカテゴリを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化し、カテゴリをテストに適用します。 + + + テスト カテゴリ。 + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + "Category" 属性の基底クラス + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + クラスの新しいインスタンスを初期化します。 + カテゴリをテストに適用します。TestCategories で返される文字列は + テストをフィルター処理する /category コマンドで使用されます + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + AssertFailedException クラス。テスト ケースのエラーを示すために使用されます + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 単体テスト内のさまざまな条件をテストするヘルパー クラスの + コレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + Assert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is false. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is true. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null. + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not refer to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if refers to the same object + as . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is not equal to . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException をスローします。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + 静的な Equals オーバーロードは、2 つの型のインスタンスを比較して参照の等価性を調べる + ために使用されます。2 つのインスタンスを比較して等価性を調べるためにこのメソッドを使用 + することはできません。このオブジェクトは常に Assert.Fail を使用してスロー + します。単体テストでは、Assert.AreEqual および関連するオーバーロードをご使用ください。 + + オブジェクト A + オブジェクト B + 常に false。 + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + null 文字 ('\0') を "\\0" に置き換えます。 + + + 検索する文字列。 + + + "\\0" で置き換えられた null 文字を含む変換された文字列。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException を作成して、スローするヘルパー関数 + + + 例外をスローするアサーションの名前 + + + アサーション エラーの条件を記述するメッセージ + + + パラメーター。 + + + + + 有効な条件であるかパラメーターを確認します + + + パラメーター。 + + + アサーション名。 + + + パラメーター名 + + + 無効なパラメーター例外のメッセージ + + + パラメーター。 + + + + + 安全にオブジェクトを文字列に変換し、null 値と null 文字を処理します。 + null 値は "(null)" に変換されます。null 文字は "\\0" に変換されます。 + + + 文字列に変換するオブジェクト。 + + + 変換された文字列。 + + + + + 文字列のアサート。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if matches . + + + + + 単体テスト内のコレクションと関連付けられている + さまざまな条件をテストするヘルパー クラスのコレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is found in + . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a two or more equal elements are found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if every element in is also found in + . + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 最初のコレクションが 2 番目のコレクションのサブセットであるかどうかを + 決定します。いずれかのセットに重複する要素が含まれている場合は、 + サブセット内の要素の出現回数は + スーパーセット内の出現回数以下である必要があります。 + + + テストで次に含まれると予期されるコレクション 。 + + + テストで次を含むと予期されるコレクション 。 + + + 次の場合は true 次のサブセットの場合 + 、それ以外の場合は false。 + + + + + 指定したコレクションの各要素の出現回数を含む + 辞書を構築します。 + + + 処理するコレクション。 + + + コレクション内の null 要素の数。 + + + 指定したコレクション内の各要素の + 出現回数を含むディレクトリ。 + + + + + 2 つのコレクション間で一致しない要素を検索します。 + 一致しない要素とは、予期されるコレクションでの出現回数が + 実際のコレクションでの出現回数と異なる要素のことです。 + コレクションは、同じ数の要素を持つ、null ではない + さまざまな参照と見なされます。このレベルの検証を行う責任は + 呼び出し側にあります。一致しない要素がない場合、 + 関数は false を返し、out パラメーターは使用されません。 + + + 比較する最初のコレクション。 + + + 比較する 2 番目のコレクション。 + + + 次の予期される発生回数 + または一致しない要素がない場合は + 0 です。 + + + 次の実際の発生回数 + または一致しない要素がない場合は + 0 です。 + + + 一致しない要素 (null の場合があります)、または一致しない要素がない場合は + null です。 + + + 一致しない要素が見つかった場合は true、それ以外の場合は false。 + + + + + object.Equals を使用してオブジェクトを比較する + + + + + フレームワーク例外の基底クラス。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラス。 + + + + + このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 + + + + + 厳密に型指定されたこのリソース クラスを使用して、現在のスレッドの + CurrentUICulture プロパティをすべてのリソース ルックアップで無視します。 + + + + + "アクセス文字列は無効な構文を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "予期されたコレクションでは、<{2}> が {1} 回発生します。実際のコレクションでは、{3} 回発生します。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "重複する項目が見つかりました:<{1}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要です。実際の値: <{2}> では大文字と小文字が異なります。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> 以内の差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1} ({2})> が必要ですが、<{3} ({4})> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要ですが、<{2}> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> を超える差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> 以外の任意の値が必要ですが、<{2}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "AreSame() に値型を渡すことはできません。オブジェクトに変換された値は同じになりません。AreEqual() を使用することを検討してください。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0} に失敗しました。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "UITestMethodAttribute が指定された非同期の TestMethod はサポートされていません。非同期を削除するか、TestMethodAttribute を使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが空です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションの参照が、同じコレクション オブジェクトにポイントしています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0}({1})" に類似したローカライズされた文字列を検索します。 + + + + + "(null)" に類似したローカライズされた文字列を検索します。 + + + + + Looks up a localized string similar to (object). + + + + + "文字列 '{0}' は文字列 '{1}' を含んでいません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} ({1})" に類似したローカライズされた文字列を検索します。 + + + + + "アサーションには Assert.Equals を使用せずに、Assert.AreEqual とオーバーロードを使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "コレクション内の要素数が一致しません。<{1}> が必要ですが <{2}> が指定されています。{0}。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {0} の要素が一致しません。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は、必要な型ではありません。<{2}> が必要ですが、<{3}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は null です。必要な型:<{2}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は文字列 '{1}' で終わりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "無効な引数 - EqualsTester は null を使用することはできません。" に類似したローカライズされた文字列を検索します。 + + + + + "型 {0} のオブジェクトを {1} に変換できません。" に類似したローカライズされた文字列を検索します。 + + + + + "参照された内部オブジェクトは、現在有効ではありません。" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "プロパティ {0} は型 {1} を含んでいますが、型 {2} が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} には型 <{1}> が必要ですが、型 <{2}> が指定されました。" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は、パターン '{1}' と一致しません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "正しくない型は <{1}> であり、実際の型は <{2}> です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' はパターン '{1}' と一致します。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "DataRowAttribute が指定されていません。DataTestMethodAttribute では少なくとも 1 つの DataRowAttribute が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "例外がスローされませんでした。{1} の例外が予期されていました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。値を null にすることはできません。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "要素数が異なります。" に類似したローカライズされた文字列を検索します。 + + + + + "指定されたシグネチャを使用するコンストラクターが見つかりませんでした。 + プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + PrivateObject のコンストラクターに定義する型を渡す必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + + "指定されたメンバー ({0}) が見つかりませんでした。プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + 定義する型を PrivateObject のコンストラクターに渡す必要があります。" + に類似したローカライズされた文字列を検索します。 + + + + + + "文字列 '{0}' は文字列 '{1}' で始まりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "予期される例外の型は System.Exception または System.Exception の派生型である必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + "(例外が発生したため、型 {0} の例外のメッセージを取得できませんでした。)" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは予期された例外 {0} をスローしませんでした。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは例外をスローしませんでした。テスト メソッドで定義されている属性 {0} で例外が予期されていました。" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} またはその派生型が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "例外 {2} がスローされましたが、例外 {1} が予期されていました。{0} + 例外メッセージ: {3} + スタック トレース: {4}" に類似したローカライズされた文字列を検索します。 + + + + + 単体テストの成果 + + + + + テストを実行しましたが、問題が発生しました。 + 問題には例外または失敗したアサーションが関係している可能性があります。 + + + + + テストが完了しましたが、成功したか失敗したかは不明です。 + 中止したテストに使用される場合があります。 + + + + + 問題なくテストが実行されました。 + + + + + 現在テストを実行しています。 + + + + + テストを実行しようとしているときにシステム エラーが発生しました。 + + + + + テストがタイムアウトしました。 + + + + + ユーザーによってテストが中止されました。 + + + + + テストは不明な状態です + + + + + 単体テストのフレームワークのヘルパー機能を提供する + + + + + すべての内部例外のメッセージなど、例外メッセージを + 再帰的に取得します + + 次のメッセージを取得する例外 + エラー メッセージ情報を含む文字列 + + + + クラスで使用できるタイムアウトの列挙型。 + 列挙型の型は一致している必要があります + + + + + 無限。 + + + + + テスト クラス属性。 + + + + + このテストの実行を可能するテスト メソッド属性を取得します。 + + このメソッドで定義されているテスト メソッド属性インスタンス。 + The 。このテストを実行するために使用されます。 + Extensions can override this method to customize how all methods in a class are run. + + + + テスト メソッド属性。 + + + + + テスト メソッドを実行します。 + + 実行するテスト メソッド。 + テストの結果を表す TestResult オブジェクトの配列。 + Extensions can override this method to customize running a TestMethod. + + + + テスト初期化属性。 + + + + + テスト クリーンアップ属性。 + + + + + Ignore 属性。 + + + + + テストのプロパティ属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 名前。 + + + 値。 + + + + + 名前を取得します。 + + + + + 値を取得します。 + + + + + クラス初期化属性。 + + + + + クラス クリーンアップ属性。 + + + + + アセンブリ初期化属性。 + + + + + アセンブリ クリーンアップ属性。 + + + + + テストの所有者 + + + + + クラスの新しいインスタンスを初期化します。 + + + 所有者。 + + + + + 所有者を取得します。 + + + + + 優先順位属性。単体テストの優先順位を指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 優先順位。 + + + + + 優先順位を取得します。 + + + + + テストの説明 + + + + + テストを記述する クラスの新しいインスタンスを初期化します。 + + 説明。 + + + + テストの説明を取得します。 + + + + + CSS プロジェクト構造の URI + + + + + CSS プロジェクト構造の URI の クラスの新しいインスタンスを初期化します。 + + CSS プロジェクト構造の URI。 + + + + CSS プロジェクト構造の URI を取得します。 + + + + + CSS イテレーション URI + + + + + CSS イテレーション URI の クラスの新しいインスタンスを初期化します。 + + CSS イテレーション URI。 + + + + CSS イテレーション URI を取得します。 + + + + + WorkItem 属性。このテストに関連付けられている作業項目の指定に使用されます。 + + + + + WorkItem 属性の クラスの新しいインスタンスを初期化します。 + + 作業項目に対する ID。 + + + + 関連付けられている作業項目に対する ID を取得します。 + + + + + タイムアウト属性。単体テストのタイムアウトを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + タイムアウト。 + + + + + 事前設定するタイムアウトを指定して クラスの新しいインスタンスを初期化する + + + タイムアウト + + + + + タイムアウトを取得します。 + + + + + アダプターに返される TestResult オブジェクト。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + 結果の表示名を取得または設定します。複数の結果が返される場合に便利です。 + null の場合は、メソッド名が DisplayName として使用されます。 + + + + + テスト実行の成果を取得または設定します。 + + + + + テストが失敗した場合にスローされる例外を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでデバッグ トレースを取得または設定します。 + + + + + Gets or sets the debug traces by test code. + + + + + テスト実行の期間を取得または設定します。 + + + + + データ ソース内のデータ行インデックスを取得または設定します。データ ドリブン テストの一続きのデータ行の + それぞれの結果に対してのみ設定されます。 + + + + + テスト メソッドの戻り値を取得または設定します。(現在は、常に null です)。 + + + + + テストで添付された結果ファイルを取得または設定します。 + + + + + データ ドリブン テストの接続文字列、テーブル名、行アクセス方法を指定します。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource の既定のプロバイダー名。 + + + + + 既定のデータ アクセス方法。 + + + + + クラスの新しいインスタンスを初期化します。このインスタンスは、データ ソースにアクセスするためのデータ プロバイダー、接続文字列、データ テーブル、データ アクセス方法を指定して初期化されます。 + + System.Data.SqlClient などデータ プロバイダーの不変名 + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + データにアクセスする順番をしています。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは接続文字列とテーブル名を指定して初期化されます。 + OLEDB データ ソースにアクセスするには接続文字列とデータ テーブルを指定します。 + + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは設定名に関連付けられているデータ プロバイダーと接続文字列を使用して初期化されます。 + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションにあるデータ ソースの名前。 + + + + データ ソースのデータ プロバイダーを表す値を取得します。 + + + データ プロバイダー名。データ プロバイダーがオブジェクトの初期化時に指定されていなかった場合は、System.Data.OleDb の既定のプロバイダーが返されます。 + + + + + データ ソースの接続文字列を表す値を取得します。 + + + + + データを提供するテーブル名を示す値を取得します。 + + + + + データ ソースへのアクセスに使用するメソッドを取得します。 + + + + 次のいずれか 値。以下の場合 初期化されていない場合は、これは既定値を返します 。 + + + + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションで見つかるデータ ソースの名前を取得します。 + + + + + データをインラインで指定できるデータ ドリブン テストの属性。 + + + + + すべてのデータ行を検索して、実行します。 + + + テスト メソッド。 + + + 次の配列 。 + + + + + データ ドリブン テスト メソッドを実行します。 + + 実行するテスト メソッド。 + データ行. + 実行の結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..621cef028 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 테스트 배포별 배포 항목(파일 또는 디렉터리)을 지정하는 데 사용됩니다. + 테스트 클래스 또는 테스트 메서드에서 지정할 수 있습니다. + 둘 이상의 항목을 지정하기 위한 여러 특성 인스턴스를 가질 수 있습니다. + 항목 경로는 절대 또는 상대 경로일 수 있으며, 상대 경로인 경우 RunConfig.RelativePathRoot가 기준입니다. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리에 대한 상대 또는 절대 경로. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + 항목을 복사할 디렉터리의 경로. 배포 디렉터리에 대한 절대 경로 또는 상대 경로일 수 있습니다.에 의해 식별되는 모든 파일 및 디렉터리는 이 디렉터리에 복사됩니다. + + + + 복사할 소스 파일 또는 폴더의 경로를 가져옵니다. + + + + + 항목을 복사할 디렉터리의 경로를 가져옵니다. + + + + + 섹션, 속성, 특성의 이름에 대한 리터럴을 포함합니다. + + + + + 구성 섹션 이름입니다. + + + + + Beta2의 구성 섹션 이름입니다. 호환성을 위해 남겨둡니다. + + + + + 데이터 소스의 섹션 이름입니다. + + + + + 'Name'의 특성 이름 + + + + + 'ConnectionString'의 특성 이름 + + + + + 'DataAccessMethod'의 특성 이름 + + + + + 'DataTable'의 특성 이름 + + + + + 데이터 소스 요소입니다. + + + + + 이 구성의 이름을 가져오거나 설정합니다. + + + + + .config 파일에서 <connectionStrings> 섹션의 ConnectionStringSettings 요소를 가져오거나 설정합니다. + + + + + 데이터 테이블의 이름을 가져오거나 설정합니다. + + + + + 데이터 액세스의 형식을 가져오거나 설정합니다. + + + + + 키 이름을 가져옵니다. + + + + + 구성 속성을 가져옵니다. + + + + + 데이터 소스 요소 컬렉션입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 지정한 키와 함께 구성 요소를 반환합니다. + + 반환할 요소의 키입니다. + 지정한 키가 있는 System.Configuration.ConfigurationElement입니다. 그렇지 않은 경우 null입니다. + + + + 지정한 인덱스 위치에서 구성 요소를 가져옵니다. + + 반환할 System.Configuration.ConfigurationElement의 인덱스 위치입니다. + + + + 구성 요소 컬렉션에 구성 요소를 추가합니다. + + 추가할 System.Configuration.ConfigurationElement입니다. + + + + 컬렉션에서 System.Configuration.ConfigurationElement를 제거합니다. + + . + + + + 컬렉션에서 System.Configuration.ConfigurationElement를 제거합니다. + + 제거할 System.Configuration.ConfigurationElement의 키입니다. + + + + 컬렉션에서 모든 구성 요소 개체를 제거합니다. + + + + + 새 을(를) 만듭니다. + + . + + + + 지정한 구성 요소의 요소 키를 가져옵니다. + + 키를 반환할 System.Configuration.ConfigurationElement입니다. + 지정한 System.Configuration.ConfigurationElement의 키로 작동하는 System.Object입니다. + + + + 구성 요소 컬렉션에 구성 요소를 추가합니다. + + 추가할 System.Configuration.ConfigurationElement입니다. + + + + 구성 요소 컬렉션에 구성 요소를 추가합니다. + + 지정한 System.Configuration.ConfigurationElement를 추가할 인덱스 위치입니다. + 추가할 System.Configuration.ConfigurationElement입니다. + + + + 테스트에 대한 구성 설정을 지원합니다. + + + + + 테스트에 대한 구성 섹션을 가져옵니다. + + + + + 테스트에 대한 구성 섹션입니다. + + + + + 이 구성 섹션의 데이터 소스를 가져옵니다. + + + + + 속성의 컬렉션을 가져옵니다. + + + 요소의 속성입니다. + + + + + 이 클래스는 시스템에 있는 public이 아닌 라이브 내부 개체를 나타냅니다. + + + + + private 클래스의 이미 존재하는 개체를 포함하는 클래스의 + 새 인스턴스를 초기화합니다. + + 전용 멤버에 도달하기 위한 시작 지점 역할을 하는 개체 + m_X.m_Y.m_Z 형식으로 검색할 개체를 가리키는 마침표(.)를 사용하는 역참조 문자열 + + + + 지정된 형식을 래핑하는 클래스의 새 인스턴스를 + 초기화합니다. + + 어셈블리의 이름 + 정규화된 이름 + 생성자에 전달할 인수 + + + + 지정된 형식을 래핑하는 클래스의 새 인스턴스를 + 초기화합니다. + + 어셈블리의 이름 + 정규화된 이름 + 다음의 배열: 가져올 생성자에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 생성자에 전달할 인수 + + + + 지정된 형식을 래핑하는 클래스의 새 인스턴스를 + 초기화합니다. + + 만들 개체의 형식 + 생성자에 전달할 인수 + + + + 지정된 형식을 래핑하는 클래스의 새 인스턴스를 + 초기화합니다. + + 만들 개체의 형식 + 다음의 배열: 가져올 생성자에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 생성자에 전달할 인수 + + + + 지정된 개체를 래핑하는 클래스의 새 인스턴스를 + 초기화합니다. + + 래핑할 개체 + + + + 지정된 개체를 래핑하는 클래스의 새 인스턴스를 + 초기화합니다. + + 래핑할 개체 + PrivateType 개체 + + + + 대상을 가져오거나 설정합니다. + + + + + 기본 개체의 형식을 가져옵니다. + + + + + 은(는) 대상 개체의 해시 코드를 반환합니다. + + 대상 개체의 해시 코드를 나타내는 INT + + + + 같음 + + 비교할 개체 + 개체가 같은 경우 true를 반환합니다. + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 호출할 멤버에 전달하기 위한 인수. + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 다음의 배열: 메서드가 가져올 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 다음의 배열: 메서드가 가져올 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 제네릭 인수의 형식에 해당하는 형식의 배열. + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 호출할 멤버에 전달하기 위한 인수. + 문화권 정보 + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 다음의 배열: 메서드가 가져올 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 문화권 정보 + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 호출할 멤버에 전달하기 위한 인수. + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 다음의 배열: 메서드가 가져올 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 호출할 멤버에 전달하기 위한 인수. + 문화권 정보 + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 다음의 배열: 메서드가 가져올 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 문화권 정보 + 메서드 호출의 결과 + + + + 지정된 메서드를 호출합니다. + + 메서드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 다음의 배열: 메서드가 가져올 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 문화권 정보 + 제네릭 인수의 형식에 해당하는 형식의 배열. + 메서드 호출의 결과 + + + + 각 차원에 대한 첨자 배열을 사용하여 배열 요소를 가져옵니다 + + 멤버의 이름 + 구성된 비트마스크 + 요소의 배열입니다. + + + + 각 차원에 대해 첨자의 배열을 사용하여 배열 요소를 설정합니다. + + 멤버의 이름 + 설정할 값 + 구성된 비트마스크 + + + + 각 차원에 대한 첨자 배열을 사용하여 배열 요소를 가져옵니다 + + 멤버의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 구성된 비트마스크 + 요소의 배열입니다. + + + + 각 차원에 대해 첨자의 배열을 사용하여 배열 요소를 설정합니다. + + 멤버의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 설정할 값 + 구성된 비트마스크 + + + + 필드를 가져옵니다. + + 필드의 이름 + 필드입니다. + + + + 필드를 설정합니다. + + 필드의 이름 + 설정할 값 + + + + 필드를 가져옵니다. + + 필드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 필드입니다. + + + + 필드를 설정합니다. + + 필드의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 설정할 값 + + + + 필드 또는 속성을 가져옵니다. + + 필드 또는 속성의 이름 + 필드 또는 속성입니다. + + + + 필드 또는 속성을 설정합니다. + + 필드 또는 속성의 이름 + 설정할 값 + + + + 필드 또는 속성을 가져옵니다. + + 필드 또는 속성의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 필드 또는 속성입니다. + + + + 필드 또는 속성을 설정합니다. + + 필드 또는 속성의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 설정할 값 + + + + 속성을 가져옵니다 + + 속성의 이름 + 호출할 멤버에 전달하기 위한 인수. + 속성입니다. + + + + 속성을 가져옵니다 + + 속성의 이름 + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 속성입니다. + + + + 속성을 설정합니다. + + 속성의 이름 + 설정할 값 + 호출할 멤버에 전달하기 위한 인수. + + + + 속성을 설정합니다. + + 속성의 이름 + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 설정할 값 + 호출할 멤버에 전달하기 위한 인수. + + + + 속성을 가져옵니다 + + 속성의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 호출할 멤버에 전달하기 위한 인수. + 속성입니다. + + + + 속성을 가져옵니다 + + 속성의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 속성입니다. + + + + 속성을 설정합니다. + + 속성의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 설정할 값 + 호출할 멤버에 전달하기 위한 인수. + + + + 속성을 설정합니다. + + 속성의 이름 + 하나 이상의 배열 인덱스로 검색 수행 방법을 지정. + 설정할 값 + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + + + + 액세스 문자열의 유효성을 검사합니다. + + 액세스 문자열 + + + + 멤버를 호출합니다. + + 멤버의 이름 + 추가 특성 + 호출에 대한 인수 + 문화권 + 호출의 결과 + + + + 현재 private 형식에서 가장 적절한 제네릭 메서드 시그니처를 추출합니다. + + 서명 캐시를 검색할 메서드의 이름. + 검색할 매개 변수의 형식에 해당하는 형식의 배열. + 제네릭 인수의 형식에 해당하는 형식의 배열. + 메서드 서명을 추가로 필터링. + 매개 변수에 대한 한정자입니다. + methodinfo 인스턴스입니다. + + + + 이 클래스는 전용 접근자 기능에 대한 private 클래스를 나타냅니다. + + + + + 모든 것에 바인딩됩니다. + + + + + 래핑된 형식입니다. + + + + + private 형식을 포함하는 클래스의 새 인스턴스를 초기화합니다. + + 어셈블리 이름 + 다음의 정규화된 이름: + + + + Initializes a new instance of the class that contains + the private type from the type object + + 만들어야 할 래핑된 형식. + + + + 참조된 형식을 가져옵니다. + + + + + 정적 멤버를 호출합니다. + + InvokeHelper에 대한 멤버의 이름 + 호출에 대한 인수 + 호출의 결과 + + + + 정적 멤버를 호출합니다. + + InvokeHelper에 대한 멤버의 이름 + 다음의 배열: 호출할 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 호출에 대한 인수 + 호출의 결과 + + + + 정적 멤버를 호출합니다. + + InvokeHelper에 대한 멤버의 이름 + 다음의 배열: 호출할 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 호출에 대한 인수 + 제네릭 인수의 형식에 해당하는 형식의 배열. + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 호출에 대한 인수 + 문화권 + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 다음의 배열: 호출할 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 호출에 대한 인수 + 문화권 정보 + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 추가 호출 특성 + 호출에 대한 인수 + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 추가 호출 특성 + 다음의 배열: 호출할 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 호출에 대한 인수 + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 추가 호출 특성 + 호출에 대한 인수 + 문화권 + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 추가 호출 특성 + /// 다음의 배열: 호출할 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 호출에 대한 인수 + 문화권 + 호출의 결과 + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 추가 호출 특성 + /// 다음의 배열: 호출할 메서드에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체 + 호출에 대한 인수 + 문화권 + 제네릭 인수의 형식에 해당하는 형식의 배열. + 호출의 결과 + + + + 정적 배열의 요소를 가져옵니다. + + 배열의 이름 + + 가져올 요소의 위치를 지정하는 인덱스를 나타내는 32비트 정수의 1차원 배열입니다. + 예를 들어 a[10][11]에 액세스하려면 인덱스는 {10,11}이 됩니다. + + 지정된 위치의 요소 + + + + 정적 배열의 멤버를 설정합니다. + + 배열의 이름 + 설정할 값 + + 설정할 요소의 위치를 지정하는 인덱스를 나타내는 32비트 정수의 1차원 배열입니다. + 예를 들어 a[10][11]에 액세스하려면 배열은 {10,11}이 됩니다. + + + + + 정적 배열의 요소를 가져옵니다. + + 배열의 이름 + 추가 InvokeHelper 특성 + + 가져올 요소의 위치를 지정하는 인덱스를 나타내는 32비트 정수의 1차원 배열입니다. + 예를 들어 a[10][11]에 액세스하려면 배열은 {10,11}이 됩니다. + + 지정된 위치의 요소 + + + + 정적 배열의 멤버를 설정합니다. + + 배열의 이름 + 추가 InvokeHelper 특성 + 설정할 값 + + 설정할 요소의 위치를 지정하는 인덱스를 나타내는 32비트 정수의 1차원 배열입니다. + 예를 들어 a[10][11]에 액세스하려면 배열은 {10,11}이 됩니다. + + + + + 정적 필드를 가져옵니다. + + 필드의 이름 + 정적 필드입니다. + + + + 정적 필드를 설정합니다. + + 필드의 이름 + 호출에 대한 인수 + + + + 지정된 InvokeHelper 특성을 사용하여 정적 필드를 가져옵니다. + + 필드의 이름 + 추가 호출 특성 + 정적 필드입니다. + + + + 바인딩 특성을 사용하여 정적 필드를 설정합니다. + + 필드의 이름 + 추가 InvokeHelper 특성 + 호출에 대한 인수 + + + + 정적 필드 또는 속성을 가져옵니다. + + 필드 또는 속성의 이름 + 정적 필드 또는 속성입니다. + + + + 정적 필드 또는 속성을 설정합니다. + + 필드 또는 속성의 이름 + 필드나 속성에 대해 설정할 값 + + + + 지정된 InvokeHelper 특성을 사용하여 정적 필드 또는 속성을 가져옵니다. + + 필드 또는 속성의 이름 + 추가 호출 특성 + 정적 필드 또는 속성입니다. + + + + 바인딩 특성을 사용하여 정적 필드 또는 속성을 설정합니다. + + 필드 또는 속성의 이름 + 추가 호출 특성 + 필드나 속성에 대해 설정할 값 + + + + 정적 속성을 가져옵니다. + + 필드 또는 속성의 이름 + 호출에 대한 인수 + 정적 속성입니다. + + + + 정적 속성을 설정합니다. + + 속성의 이름 + 필드나 속성에 대해 설정할 값 + 호출할 멤버에 전달하기 위한 인수. + + + + 정적 속성을 설정합니다. + + 속성의 이름 + 필드나 속성에 대해 설정할 값 + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + + + + 정적 속성을 가져옵니다. + + 속성의 이름 + 추가 호출 특성. + 호출할 멤버에 전달하기 위한 인수. + 정적 속성입니다. + + + + 정적 속성을 가져옵니다. + + 속성의 이름 + 추가 호출 특성. + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + 정적 속성입니다. + + + + 정적 속성을 설정합니다. + + 속성의 이름 + 추가 호출 특성. + 필드나 속성에 대해 설정할 값 + 인덱싱된 속성을 위한 선택적인 인덱스 값. 인덱싱된 속성의 인덱스는 0부터 시작합니다. 인덱싱되지 않은 속성에 대해서는 이 값이 null이어야 합니다. + + + + 정적 속성을 설정합니다. + + 속성의 이름 + 추가 호출 특성. + 필드나 속성에 대해 설정할 값 + 다음의 배열: 인덱싱된 속성에 대한 매개 변수의 수, 순서 및 형식을 나타내는 개체. + 호출할 멤버에 전달하기 위한 인수. + + + + 정적 메서드를 호출합니다. + + 멤버의 이름 + 추가 호출 특성 + 호출에 대한 인수 + 문화권 + 호출의 결과 + + + + 제네릭 메서드에 대한 메서드 시그니처 검색을 제공합니다. + + + + + 이 두 메서드의 메서드 시그니처를 비교합니다. + + Method1 + Method2 + 비슷한 경우 True입니다. + + + + 제공된 형식의 기본 형식에서 계층 구조 수준을 가져옵니다. + + 형식입니다. + 깊이입니다. + + + + 제공된 정보를 사용하여 가장 많이 파생된 형식을 찾습니다. + + 후보 일치 항목입니다. + 일치 항목 수입니다. + 가장 많이 파생된 메서드입니다. + + + + 기본 기준과 일치하는 메서드의 집합을 고려하여 형식 배열을 기반으로 + 메서드를 선택하세요. 기준과 일치하는 메서드가 없으면 이 메서드는 + Null을 반환합니다. + + 바인딩 사양입니다. + 후보 일치 항목 + 형식 + 매개 변수 한정자입니다. + 일치하는 메서드입니다. 일치 항목이 없는 경우 null입니다. + + + + 제공된 두 메서드에서 가장 한정적인 메서드를 찾습니다. + + 메서드 1 + 메서드 1에 대한 매개 변수 순서 + 매개 변수 배열 형식입니다. + 메서드 2 + 메서드 2에 대한 매개 변수 순서 + >매개 변수 배열 형식입니다. + 검색할 형식입니다. + Args. + 일치를 나타내는 int입니다. + + + + 제공된 두 메서드에서 가장 한정적인 메서드를 찾습니다. + + 메서드 1 + 메서드 1에 대한 매개 변수 순서 + 매개 변수 배열 형식입니다. + 메서드 2 + 메서드 2에 대한 매개 변수 순서 + >매개 변수 배열 형식입니다. + 검색할 형식입니다. + Args. + 일치를 나타내는 int입니다. + + + + 제공된 두 형식 중 가장 한정적인 형식을 찾습니다. + + 형식 1 + 형식 2 + 정의하는 형식 + 일치를 나타내는 int입니다. + + + + 단위 테스트에 제공되는 정보를 저장하는 데 사용됩니다. + + + + + 테스트에 대한 테스트 속성을 가져옵니다. + + + + + 테스트가 데이터 기반 테스트에 사용될 때 현재 데이터 행을 가져옵니다. + + + + + 테스트가 데이터 기반 테스트에 사용될 때 현재 데이터 연결 행을 가져옵니다. + + + + + 배포된 파일 및 결과 파일이 저장되는, 테스트 실행에 대한 기본 디렉터리를 가져옵니다. + + + + + 테스트 실행을 위해 배포되는 파일의 디렉터리를 가져옵니다. 일반적으로 의 하위 디렉터리입니다. + + + + + 테스트 실행의 결과에 대한 기본 디렉터리를 가져옵니다. 일반적으로 의 하위 디렉터리입니다. + + + + + 테스트 실행 결과 파일의 디렉터리를 가져옵니다. 일반적으로 의 하위 디렉터리입니다. + + + + + 테스트 결과 파일의 디렉터리를 가져옵니다. + + + + + 배포된 파일 및 결과 파일이 저장되는, 테스트 실행에 대한 기본 디렉터리를 가져옵니다. + 과(와) 같습니다. 해당 속성을 대신 사용하세요. + + + + + 테스트 실행에 대해 배포되는 파일의 디렉터리를 가져옵니다. 일반적으로 의 하위 디렉터리입니다. + 과(와) 같습니다. 해당 속성을 대신 사용하세요. + + + + + 테스트 실행 결과 파일의 디렉터리를 가져옵니다. 일반적으로 의 하위 디렉터리입니다. + 과(와) 같습니다. 테스트 실행 결과 파일의 해당 속성 또는 테스트 관련 결과 파일의 + 을(를) 대신 사용하세요. + + + + + 현재 실행 중인 테스트 메서드를 포함하는 클래스의 정규화된 이름을 가져옵니다. + + + + + 현재 실행 중인 테스트 메서드의 이름을 가져옵니다. + + + + + 현재 테스트 결과를 가져옵니다. + + + + + 테스트 실행 중에 추적 메시지를 쓰는 데 사용됩니다. + + 형식이 지정된 메시지 문자열 + + + + 테스트 실행 중에 추적 메시지를 쓰는 데 사용됩니다. + + 서식 문자열 + 인수 + + + + TestResult.ResultFileNames의 목록에 파일 이름을 추가합니다. + + + 파일 이름. + + + + + 지정된 이름으로 타이머를 시작합니다. + + 타이머의 이름입니다. + + + + 지정된 이름의 타이머를 종료합니다. + + 타이머의 이름입니다. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..22e769ac3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 실행을 위한 TestMethod입니다. + + + + + 테스트 메서드의 이름을 가져옵니다. + + + + + 테스트 클래스의 이름을 가져옵니다. + + + + + 테스트 메서드의 반환 형식을 가져옵니다. + + + + + 테스트 메서드의 매개 변수를 가져옵니다. + + + + + 테스트 메서드에 대한 methodInfo를 가져옵니다. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 테스트 메서드를 호출합니다. + + + 테스트 메서드에 전달할 인수(예: 데이터 기반의 경우) + + + 테스트 메서드 호출의 결과. + + + This call handles asynchronous test methods as well. + + + + + 테스트 메서드의 모든 특성을 가져옵니다. + + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 모든 특성. + + + + + 특정 형식의 특성을 가져옵니다. + + System.Attribute type. + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 지정한 형식의 특성입니다. + + + + + 도우미입니다. + + + + + 검사 매개 변수가 Null이 아닙니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws argument null exception when parameter is null. + + + + 검사 매개 변수가 Null이 아니거나 비어 있습니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws ArgumentException when parameter is null. + + + + 데이터 기반 테스트에서 데이터 행에 액세스하는 방법에 대한 열거형입니다. + + + + + 행이 순차적인 순서로 반환됩니다. + + + + + 행이 임의의 순서로 반환됩니다. + + + + + 테스트 메서드에 대한 인라인 데이터를 정의하는 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + + + + 인수 배열을 사용하는 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + 추가 데이터. + + + + 테스트 메서드 호출을 위한 데이터를 가져옵니다. + + + + + 사용자 지정을 위한 테스트 결과에서 표시 이름을 가져오거나 설정합니다. + + + + + 어설션 불확실 예외입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + InternalTestFailureException 클래스. 테스트 사례에 대한 내부 실패를 나타내는 데 사용됩니다. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 지정된 형식의 예외를 예상하도록 지정하는 특성 + + + + + 예상 형식이 있는 클래스의 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + + + 테스트에서 예외를 throw하지 않을 때 포함할 메시지 및 예상 형식이 있는 클래스의 + 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + 예외를 throw하지 않아 테스트가 실패할 경우 테스트 결과에 포함할 메시지 + + + + + 예상되는 예외의 형식을 나타내는 값을 가져옵니다. + + + + + 예상 예외의 형식에서 파생된 형식이 예상대로 자격을 얻도록 허용할지 여부를 나타내는 값을 가져오거나 + 설정합니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 단위 테스트에 의해 throw되는 예외의 형식이 예상되는지를 확인합니다. + + 단위 테스트에서 throw한 예외 + + + + 단위 테스트에서 예외를 예상하도록 지정하는 특성에 대한 기본 클래스 + + + + + 기본 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + + + 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + 예외를 throw하지 않아서 테스트가 실패할 경우 테스트 결과에 포함할 + 메시지 + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 기본 예외 없음 메시지를 가져옵니다. + + ExpectedException 특성 형식 이름 + 기본 예외 없음 메시지 + + + + 예외가 예상되는지 여부를 확인합니다. 메서드가 반환되면 예외가 + 예상되는 것으로 이해됩니다. 메서드가 예외를 throw하면 예외가 + 예상되지 않는 것으로 이해되고, throw된 예외의 메시지가 + 테스트 결과에 포함됩니다. 클래스는 편의를 위해 사용될 수 + 있습니다. 이(가) 사용되는 경우 어설션에 실패하며, + 테스트 결과가 [결과 불충분]으로 설정됩니다. + + 단위 테스트에서 throw한 예외 + + + + AssertFailedException 또는 AssertInconclusiveException인 경우 예외를 다시 throw합니다. + + 어설션 예외인 경우 예외를 다시 throw + + + + 이 클래스는 제네릭 형식을 사용하는 형식에 대한 사용자의 유닛 테스트를 지원하도록 설계되었습니다. + GenericParameterHelper는 몇 가지 공통된 제네릭 형식 제약 조건을 충족합니다. + 예: + 1. public 기본 생성자 + 2. 공통 인터페이스 구현: IComparable, IEnumerable + + + + + C# 제네릭의 '새로 입력할 수 있는' 제약 조건을 충족하는 클래스의 + 새 인스턴스를 초기화합니다. + + + This constructor initializes the Data property to a random value. + + + + + 데이터 속성을 사용자가 제공한 값으로 초기화하는 클래스의 + 새 인스턴스를 초기화합니다. + + 임의의 정수 값 + + + + 데이터를 가져오거나 설정합니다. + + + + + 두 GenericParameterHelper 개체의 값을 비교합니다. + + 비교할 개체 + 개체의 값이 '이' GenericParameterHelper 개체와 동일한 경우에는 true이고, + 동일하지 않은 경우에는 false입니다. + + + + 이 개체의 해시 코드를 반환합니다. + + 해시 코드입니다. + + + + 두 개체의 데이터를 비교합니다. + + 비교할 개체입니다. + + 이 인스턴스 및 값의 상대 값을 나타내는 부호 있는 숫자입니다. + + + Thrown when the object passed in is not an instance of . + + + + + 길이가 데이터 속성에서 파생된 IEnumerator 개체를 + 반환합니다. + + IEnumerator 개체 + + + + 현재 개체와 동일한 GenericParameterHelper 개체를 + 반환합니다. + + 복제된 개체입니다. + + + + 사용자가 진단을 위해 단위 테스트에서 추적을 로그하거나 쓸 수 있습니다. + + + + + LogMessage용 처리기입니다. + + 로깅할 메시지. + + + + 수신할 이벤트입니다. 단위 테스트 기록기에서 메시지를 기록할 때 발생합니다. + 주로 어댑터에서 사용합니다. + + + + + 메시지를 로그하기 위해 테스트 작성자가 호출하는 API입니다. + + 자리 표시자가 있는 문자열 형식. + 자리 표시자에 대한 매개 변수. + + + + TestCategory 특성 - 단위 테스트의 범주 지정에 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화하고 범주를 테스트에 적용합니다. + + + 테스트 범주. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + "Category" 특성을 위한 기본 클래스 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 클래스의 새 인스턴스를 초기화합니다. + 범주를 테스트에 적용합니다. TestCategories에 의해 반환된 문자열은 + 테스트 필터링을 위한 /category 명령과 함께 사용됩니다. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + AssertFailedException 클래스 - 테스트 사례에 대한 실패를 나타내는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 단위 테스트 내에서 다양한 조건을 테스트하기 위한 도우미 + 클래스의 컬렉션입니다. 테스트 중인 조건이 충족되지 않으면 예외가 + throw됩니다. + + + + + Assert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is false. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is true. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null. + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not refer to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if refers to the same object + as . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is not equal to . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException을 throw합니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + 참조 같음에 대해 두 형식의 인스턴스를 비교하는 데 정적 equals 오버로드가 + 사용됩니다. 이 메서드는 같음에 대해 두 인스턴스를 비교하는 데 사용되지 않습니다. + 이 개체는 항상 Assert.Fail과 함께 throw됩니다. 단위 테스트에서 + Assert.AreEqual 및 관련 오버로드를 사용하세요. + + 개체 A + 개체 B + 항상 False. + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + Null 문자('\0')를 "\\0"으로 바꿉니다. + + + 검색할 문자열. + + + Null 문자가 "\\0"으로 교체된 변환된 문자열. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException을 만들고 throw하는 도우미 함수 + + + 예외를 throw하는 어설션의 이름 + + + 어설션 실패에 대한 조건을 설명하는 메시지 + + + 매개 변수. + + + + + 유효한 조건의 매개 변수를 확인합니다. + + + 매개 변수. + + + 어셜선 이름. + + + 매개 변수 이름 + + + 잘못된 매개 변수 예외에 대한 메시지 + + + 매개 변수. + + + + + 개체를 문자열로 안전하게 변환하고, Null 값 및 Null 문자를 처리합니다. + Null 값은 "(null)"로 변환됩니다. Null 문자는 "\\0"으로 변환됩니다. + + + 문자열로 변환될 개체. + + + 변환된 문자열. + + + + + 문자열 어셜션입니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if matches . + + + + + 단위 테스트 내에서 컬렉션과 연결된 다양한 조건을 테스트하기 + 위한 도우미 클래스의 컬렉션. 테스트 중인 조건이 충족되지 않으면 + 예외가 throw됩니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is found in + . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a two or more equal elements are found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지입니다.. + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 모든 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if every element in is also found in + . + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 첫 번째 컬렉션이 두 번째 컬렉션의 하위 집합인지를 + 확인합니다. 한 집합에 중복된 요소가 포함된 경우, 하위 집합에 있는 요소의 + 발생 횟수는 상위 집합에 있는 발생 횟수와 같거나 + 작아야 합니다. + + + 테스트가 다음에 포함될 것으로 예상하는 컬렉션: . + + + 테스트가 다음을 포함할 것으로 예상하는 컬렉션: . + + + 다음의 경우 True 이(가) + 의 하위 집합인 경우 참, 나머지 경우는 거짓. + + + + + 지정된 컬렉션에서 각 요소의 발생 횟수를 포함하는 + 사전을 생성합니다. + + + 처리할 컬렉션. + + + 컬렉션에 있는 null 요소의 수. + + + 지정된 컬렉션에 있는 각 요소의 발생 횟수를 포함하는 + 딕셔너리. + + + + + 두 컬렉션 간의 불일치 요소를 찾습니다. 불일치 요소란 + 예상 컬렉션에 나타나는 횟수가 실제 컬렉션에 + 나타나는 횟수와 다른 요소를 말합니다. 컬렉션은 + 같은 수의 요소가 있는 Null이 아닌 다른 참조로 + 간주됩니다. 이 수준에서의 확인 작업은 호출자의 + 책임입니다. 불일치 요소가 없으면 함수는 false를 + 반환하고 출력 매개 변수가 사용되지 않습니다. + + + 비교할 첫 번째 컬렉션. + + + 비교할 두 번째 컬렉션. + + + 다음의 예상 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 다음의 실제 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 불일치 요소(null일 수 있음) 또는 불일치 요소가 없는 경우 + null. + + + 불일치 요소가 발견되면 참, 발견되지 않으면 거짓. + + + + + object.Equals를 사용하여 개체 비교합니다. + + + + + 프레임워크 예외에 대한 기본 클래스입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + + + + + 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + + + + + 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 + 대한 현재 스레드의 CurrentUICulture 속성을 재정의합니다. + + + + + [액세스 문자열의 구문이 잘못되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 컬렉션에 <{2}>은(는) {1}개가 포함되어야 하는데 실제 컬렉션에는 {3}개가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [중복된 항목이 있습니다. <{1}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 대/소문자가 다른 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 크지 않아야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}({2})>. 실제 값: <{3}({4})>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 커야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>을(를) 제외한 모든 값. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [AreSame()에 값 형식을 전달하면 안 됩니다. Object로 변환된 값은 동일한 값으로 간주되지 않습니다. AreEqual()을 사용해 보세요. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}이(가) 실패했습니다. {1}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [async TestMethod with UITestMethodAttribute는 지원되지 않습니다. async를 제거하거나 TestMethodAttribute를 사용하세요.]와 유사한 지역화된 문자열 조회합니다. + + + + + [두 컬렉션이 모두 비어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션 참조가 동일한 컬렉션 개체를 가리킵니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [(null)]과 유사한 지역화된 문자열을 조회합니다. + + + + + Looks up a localized string similar to (object). + + + + + ['{0}' 문자열이 '{1}' 문자열을 포함하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [어설션에 Assert.Equals를 사용할 수 없습니다. 대신 Assert.AreEqual 및 오버로드를 사용하세요.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [컬렉션의 요소 수가 일치하지 않습니다. 예상 값: <{1}>. 실제 값: <{2}>.{0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {0}에 있는 요소가 일치하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소는 예상 형식이 아닙니다. 예상 형식: <{2}>. 실제 형식: <{3}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소가 (null)입니다. 예상 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 문자열로 끝나지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 인수 - EqualsTester에는 Null을 사용할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 형식의 개체를 {1} 형식의 개체로 변환할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [참조된 내부 개체가 더 이상 유효하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. {1}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 속성의 형식은 {2}이어야 하는데 실제로는 {1}입니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 예상 형식: <{1}>. 실제 형식: <{2}>.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 형식: <{1}>. 실제 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치합니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [DataRowAttribute가 지정되지 않았습니다. DataTestMethodAttribute에는 하나 이상의 DataRowAttribute가 필요합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 예외가 throw되지 않았습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. 이 값은 Null일 수 없습니다. {1}.](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [요소 수가 다릅니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 시그니처를 가진 생성자를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 멤버({0})를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + ['{0}' 문자열이 '{1}' 문자열로 시작되지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 예외 형식은 System.Exception이거나 System.Exception에서 파생된 형식이어야 합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [(예외로 인해 {0} 형식의 예외에 대한 메시지를 가져오지 못했습니다.)]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외 {0}을(를) throw하지 않았습니다. {1}](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외를 throw하지 않았습니다. 예외는 테스트 메서드에 정의된 {0} 특성에 의해 예상되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외를 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외 또는 해당 예외에서 파생된 형식을 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 {2} 예외를 throw했습니다. {0} + 예외 메시지: {3} + 스택 추적: {4}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + 단위 테스트 결과 + + + + + 테스트가 실행되었지만 문제가 있습니다. + 예외 또는 실패한 어설션과 관련된 문제일 수 있습니다. + + + + + 테스트가 완료되었지만, 성공인지 실패인지를 알 수 없습니다. + 중단된 테스트에 사용된 것일 수 있습니다. + + + + + 아무 문제 없이 테스트가 실행되었습니다. + + + + + 테스트가 현재 실행 중입니다. + + + + + 테스트를 실행하려고 시도하는 동안 시스템 오류가 발생했습니다. + + + + + 테스트가 시간 초과되었습니다. + + + + + 테스트가 사용자에 의해 중단되었습니다. + + + + + 테스트의 상태를 알 수 없습니다. + + + + + 단위 테스트 프레임워크에 대한 도우미 기능을 제공합니다. + + + + + 재귀적으로 모든 내부 예외에 대한 메시지를 포함하여 예외 메시지를 + 가져옵니다. + + 오류 메시지 정보가 포함된 + 문자열에 대한 메시지 가져오기의 예외 + + + + 클래스와 함께 사용할 수 있는 시간 제한에 대한 열거형입니다. + 열거형의 형식은 일치해야 합니다. + + + + + 무제한입니다. + + + + + 테스트 클래스 특성입니다. + + + + + 이 테스트를 실행할 수 있는 테스트 메서드 특성을 가져옵니다. + + 이 메서드에 정의된 테스트 메서드 특성 인스턴스입니다. + 이 테스트를 실행하는 데 사용됩니다. + Extensions can override this method to customize how all methods in a class are run. + + + + 테스트 메서드 특성입니다. + + + + + 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드입니다. + 테스트 결과를 나타내는 TestResult 개체의 배열입니다. + Extensions can override this method to customize running a TestMethod. + + + + 테스트 초기화 특성입니다. + + + + + 테스트 정리 특성입니다. + + + + + 무시 특성입니다. + + + + + 테스트 속성 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 이름. + + + 값. + + + + + 이름을 가져옵니다. + + + + + 값을 가져옵니다. + + + + + 클래스 초기화 특성입니다. + + + + + 클래스 정리 특성입니다. + + + + + 어셈블리 초기화 특성입니다. + + + + + 어셈블리 정리 특성입니다. + + + + + 테스트 소유자 + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 소유자. + + + + + 소유자를 가져옵니다. + + + + + Priority 특성 - 단위 테스트의 우선 순위를 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 우선 순위. + + + + + 우선 순위를 가져옵니다. + + + + + 테스트의 설명 + + + + + 테스트를 설명하는 클래스의 새 인스턴스를 초기화합니다. + + 설명입니다. + + + + 테스트의 설명을 가져옵니다. + + + + + CSS 프로젝트 구조 URI + + + + + CSS 프로젝트 구조 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 프로젝트 구조 URI입니다. + + + + CSS 프로젝트 구조 URI를 가져옵니다. + + + + + CSS 반복 URI + + + + + CSS 반복 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 반복 URI입니다. + + + + CSS 반복 URI를 가져옵니다. + + + + + WorkItem 특성 - 이 테스트와 연결된 작업 항목을 지정하는 데 사용됩니다. + + + + + WorkItem 특성에 대한 클래스의 새 인스턴스를 초기화합니다. + + 작업 항목에 대한 ID입니다. + + + + 연결된 작업 항목에 대한 ID를 가져옵니다. + + + + + Timeout 특성 - 단위 테스트의 시간 제한을 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한. + + + + + 미리 설정된 시간 제한이 있는 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한 + + + + + 시간 제한을 가져옵니다. + + + + + 어댑터에 반환할 TestResult 개체입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 결과의 표시 이름을 가져오거나 설정합니다. 여러 결과를 반환할 때 유용합니다. + Null인 경우 메서드 이름은 DisplayName으로 사용됩니다. + + + + + 테스트 실행의 결과를 가져오거나 설정합니다. + + + + + 테스트 실패 시 throw할 예외를 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에 의한 디버그 추적을 가져오거나 설정합니다. + + + + + Gets or sets the debug traces by test code. + + + + + 테스트 실행의 지속 시간을 가져오거나 설정합니다. + + + + + 데이터 소스에서 데이터 행 인덱스를 가져오거나 설정합니다. 데이터 기반 테스트에서 + 개별 데이터 행 실행의 결과에 대해서만 설정합니다. + + + + + 테스트 메서드의 반환 값을 가져오거나 설정합니다(현재 항상 Null). + + + + + 테스트로 첨부한 결과 파일을 가져오거나 설정합니다. + + + + + 데이터 기반 테스트에 대한 연결 문자열, 테이블 이름 및 행 액세스 방법을 지정합니다. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource의 기본 공급자 이름입니다. + + + + + 기본 데이터 액세스 방법입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 데이터 소스에 액세스할 데이터 공급자, 연결 문자열, 데이터 테이블 및 데이터 액세스 방법으로 초기화됩니다. + + 고정 데이터 공급자 이름(예: System.Data.SqlClient) + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + 데이터에 액세스할 순서를 지정합니다. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 연결 문자열 및 테이블 이름으로 초기화됩니다. + OLEDB 데이터 소스에 액세스하기 위한 연결 문자열 및 데이터 테이블을 지정하세요. + + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 설정 이름과 연결된 연결 문자열 및 데이터 공급자로 초기화됩니다. + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에 있는 데이터 소스의 이름. + + + + 데이터 소스의 데이터 공급자를 나타내는 값을 가져옵니다. + + + 데이터 공급자 이름. 데이터 공급자를 개체 초기화에서 지정하지 않은 경우 System.Data.OleDb의 기본 공급자가 반환됩니다. + + + + + 데이터 소스의 연결 문자열을 나타내는 값을 가져옵니다. + + + + + 데이터를 제공하는 테이블 이름을 나타내는 값을 가져옵니다. + + + + + 데이터 소스에 액세스하는 데 사용되는 메서드를 가져옵니다. + + + + 값 중 하나입니다. 이(가) 초기화되지 않은 경우 다음 기본값이 반환됩니다. . + + + + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에서 찾은 데이터 소스의 이름을 가져옵니다. + + + + + 데이터를 인라인으로 지정할 수 있는 데이터 기반 테스트의 특성입니다. + + + + + 모든 데이터 행을 찾고 실행합니다. + + + 테스트 메서드. + + + 배열 . + + + + + 데이터 기반 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드. + 데이터 행. + 실행 결과. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..ec6008303 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Służy do określenia elementu wdrożenia (pliku lub katalogu) dla wdrożenia testowego. + Może być określony w klasie testowej lub metodzie testowej. + Może mieć wiele wystąpień atrybutu w celu określenia więcej niż jednego elementu. + Ścieżka elementu może być bezwzględna lub względna. Jeśli jest względna, jest określana względem elementu RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Inicjuje nowe wystąpienie klasy . + + Plik lub katalog do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + + + + Inicjuje nowe wystąpienie klasy + + Względna lub bezwzględna ścieżka do pliku lub katalogu do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + Ścieżka katalogu, do którego mają być kopiowane elementy. Może być bezwzględna lub określana względem katalogu wdrażania. Wszystkie pliki i katalogi określone przez zostaną skopiowane do tego katalogu. + + + + Pobiera ścieżkę źródłowego pliku lub folderu do skopiowania. + + + + + Pobiera ścieżkę katalogu, do którego element jest kopiowany. + + + + + Zawiera literały nazw sekcji, właściwości, atrybutów. + + + + + Nazwa sekcji konfiguracji. + + + + + Nazwa sekcji konfiguracji dla Beta2. Pozostawiona w celu zapewnienia zgodności. + + + + + Nazwa sekcji dla źródła danych. + + + + + Nazwa atrybutu dla parametru „Name” + + + + + Nazwa atrybutu dla parametru „ConnectionString” + + + + + Nazwa atrybutu dla parametru „DataAccessMethod” + + + + + Nazwa atrybutu dla parametru „DataTable” + + + + + Element źródła danych. + + + + + Pobiera lub ustawia nazwę tej konfiguracji. + + + + + Pobiera lub ustawia element ConnectionStringSettings w sekcji <connectionStrings> w pliku config. + + + + + Pobiera lub ustawia nazwę tabeli danych. + + + + + Pobiera lub ustawia typ dostępu do danych. + + + + + Pobiera nazwę klucza. + + + + + Pobiera właściwości konfiguracji. + + + + + Kolekcja elementów źródła danych. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Zwraca element konfiguracji z określonym kluczem. + + Klucz elementu do zwrócenia. + Element System.Configuration.ConfigurationElement z określonym kluczem; w przeciwnym razie wartość null. + + + + Pobiera element konfiguracji pod określoną lokalizacją w indeksie. + + Lokalizacja w indeksie elementu System.Configuration.ConfigurationElement do zwrócenia. + + + + Dodaje element konfiguracji do kolekcji elementów konfiguracji. + + Element System.Configuration.ConfigurationElement do dodania. + + + + Usuwa element System.Configuration.ConfigurationElement z kolekcji. + + . + + + + Usuwa element System.Configuration.ConfigurationElement z kolekcji. + + Klucz elementu System.Configuration.ConfigurationElement do usunięcia. + + + + Usuwa wszystkie obiekty elementów konfiguracji z kolekcji. + + + + + Tworzy nowy element . + + Nowy element. + + + + Pobiera klucz elementu dla określnego elementu konfiguracji. + + Element System.Configuration.ConfigurationElement, dla którego ma zostać zwrócony klucz. + Element System.Object działający jako klucz dla określonego elementu System.Configuration.ConfigurationElement. + + + + Dodaje element konfiguracji do kolekcji elementów konfiguracji. + + Element System.Configuration.ConfigurationElement do dodania. + + + + Dodaje element konfiguracji do kolekcji elementów konfiguracji. + + Lokalizacja w indeksie, pod którą ma zostać dodany określony element System.Configuration.ConfigurationElement. + Element System.Configuration.ConfigurationElement do dodania. + + + + Obsługa ustawień konfiguracji na potrzeby testów. + + + + + Pobiera sekcję konfiguracji dla testów. + + + + + Sekcja konfiguracji dla testów. + + + + + Pobiera źródła danych dla tej sekcji konfiguracji. + + + + + Pobiera kolekcję właściwości. + + + Element właściwości dla elementu. + + + + + Ta klasa reprezentuje rzeczywisty NIEPUBLICZNY obiekt WEWNĘTRZNY w systemie + + + + + Inicjuje nowe wystąpienie klasy , które zawiera + już istniejący obiekt klasy prywatnej + + obiekt służący jako punkt początkowy na potrzeby dostępu do prywatnych elementów członkowskich + ciąg wyłuskujący używający elementu . wskazującego obiekt do pobrania, jak w wyrażeniu m_X.m_Y.m_Z + + + + Inicjuje nowe wystąpienie klasy , które opakowuje + określony typ. + + Nazwa zestawu + w pełni kwalifikowana nazwa + Argumenty do przekazania do konstruktora + + + + Inicjuje nowe wystąpienie klasy , które opakowuje + określony typ. + + Nazwa zestawu + w pełni kwalifikowana nazwa + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla konstruktora do pobrania + Argumenty do przekazania do konstruktora + + + + Inicjuje nowe wystąpienie klasy , które opakowuje + określony typ. + + typ obiektu do utworzenia + Argumenty do przekazania do konstruktora + + + + Inicjuje nowe wystąpienie klasy , które opakowuje + określony typ. + + typ obiektu do utworzenia + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla konstruktora do pobrania + Argumenty do przekazania do konstruktora + + + + Inicjuje nowe wystąpienie klasy , które opakowuje + określony obiekt. + + obiekt do opakowania + + + + Inicjuje nowe wystąpienie klasy , które opakowuje + określony obiekt. + + obiekt do opakowania + Obiekt PrivateType + + + + Pobiera lub ustawia element docelowy + + + + + Pobiera typ obiektu bazowego + + + + + zwraca wartość skrótu docelowego obiektu + + wartość typu int reprezentująca wartość skrótu docelowego obiektu + + + + Jest równe + + Obiekt, z którym ma zostać wykonane porównanie + zwraca wartość true, jeśli obiekty są równe. + + + + Wywołuje określoną metodę + + Nazwa metody + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do pobrania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do pobrania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Tablica typów odpowiadających typom argumentów ogólnych. + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Informacje o kulturze + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do pobrania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Informacje o kulturze + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do pobrania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Informacje o kulturze + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do pobrania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Informacje o kulturze + Wynik wywołania metody + + + + Wywołuje określoną metodę + + Nazwa metody + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do pobrania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Informacje o kulturze + Tablica typów odpowiadających typom argumentów ogólnych. + Wynik wywołania metody + + + + Pobiera element tablicy przy użyciu tablicy indeksów dla każdego wymiaru + + Nazwa elementu członkowskiego + indeksy tablicy + Tablica elementów. + + + + Ustawia element tablicy przy użyciu tablicy indeksów dla każdego wymiaru + + Nazwa elementu członkowskiego + Wartość do ustawienia + indeksy tablicy + + + + Pobiera element tablicy przy użyciu tablicy indeksów dla każdego wymiaru + + Nazwa elementu członkowskiego + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + indeksy tablicy + Tablica elementów. + + + + Ustawia element tablicy przy użyciu tablicy indeksów dla każdego wymiaru + + Nazwa elementu członkowskiego + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Wartość do ustawienia + indeksy tablicy + + + + Pobierz pole + + Nazwa pola + Pole. + + + + Ustawia pole + + Nazwa pola + wartość do ustawienia + + + + Pobiera pole + + Nazwa pola + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Pole. + + + + Ustawia pole + + Nazwa pola + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + wartość do ustawienia + + + + Pobierz pole lub właściwość + + Nazwa pola lub właściwości + Pole lub właściwość. + + + + Ustawia pole lub właściwość + + Nazwa pola lub właściwości + wartość do ustawienia + + + + Pobiera pole lub właściwość + + Nazwa pola lub właściwości + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Pole lub właściwość. + + + + Ustawia pole lub właściwość + + Nazwa pola lub właściwości + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + wartość do ustawienia + + + + Pobiera właściwość + + Nazwa właściwości + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Właściwość. + + + + Pobiera właściwość + + Nazwa właściwości + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Właściwość. + + + + Ustaw właściwość + + Nazwa właściwości + wartość do ustawienia + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Ustaw właściwość + + Nazwa właściwości + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + wartość do ustawienia + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Pobiera właściwość + + Nazwa właściwości + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Właściwość. + + + + Pobiera właściwość + + Nazwa właściwości + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Właściwość. + + + + Ustawia właściwość + + Nazwa właściwości + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + wartość do ustawienia + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Ustawia właściwość + + Nazwa właściwości + Maska bitów składająca się z co najmniej jednego określający sposób wykonania wyszukiwania. + wartość do ustawienia + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Zweryfikuj ciąg dostępu + + ciąg dostępu + + + + Wywołuje element członkowski + + Nazwa elementu członkowskiego + Dodatkowe atrybuty + Argumenty wywołania + Kultura + Wynik wywołania + + + + Wyodrębnia najbardziej odpowiednią sygnaturę metody ogólnej z bieżącego typu prywatnego. + + Nazwa metody przeszukującej pamięć podręczną sygnatur. + Tablica typów odpowiadających typom przeszukiwanych parametrów. + Tablica typów odpowiadających typom argumentów ogólnych. + , aby bardziej szczegółowo filtrować sygnatury metod. + Modyfikatory dla parametrów. + Wystąpienie elementu methodinfo. + + + + Ta klasa reprezentuje klasę prywatną dla funkcjonalności prywatnej metody dostępu. + + + + + Wiąże się z każdym elementem + + + + + Opakowany typ. + + + + + Inicjuje nowe wystąpienie klasy , które zawiera typ prywatny. + + Nazwa zestawu + w pełni kwalifikowana nazwa + + + + Inicjuje nowe wystąpienie klasy , które zawiera + typ prywatny z obiektu typu + + Opakowany typ do utworzenia. + + + + Pobiera przywoływany typ + + + + + Wywołuje statyczny element członkowski + + Nazwa elementu członkowskiego dla elementu InvokeHelper + Argumenty wywołania + Wynik wywołania + + + + Wywołuje statyczny element członkowski + + Nazwa elementu członkowskiego dla elementu InvokeHelper + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do wywołania + Argumenty wywołania + Wynik wywołania + + + + Wywołuje statyczny element członkowski + + Nazwa elementu członkowskiego dla elementu InvokeHelper + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do wywołania + Argumenty wywołania + Tablica typów odpowiadających typom argumentów ogólnych. + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Argumenty wywołania + Kultura + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do wywołania + Argumenty wywołania + Informacje o kulturze + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Dodatkowe atrybuty wywołania + Argumenty wywołania + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Dodatkowe atrybuty wywołania + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do wywołania + Argumenty wywołania + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Dodatkowe atrybuty wywołania + Argumenty wywołania + Kultura + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Dodatkowe atrybuty wywołania + /// Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do wywołania + Argumenty wywołania + Kultura + Wynik wywołania + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Dodatkowe atrybuty wywołania + /// Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów dla metody do wywołania + Argumenty wywołania + Kultura + Tablica typów odpowiadających typom argumentów ogólnych. + Wynik wywołania + + + + Pobiera element w tablicy statycznej + + Nazwa tablicy + + Jednowymiarowa tablica 32-bitowych liczb całkowitych reprezentujących indeksy określające + pozycję elementu do pobrania. Przykładowo aby uzyskać dostęp do elementu a[10][11], indeksem będzie {10,11} + + element w określonej lokalizacji + + + + Ustawia element członkowski tablicy statycznej + + Nazwa tablicy + wartość do ustawienia + + Jednowymiarowa tablica 32-bitowych liczb całkowitych reprezentujących indeksy określające + pozycję elementu do ustawienia. Przykładowo aby uzyskać dostęp do elementu a[10][11], tablicą będzie {10,11} + + + + + Pobiera element z tablicy statycznej + + Nazwa tablicy + Dodatkowe atrybuty elementu InvokeHelper + + Jednowymiarowa tablica 32-bitowych liczb całkowitych reprezentujących indeksy określające + pozycję elementu do pobrania. Przykładowo aby uzyskać dostęp do elementu a[10][11], tablicą będzie {10,11} + + element w określonej lokalizacji + + + + Ustawia element członkowski tablicy statycznej + + Nazwa tablicy + Dodatkowe atrybuty elementu InvokeHelper + wartość do ustawienia + + Jednowymiarowa tablica 32-bitowych liczb całkowitych reprezentujących indeksy określające + pozycję elementu do ustawienia. Przykładowo aby uzyskać dostęp do elementu a[10][11], tablicą będzie {10,11} + + + + + Pobiera pole statyczne + + Nazwa pola + Pole statyczne. + + + + Ustawia pole statyczne + + Nazwa pola + Argument wywołania + + + + Pobiera pole statyczne za pomocą określonych atrybutów elementu InvokeHelper + + Nazwa pola + Dodatkowe atrybuty wywołania + Pole statyczne. + + + + Ustawia pole statyczne za pomocą atrybutów powiązania + + Nazwa pola + Dodatkowe atrybuty elementu InvokeHelper + Argument wywołania + + + + Pobiera pole statyczne lub właściwość + + Nazwa pola lub właściwości + Statyczne pole lub właściwość. + + + + Ustawia pole statyczne lub właściwość + + Nazwa pola lub właściwości + Wartość do ustawienia dla pola lub właściwości + + + + Pobiera pole statyczne lub właściwość za pomocą określonych atrybutów elementu InvokeHelper + + Nazwa pola lub właściwości + Dodatkowe atrybuty wywołania + Statyczne pole lub właściwość. + + + + Ustawia pole statyczne lub właściwość za pomocą atrybutów powiązania + + Nazwa pola lub właściwości + Dodatkowe atrybuty wywołania + Wartość do ustawienia dla pola lub właściwości + + + + Pobiera właściwość statyczną + + Nazwa pola lub właściwości + Argumenty wywołania + Właściwość statyczna. + + + + Ustawia właściwość statyczną + + Nazwa właściwości + Wartość do ustawienia dla pola lub właściwości + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Ustawia właściwość statyczną + + Nazwa właściwości + Wartość do ustawienia dla pola lub właściwości + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Pobiera właściwość statyczną + + Nazwa właściwości + Dodatkowe atrybuty wywołania. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Właściwość statyczna. + + + + Pobiera właściwość statyczną + + Nazwa właściwości + Dodatkowe atrybuty wywołania. + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + Właściwość statyczna. + + + + Ustawia właściwość statyczną + + Nazwa właściwości + Dodatkowe atrybuty wywołania. + Wartość do ustawienia dla pola lub właściwości + Opcjonalne wartości indeksu dla właściwości indeksowanych. Indeksy właściwości indeksowanych są liczone od zera. W przypadku właściwości nieindeksowanych powinna to być wartość null. + + + + Ustawia właściwość statyczną + + Nazwa właściwości + Dodatkowe atrybuty wywołania. + Wartość do ustawienia dla pola lub właściwości + Tablica obiektów reprezentujących liczbę, kolejność i typ parametrów właściwości indeksowanej. + Argumenty do przekazania do elementu członkowskiego na potrzeby wywołania. + + + + Wywołuje metodę statyczną + + Nazwa elementu członkowskiego + Dodatkowe atrybuty wywołania + Argumenty wywołania + Kultura + Wynik wywołania + + + + Udostępnia odnajdywanie podpisu metody dla metod ogólnych. + + + + + Porównuje sygnatury tych dwóch metod. + + Method1 + Method2 + Ma wartość true, jeśli są one podobne. + + + + Pobiera głębokość hierarchii z typu podstawowego podanego typu. + + Typ. + Głębokość. + + + + Znajduje najbardziej pochodny typ z podanymi informacjami. + + Dopasowania kandydatów. + Liczba dopasowań. + Najbardziej pochodna metoda. + + + + Za pomocą podanego zbioru metod pasujących do podstawowych kryteriów wybierz metodę + opartą na tablicy typów. Ta metoda powinna zwracać wartość null, jeśli żadna metoda + nie pasuje do kryteriów. + + Specyfikacja powiązania. + Dopasowania kandydatów + Typy + Modyfikatory parametrów. + Zgodna metoda. Null, jeśli brak zgodności. + + + + Znajduje najbardziej specyficzną metodę spośród dwóch podanych metod. + + Metoda 1 + Kolejność parametrów dla metody 1 + Typ tablicy parametrów. + Metoda 2 + Kolejność parametrów dla metody 2 + >Typ tablicy parametrów. + Typy do przeszukania. + Argumenty. + Wartość int reprezentująca dopasowanie. + + + + Znajduje najbardziej specyficzną metodę spośród dwóch podanych metod. + + Metoda 1 + Kolejność parametrów dla metody 1 + Typ tablicy parametrów. + Metoda 2 + Kolejność parametrów dla metody 2 + >Typ tablicy parametrów. + Typy do przeszukania. + Argumenty. + Wartość int reprezentująca dopasowanie. + + + + Znajduje najbardziej specyficzny typ spośród dwóch podanych. + + Typ 1 + Typ 2 + Typ definiujący + Wartość int reprezentująca dopasowanie. + + + + Używane do przechowywania informacji udostępnianych testom jednostkowym. + + + + + Pobiera właściwości testu. + + + + + Pobiera bieżący wiersz danych, gdy test służy do testowania opartego na danych. + + + + + Pobiera bieżący wiersz połączenia danych, gdy test służy do testowania opartego na danych. + + + + + Pobiera katalog podstawowy dla uruchomienia testu, w którym są przechowywane wdrożone pliki i pliki wyników. + + + + + Pobiera katalog dla plików wdrożonych na potrzeby uruchomienia testu. Zazwyczaj jest to podkatalog . + + + + + Pobiera katalog podstawowy dla wyników uruchomienia testu. Zazwyczaj jest to podkatalog . + + + + + Pobiera katalog dla plików wyników uruchomienia testu. Zazwyczaj jest to podkatalog . + + + + + Pobiera katalog dla plików wyników testu. + + + + + Pobiera katalog podstawowy dla uruchomienia testu, w którym są przechowywane wdrożone pliki i pliki wyników. + Taki sam jak . Zamiast tego użyj tej właściwości. + + + + + Pobiera katalog dla plików wdrożonych na potrzeby uruchomienia testu. Zazwyczaj jest to podkatalog . + Taki sam jak . Zamiast tego użyj tej właściwości. + + + + + Pobiera katalog dla plików wyników uruchomienia testu. Zazwyczaj jest to podkatalog . + Taki sam jak . Użyj tej właściwości dla plików wyników uruchomienia testu lub zamiast tego użyj katalogu + dla plików wyników specyficznych dla testu. + + + + + Pobiera w pełni kwalifikowaną nazwę klasy zawierającej metodę testowania, która jest obecnie wykonywana + + + + + Pobiera nazwę aktualnie wykonywanej metody testowej + + + + + Pobiera wynik bieżącego testu. + + + + + Używane do zapisywania komunikatów śledzenia podczas działania testu + + ciąg sformatowanego komunikatu + + + + Używane do zapisywania komunikatów śledzenia podczas działania testu + + ciąg formatu + argumenty + + + + Dodaje nazwę pliku do listy w elemencie TestResult.ResultFileNames + + + Nazwa pliku. + + + + + Uruchamia czasomierz o określonej nazwie + + Nazwa czasomierza. + + + + Zatrzymuje czasomierz o określonej nazwie + + Nazwa czasomierza. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..559338436 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metoda TestMethod do wykonania. + + + + + Pobiera nazwę metody testowej. + + + + + Pobiera nazwę klasy testowej. + + + + + Pobiera zwracany typ metody testowej. + + + + + Pobiera parametry metody testowej. + + + + + Pobiera element methodInfo dla metody testowej. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Wywołuje metodę testową. + + + Argumenty przekazywane do metody testowej (np. w przypadku opartej na danych) + + + Wynik wywołania metody testowej. + + + This call handles asynchronous test methods as well. + + + + + Pobierz wszystkie atrybuty metody testowej. + + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Wszystkie atrybuty. + + + + + Pobierz atrybut określonego typu. + + System.Attribute type. + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Atrybuty określonego typu. + + + + + Element pomocniczy. + + + + + Sprawdzany parametr nie ma wartości null. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws argument null exception when parameter is null. + + + + Sprawdzany parametr nie ma wartości null i nie jest pusty. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws ArgumentException when parameter is null. + + + + Wyliczenie dotyczące sposobu dostępu do wierszy danych w teście opartym na danych. + + + + + Wiersze są zwracane po kolei. + + + + + Wiersze są zwracane w kolejności losowej. + + + + + Atrybut do definiowania danych wbudowanych dla metody testowej. + + + + + Inicjuje nowe wystąpienie klasy . + + Obiekt danych. + + + + Inicjuje nowe wystąpienie klasy , które pobiera tablicę argumentów. + + Obiekt danych. + Więcej danych. + + + + Pobiera dane do wywoływania metody testowej. + + + + + Pobiera lub ustawia nazwę wyświetlaną w wynikach testu do dostosowania. + + + + + Wyjątek niejednoznacznej asercji. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Klasa InternalTestFailureException. Używana do określenia wewnętrznego błędu przypadku testowego + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Atrybut określający, że jest oczekiwany wyjątek określonego typu + + + + + Inicjuje nowe wystąpienie klasy z oczekiwanym typem + + Typ oczekiwanego wyjątku + + + + Inicjuje nowe wystąpienie klasy z + oczekiwanym typem i komunikatem do uwzględnienia, gdy test nie zgłasza żadnego wyjątku. + + Typ oczekiwanego wyjątku + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ nie zostanie zgłoszony wyjątek + + + + + Pobiera wartość wskazującą typ oczekiwanego wyjątku + + + + + Pobiera lub ustawia wartość wskazującą, czy typy pochodne typu oczekiwanego wyjątku + są traktowane jako oczekiwane + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Weryfikuje, czy typ wyjątku zgłoszonego przez test jednostkowy jest oczekiwany + + Wyjątek zgłoszony przez test jednostkowy + + + + Klasa podstawowa dla atrybutów, które określają, że jest oczekiwany wyjątek z testu jednostkowego + + + + + Inicjuje nowe wystąpienie klasy z domyślnym komunikatem o braku wyjątku + + + + + Inicjuje nowe wystąpienie klasy z komunikatem o braku wyjątku + + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ + nie zostanie zgłoszony wyjątek + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera domyślny komunikat bez wyjątku + + Nazwa typu atrybutu ExpectedException + Domyślny komunikat bez wyjątku + + + + Określa, czy wyjątek jest oczekiwany. Jeśli wykonanie metody zakończy się normalnie, oznacza to, + że wyjątek był oczekiwany. Jeśli metoda zgłosi wyjątek, oznacza to, + że wyjątek nie był oczekiwany, a komunikat zgłoszonego wyjątku + jest dołączony do wyniku testu. Klasy można użyć dla + wygody. Jeśli zostanie użyta klasa i asercja nie powiedzie się, + wynik testu zostanie ustawiony jako Niejednoznaczny. + + Wyjątek zgłoszony przez test jednostkowy + + + + Zgłoś ponownie wyjątek, jeśli jest to wyjątek AssertFailedException lub AssertInconclusiveException + + Wyjątek do ponownego zgłoszenia, jeśli jest to wyjątek asercji + + + + Ta klasa jest zaprojektowana w taki sposób, aby pomóc użytkownikowi wykonującemu testy jednostkowe dla typów używających typów ogólnych. + Element GenericParameterHelper zachowuje niektóre typowe ograniczenia typów ogólnych, + takie jak: + 1. publiczny konstruktor domyślny + 2. implementuje wspólny interfejs: IComparable, IEnumerable + + + + + Inicjuje nowe wystąpienie klasy , które + spełnia ograniczenie „newable” w typach ogólnych języka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicjuje nowe wystąpienie klasy , które + inicjuje właściwość Data wartością dostarczoną przez użytkownika. + + Dowolna liczba całkowita + + + + Pobiera lub ustawia element Data + + + + + Wykonuje porównanie wartości dwóch obiektów GenericParameterHelper + + obiekt, z którym ma zostać wykonane porównanie + Wartość true, jeśli obiekt ma tę samą wartość co obiekt „this” typu GenericParameterHelper. + W przeciwnym razie wartość false. + + + + Zwraca wartość skrótu tego obiektu. + + Kod skrótu. + + + + Porównuje dane dwóch obiektów . + + Obiekt do porównania. + + Liczba ze znakiem, która wskazuje wartości względne tego wystąpienia i wartości. + + + Thrown when the object passed in is not an instance of . + + + + + Zwraca obiekt IEnumerator, którego długość jest określona na podstawie + właściwości Data. + + Obiekt IEnumerator + + + + Zwraca obiekt GenericParameterHelper równy + bieżącemu obiektowi. + + Sklonowany obiekt. + + + + Umożliwia użytkownikom rejestrowanie/zapisywanie śladów z testów jednostek w celach diagnostycznych. + + + + + Procedura obsługi elementu LogMessage. + + Komunikat do zarejestrowania. + + + + Zdarzenie, które ma być nasłuchiwane. Zgłaszane, gdy składnik zapisywania testu jednostkowego zapisze jakiś komunikat. + Zwykle zużywane przez adapter. + + + + + Interfejs API składnika zapisywania testu do wywołania na potrzeby rejestrowania komunikatów. + + Format ciągu z symbolami zastępczymi. + Parametry dla symboli zastępczych. + + + + Atrybut TestCategory używany do określenia kategorii testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy i stosuje kategorię do testu. + + + Kategoria testu. + + + + + Pobiera kategorie testu, które zostały zastosowane do testu. + + + + + Klasa podstawowa atrybutu „Category” + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicjuje nowe wystąpienie klasy . + Stosuje kategorię do testu. Ciągi zwrócone przez element TestCategories + są używane w poleceniu /category do filtrowania testów + + + + + Pobiera kategorię testu, która została zastosowana do testu. + + + + + Klasa AssertFailedException. Używana do wskazania niepowodzenia przypadku testowego + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków w ramach + testów jednostkowych. Jeśli testowany warunek nie zostanie spełniony, zostanie zgłoszony + wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is true. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null. + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Zgłasza wyjątek AssertFailedException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Statyczne przeciążenia metody equals są używane do porównywania wystąpień dwóch typów pod kątem + równości odwołań. Ta metoda nie powinna być używana do porównywania dwóch wystąpień pod kątem + równości. Ten obiekt zawsze będzie zgłaszał wyjątek za pomocą metody Assert.Fail. Użyj metody + Assert.AreEqual i skojarzonych przeciążeń w testach jednostkowych. + + Obiekt A + Obiekt B + Zawsze wartość false. + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Zastępuje znaki null („\0”) ciągiem „\\0”. + + + Ciąg do wyszukania. + + + Przekonwertowany ciąg ze znakami null zastąpionymi ciągiem „\\0”. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funkcja pomocnicza, która tworzy i zgłasza wyjątek AssertionFailedException + + + nazwa asercji zgłaszającej wyjątek + + + komunikat opisujący warunki dla błędu asercji + + + Parametry. + + + + + Sprawdza parametry pod kątem prawidłowych warunków + + + Parametr. + + + Nazwa asercji. + + + nazwa parametru + + + komunikat dla wyjątku nieprawidłowego parametru + + + Parametry. + + + + + Bezpiecznie konwertuje obiekt na ciąg, obsługując wartości null i znaki null. + Wartości null są konwertowane na ciąg „(null)”. Znaki null są konwertowane na ciąg „\\0”. + + + Obiekt do przekonwertowania na ciąg. + + + Przekonwertowany ciąg. + + + + + Asercja ciągu. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if matches . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków skojarzonych + z kolekcjami w ramach testów jednostkowych. Jeśli testowany warunek + nie jest spełniony, zostanie zgłoszony wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is not found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if every element in is also found in + . + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Określa, czy pierwsza kolekcja jest podzbiorem drugiej kolekcji. + Jeśli któryś zbiór zawiera zduplikowane elementy, liczba wystąpień + elementu w podzbiorze musi być mniejsza lub równa liczbie + wystąpień w nadzbiorze. + + + Kolekcja, co do której test oczekuje, że powinna być zawarta w . + + + Kolekcja, co do której test oczekuje, że powinna zawierać . + + + Wartość true, jeśli jest podzbiorem kolekcji + , w przeciwnym razie wartość false. + + + + + Tworzy słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + Kolekcja do przetworzenia. + + + Liczba elementów o wartości null w kolekcji. + + + Słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + + + Znajduje niezgodny element w dwóch kolekcjach. Niezgodny + element to ten, którego liczba wystąpień w oczekiwanej kolekcji + jest inna niż w rzeczywistej kolekcji. Kolekcje + są uznawane za różne odwołania o wartości innej niż null z tą samą + liczbą elementów. Obiekt wywołujący jest odpowiedzialny za ten poziom weryfikacji. + Jeśli nie ma żadnego niezgodnego elementu, funkcja zwraca wynik + false i parametry wyjściowe nie powinny być używane. + + + Pierwsza kolekcja do porównania. + + + Druga kolekcja do porównania. + + + Oczekiwana liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Rzeczywista liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Niezgodny element (może mieć wartość null) lub wartość null, jeśli + nie ma żadnego niezgodnego elementu. + + + wartość true, jeśli znaleziono niezgodny element; w przeciwnym razie wartość false. + + + + + porównuje obiekty przy użyciu funkcji object.Equals + + + + + Klasa podstawowa dla wyjątków struktury. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itp. + + + + + Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę. + + + + + Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich + przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg dostępu ma nieprawidłową składnię. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana kolekcja zawiera następującą liczbę wystąpień elementu <{2}>: {1}. Rzeczywista kolekcja zawiera następującą liczbę wystąpień: {3}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Znaleziono zduplikowany element: <{1}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano: <{1}>. Przypadek jest inny w wartości rzeczywistej: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy nie większej niż <{3}> między oczekiwaną wartością <{1}> i wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1} ({2})>. Rzeczywista wartość: <{3} ({4})>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1}>. Rzeczywista wartość: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy większej niż <{3}> między oczekiwaną wartością <{1}> a wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano dowolnej wartości z wyjątkiem: <{1}>. Wartość rzeczywista: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie przekazuj typów wartości do metody AreSame(). Wartości przekonwertowane na typ Object nigdy nie będą takie same. Rozważ użycie metody AreEqual(). {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} — niepowodzenie. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do asynchronicznej metody TestMethod z elementem UITestMethodAttribute, które nie są obsługiwane. Usuń element asynchroniczny lub użyj elementu TestMethodAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje są puste. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Odwołania do obu kolekcji wskazują ten sam obiekt kolekcji. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0}({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (null). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (object). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie zawiera ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} ({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można użyć metody Assert.Equals dla asercji. Zamiast tego użyj metody Assert.AreEqual i przeciążeń. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Liczba elementów w kolekcjach nie jest zgodna. Oczekiwana wartość: <{1}>. Wartość rzeczywista: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {0} nie jest zgodny. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} nie ma oczekiwanego typu. Oczekiwany typ: <{2}>. Rzeczywisty typ: <{3}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} ma wartość (null). Oczekiwany typ: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie kończy się ciągiem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nieprawidłowy argument. Element EqualsTester nie może używać wartości null. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można przekonwertować obiektu typu {0} na typ {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Przywoływany obiekt wewnętrzny nie jest już prawidłowy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Właściwość {0} ma typ {1}. Oczekiwano typu {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} Oczekiwany typ: <{1}>. Rzeczywisty typ: <{2}>. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Niepoprawny typ: <{1}>. Rzeczywisty typ: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie określono atrybutu DataRowAttribute. Atrybut DataTestMethodAttribute wymaga co najmniej jednego atrybutu DataRowAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie zgłoszono wyjątku. Oczekiwany wyjątek: {1}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. Wartość nie może być równa null. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Inna liczba elementów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć konstruktora z określoną sygnaturą. Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć określonego elementu członkowskiego ({0}). Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie rozpoczyna się od ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwanym typem wyjątku musi być typ System.Exception lub typ pochodzący od typu System.Exception. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (Nie można pobrać komunikatu dotyczącego wyjątku typu {0} z powodu wyjątku). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła oczekiwanego wyjątku {0}. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła wyjątku. Wyjątek był oczekiwany przez atrybut {0} zdefiniowany w metodzie testowej. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1}. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1} lub typu, który od niego pochodzi. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Zgłoszono wyjątek {2}, ale oczekiwano wyjątku {1}. {0} + Komunikat o wyjątku: {3} + Ślad stosu: {4}. + + + + + wyniki testu jednostkowego + + + + + Test został wykonany, ale wystąpiły problemy. + Problemy mogą obejmować wyjątki lub asercje zakończone niepowodzeniem. + + + + + Test został ukończony, ale nie można stwierdzić, czy zakończył się powodzeniem, czy niepowodzeniem. + Może być używany dla przerwanych testów. + + + + + Test został wykonany bez żadnych problemów. + + + + + Test jest obecnie wykonywany. + + + + + Wystąpił błąd systemu podczas próby wykonania testu. + + + + + Upłynął limit czasu testu. + + + + + Test został przerwany przez użytkownika. + + + + + Stan testu jest nieznany + + + + + Udostępnia funkcjonalność pomocnika dla platformy testów jednostkowych + + + + + Pobiera komunikaty wyjątku, w tym rekursywnie komunikaty wszystkich wewnętrznych + wyjątków + + Wyjątek, dla którego mają zostać pobrane komunikaty + ciąg z informacjami o komunikacie o błędzie + + + + Wyliczenie dla limitów czasu, które może być używane z klasą . + Typ wyliczenia musi być zgodny + + + + + Nieskończone. + + + + + Atrybut klasy testowej. + + + + + Pobiera atrybut metody testowej, który umożliwia uruchomienie tego testu. + + Wystąpienie atrybutu metody testowej zdefiniowane w tej metodzie. + do użycia do uruchamiania tego testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atrybut metody testowej. + + + + + Wykonuje metodę testową. + + Metoda testowa do wykonania. + Tablica obiektów TestResult reprezentujących wyniki testu. + Extensions can override this method to customize running a TestMethod. + + + + Atrybut inicjowania testu. + + + + + Atrybut oczyszczania testu. + + + + + Atrybut ignorowania. + + + + + Atrybut właściwości testu. + + + + + Inicjuje nowe wystąpienie klasy . + + + Nazwa. + + + Wartość. + + + + + Pobiera nazwę. + + + + + Pobiera wartość. + + + + + Atrybut inicjowania klasy. + + + + + Atrybut oczyszczania klasy. + + + + + Atrybut inicjowania zestawu. + + + + + Atrybut oczyszczania zestawu. + + + + + Właściciel testu + + + + + Inicjuje nowe wystąpienie klasy . + + + Właściciel. + + + + + Pobiera właściciela. + + + + + Atrybut priorytetu służący do określania priorytetu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Priorytet. + + + + + Pobiera priorytet. + + + + + Opis testu + + + + + Inicjuje nowe wystąpienie klasy do opisu testu. + + Opis. + + + + Pobiera opis testu. + + + + + Identyfikator URI struktury projektu CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI struktury projektu CSS. + + Identyfikator URI struktury projektu CSS. + + + + Pobiera identyfikator URI struktury projektu CSS. + + + + + Identyfikator URI iteracji CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI iteracji CSS. + + Identyfikator URI iteracji CSS. + + + + Pobiera identyfikator URI iteracji CSS. + + + + + Atrybut elementu roboczego służący do określania elementu roboczego skojarzonego z tym testem. + + + + + Inicjuje nowe wystąpienie klasy dla atrybutu WorkItem. + + Identyfikator dla elementu roboczego. + + + + Pobiera identyfikator dla skojarzonego elementu roboczego. + + + + + Atrybut limitu czasu służący do określania limitu czasu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Limit czasu. + + + + + Inicjuje nowe wystąpienie klasy ze wstępnie ustawionym limitem czasu + + + Limit czasu + + + + + Pobiera limit czasu. + + + + + Obiekt TestResult zwracany do adaptera. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Pobiera lub ustawia nazwę wyświetlaną wyniku. Przydatny w przypadku zwracania wielu wyników. + Jeśli ma wartość null, nazwa metody jest używana jako nazwa wyświetlana. + + + + + Pobiera lub ustawia wynik wykonania testu. + + + + + Pobiera lub ustawia wyjątek zgłoszony, gdy test kończy się niepowodzeniem. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia ślady debugowania przez kod testu. + + + + + Gets or sets the debug traces by test code. + + + + + Pobiera lub ustawia czas trwania wykonania testu. + + + + + Pobiera lub ustawia indeks wiersza danych w źródle danych. Ustawia tylko dla wyników oddzielnych + uruchomień wiersza danych w teście opartym na danych. + + + + + Pobiera lub ustawia wartość zwracaną metody testowej. (Obecnie zawsze wartość null). + + + + + Pobiera lub ustawia pliki wyników dołączone przez test. + + + + + Określa parametry połączenia, nazwę tabeli i metodę dostępu do wiersza w przypadku testowania opartego na danych. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nazwa domyślnego dostawcy dla źródła danych. + + + + + Domyślna metoda uzyskiwania dostępu do danych. + + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych, parametrami połączenia, tabelą danych i metodą dostępu do danych w celu uzyskania dostępu do źródła danych. + + Niezmienna nazwa dostawcy danych, taka jak System.Data.SqlClient + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + Określa kolejność dostępu do danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z parametrami połączenia i nazwą tabeli. + Określ parametry połączenia i tabelę danych w celu uzyskania dostępu do źródła danych OLEDB. + + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych i parametrami połączenia skojarzonymi z nazwą ustawienia. + + Nazwa źródła danych znaleziona w sekcji <microsoft.visualstudio.qualitytools> pliku app.config. + + + + Pobiera wartość reprezentującą dostawcę danych źródła danych. + + + Nazwa dostawcy danych. Jeśli dostawca danych nie został wyznaczony w czasie inicjowania obiektu, zostanie zwrócony domyślny dostawca obiektu System.Data.OleDb. + + + + + Pobiera wartość reprezentującą parametry połączenia dla źródła danych. + + + + + Pobiera wartość wskazującą nazwę tabeli udostępniającej dane. + + + + + Pobiera metodę używaną do uzyskiwania dostępu do źródła danych. + + + + Jedna z . Jeśli nie zainicjowano , zwróci wartość domyślną . + + + + + Pobiera nazwę źródła danych znajdującego się w sekcji <microsoft.visualstudio.qualitytools> w pliku app.config. + + + + + Atrybut dla testu opartego na danych, w którym dane można określić bezpośrednio. + + + + + Znajdź wszystkie wiersze danych i wykonaj. + + + Metoda testowa. + + + Tablica elementów . + + + + + Uruchamianie metody testowej dla testu opartego na danych. + + Metoda testowa do wykonania. + Wiersz danych. + Wyniki wykonania. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..e39df20bc --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usado para especificar o item de implantação (arquivo ou diretório) para implantação por teste. + Pode ser especificado em classe de teste ou em método de teste. + Pode ter várias instâncias do atributo para especificar mais de um item. + O caminho do item pode ser absoluto ou relativo. Se relativo, é relativo a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Inicializa uma nova instância da classe . + + O arquivo ou o diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + + + + Inicializa uma nova instância da classe + + O caminho relativo ou absoluto ao arquivo ou ao diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + O caminho do diretório para o qual os itens deverão ser copiados. Ele pode ser absoluto ou relativo ao diretório de implantação. Todos os arquivos e diretórios identificados por serão copiados para esse diretório. + + + + Obtém o caminho da pasta ou do arquivo de origem a ser copiado. + + + + + Obtém o caminho do diretório para o qual o item é copiado. + + + + + Contém literais dos nomes das seções, das propriedades e dos atributos. + + + + + O nome da seção de configuração. + + + + + O nome da seção de configuração para Beta2. Mantida para compatibilidade. + + + + + Nome da Seção para a Fonte de dados. + + + + + Nome do Atributo para 'Name' + + + + + Nome do Atributo para 'ConnectionString' + + + + + Nome do Atributo para 'DataAccessMethod' + + + + + Nome do Atributo para 'DataTable' + + + + + O elemento da Fonte de Dados. + + + + + Obtém ou define o nome para essa configuração. + + + + + Obtém ou define o elemento ConnectionStringSettings na seção <connectionStrings> no arquivo .config. + + + + + Obtém ou define o nome da tabela de dados. + + + + + Obtém ou define o tipo de acesso a dados. + + + + + Obtém o nome da chave. + + + + + Obtém as propriedades de configuração. + + + + + A coleção de elementos da Fonte de dados. + + + + + Inicializa uma nova instância da classe . + + + + + Retorna o elemento de configuração com a chave especificada. + + A chave do elemento a ser retornada. + O System.Configuration.ConfigurationElement com a chave especificada; caso contrário, nulo. + + + + Obtém o elemento de configuração no local do índice especificado. + + O local do índice do System.Configuration.ConfigurationElement a ser retornado. + + + + Adiciona um elemento de configuração à coleção de elementos de configuração. + + O System.Configuration.ConfigurationElement para adicionar. + + + + Remove um System.Configuration.ConfigurationElement da coleção. + + O . + + + + Remove um System.Configuration.ConfigurationElement da coleção. + + A chave do System.Configuration.ConfigurationElement a ser removida. + + + + Remove todos os objetos de elementos de configuração da coleção. + + + + + Cria o novo . + + Um novo . + + + + Obtém a chave do elemento para um elemento de configuração especificado. + + O System.Configuration.ConfigurationElement para o qual retornar a chave. + Um System.Object que age como a chave para o System.Configuration.ConfigurationElement especificado. + + + + Adiciona um elemento de configuração à coleção de elementos de configuração. + + O System.Configuration.ConfigurationElement para adicionar. + + + + Adiciona um elemento de configuração à coleção de elementos de configuração. + + O local do índice no qual adicionar o System.Configuration.ConfigurationElement especificado. + O System.Configuration.ConfigurationElement para adicionar. + + + + Suporte para as definições de configuração dos Testes. + + + + + Obtém a seção de configuração para testes. + + + + + A seção de configuração para testes. + + + + + Obtém as fontes de dados para essa seção da configuração. + + + + + Obtém a coleção de propriedades. + + + O de propriedades para o elemento. + + + + + Essa classe representa o objeto dinâmico INTERNO NÃO público no sistema + + + + + Inicializa a nova instância da classe que contém + o objeto já existente da classe particular + + objeto que serve como ponto inicial para alcançar os membros particulares + a cadeia de caracteres de desreferência usando . que aponta para o objeto a ser recuperado como em m_X.m_Y.m_Z + + + + Inicializa uma nova instância da classe que encapsula o + objeto especificado. + + Nome do assembly + nome totalmente qualificado + Argumentos a serem passados ao construtor + + + + Inicializa uma nova instância da classe que encapsula o + objeto especificado. + + Nome do assembly + nome totalmente qualificado + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo construtor + Argumentos a serem passados ao construtor + + + + Inicializa uma nova instância da classe que encapsula o + objeto especificado. + + o tipo do objeto a ser criado + Argumentos a serem passados ao construtor + + + + Inicializa uma nova instância da classe que encapsula o + objeto especificado. + + o tipo do objeto a ser criado + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo construtor + Argumentos a serem passados ao construtor + + + + Inicializa uma nova instância da classe que encapsula + o objeto fornecido. + + objeto a ser encapsulado + + + + Inicializa uma nova instância da classe que encapsula + o objeto fornecido. + + objeto a ser encapsulado + Objeto PrivateType + + + + Obtém ou define o destino + + + + + Obtém o tipo de objeto subjacente + + + + + retorna o código hash do objeto de destino + + int que representa o código hash do objeto de destino + + + + Igual a + + Objeto com o qual comparar + retorna verdadeiro se os objetos forem iguais. + + + + Invoca o método especificado + + Nome do método + Argumentos a serem passados para o membro a ser invocado. + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo método. + Argumentos a serem passados para o membro a ser invocado. + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo método. + Argumentos a serem passados para o membro a ser invocado. + Uma matriz de tipos que correspondem aos tipos dos argumentos genéricos. + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Argumentos a serem passados para o membro a ser invocado. + Informações de cultura + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo método. + Argumentos a serem passados para o membro a ser invocado. + Informações de cultura + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Argumentos a serem passados para o membro a ser invocado. + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo método. + Argumentos a serem passados para o membro a ser invocado. + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Argumentos a serem passados para o membro a ser invocado. + Informações de cultura + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo método. + Argumentos a serem passados para o membro a ser invocado. + Informações de cultura + Resultado da chamada de método + + + + Invoca o método especificado + + Nome do método + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem obtidos pelo método. + Argumentos a serem passados para o membro a ser invocado. + Informações de cultura + Uma matriz de tipos que correspondem aos tipos dos argumentos genéricos. + Resultado da chamada de método + + + + Obtém o elemento da matriz que usa a matriz de subscritos para cada dimensão + + Nome do membro + os índices da matriz + Uma matriz de elementos. + + + + Define o elemento da matriz que usa a matriz de subscritos para cada dimensão + + Nome do membro + Valor a ser definido + os índices da matriz + + + + Obtém o elemento da matriz que usa a matriz de subscritos para cada dimensão + + Nome do membro + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + os índices da matriz + Uma matriz de elementos. + + + + Define o elemento da matriz que usa a matriz de subscritos para cada dimensão + + Nome do membro + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Valor a ser definido + os índices da matriz + + + + Obter o campo + + Nome do campo + O campo. + + + + Define o campo + + Nome do campo + valor a ser definido + + + + Obtém o campo + + Nome do campo + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + O campo. + + + + Define o campo + + Nome do campo + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + valor a ser definido + + + + Obter o campo ou a propriedade + + Nome do campo ou da propriedade + O campo ou a propriedade. + + + + Define o campo ou a propriedade + + Nome do campo ou da propriedade + valor a ser definido + + + + Obtém o campo ou a propriedade + + Nome do campo ou da propriedade + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + O campo ou a propriedade. + + + + Define o campo ou a propriedade + + Nome do campo ou da propriedade + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + valor a ser definido + + + + Obtém a propriedade + + Nome da propriedade + Argumentos a serem passados para o membro a ser invocado. + A propriedade. + + + + Obtém a propriedade + + Nome da propriedade + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + Argumentos a serem passados para o membro a ser invocado. + A propriedade. + + + + Definir a propriedade + + Nome da propriedade + valor a ser definido + Argumentos a serem passados para o membro a ser invocado. + + + + Definir a propriedade + + Nome da propriedade + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + valor a ser definido + Argumentos a serem passados para o membro a ser invocado. + + + + Obtém a propriedade + + Nome da propriedade + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Argumentos a serem passados para o membro a ser invocado. + A propriedade. + + + + Obtém a propriedade + + Nome da propriedade + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + Argumentos a serem passados para o membro a ser invocado. + A propriedade. + + + + Define a propriedade + + Nome da propriedade + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + valor a ser definido + Argumentos a serem passados para o membro a ser invocado. + + + + Define a propriedade + + Nome da propriedade + Um bitmask composto de um ou mais que especificam como a pesquisa é conduzida. + valor a ser definido + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + Argumentos a serem passados para o membro a ser invocado. + + + + Validar cadeia de caracteres de acesso + + cadeia de caracteres de acesso + + + + Invoca o membro + + Nome do membro + Atributos adicionais + Argumentos para a invocação + Cultura + Resultado da invocação + + + + Extrai a assinatura mais apropriada do método genérico do tipo particular atual. + + O nome do método no qual pesquisar o cache de assinatura. + Uma matriz de tipos que correspondem aos tipos dos parâmetros nos quais pesquisar. + Uma matriz de tipos que correspondem aos tipos dos argumentos genéricos. + para filtrar ainda mais as assinaturas de método. + Modificadores para parâmetros. + Uma instância methodinfo. + + + + Essa classe representa uma classe particular para a funcionalidade de Acessador Particular. + + + + + Associa-se a tudo + + + + + O tipo encapsulado. + + + + + Inicializa uma nova instância da classe que contém o tipo particular. + + Nome do assembly + nome totalmente qualificado da + + + + Inicializa a nova instância da classe que contém + o tipo particular do objeto de tipo + + O Tipo encapsulado a ser criado. + + + + Obtém o tipo referenciado + + + + + Invoca o membro estático + + Nome do membro para o InvokeHelper + Argumentos para a invocação + Resultado da invocação + + + + Invoca o membro estático + + Nome do membro para o InvokeHelper + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem invocados pelo método + Argumentos para a invocação + Resultado da invocação + + + + Invoca o membro estático + + Nome do membro para o InvokeHelper + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem invocados pelo método + Argumentos para a invocação + Uma matriz de tipos que correspondem aos tipos dos argumentos genéricos. + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Argumentos para a invocação + Cultura + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem invocados pelo método + Argumentos para a invocação + Informações de cultura + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Atributos adicionais de invocação + Argumentos para a invocação + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Atributos adicionais de invocação + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem invocados pelo método + Argumentos para a invocação + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Atributos adicionais de invocação + Argumentos para a invocação + Cultura + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Atributos adicionais de invocação + /// Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem invocados pelo método + Argumentos para a invocação + Cultura + Resultado da invocação + + + + Invoca o método estático + + Nome do membro + Atributos adicionais de invocação + /// Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros a serem invocados pelo método + Argumentos para a invocação + Cultura + Uma matriz de tipos que correspondem aos tipos dos argumentos genéricos. + Resultado da invocação + + + + Obtém o elemento na matriz estática + + Nome da matriz + + Uma matriz unidimensional com inteiros de 32 bits que representam os índices que especificam + a posição do elemento a ser obtido. Por exemplo, para acessar um [10][11], os índices seriam {10,11} + + elemento na localização especificada + + + + Define o membro da matriz estática + + Nome da matriz + valor a ser definido + + Uma matriz unidimensional com inteiros de 32 bits que representam os índices que especificam + a posição do elemento a ser configurado. Por exemplo, para acessar um [10][11], a matriz seria {10,11} + + + + + Obtém o elemento na matriz estática + + Nome da matriz + Atributos adicionais de InvokeHelper + + Uma matriz unidirecional com íntegros de 32 bits que representam os índices que especificam + a posição do elemento a ser obtido. Por exemplo, para acessar um [10][11], a matriz seria {10,11} + + elemento na localização especificada + + + + Define o membro da matriz estática + + Nome da matriz + Atributos adicionais de InvokeHelper + valor a ser definido + + Uma matriz unidimensional com inteiros de 32 bits que representam os índices que especificam + a posição do elemento a ser configurado. Por exemplo, para acessar um [10][11], a matriz seria {10,11} + + + + + Obtém o campo estático + + Nome do campo + O campo estático. + + + + Define o campo estático + + Nome do campo + Argumento para a invocação + + + + Obtém o campo estático usando os atributos especificados de InvokeHelper + + Nome do campo + Atributos adicionais de invocação + O campo estático. + + + + Define o campo estático usando atributos de associação + + Nome do campo + Atributos adicionais de InvokeHelper + Argumento para a invocação + + + + Obtém a propriedade ou o campo estático + + Nome do campo ou da propriedade + A propriedade ou o campo estático. + + + + Define a propriedade ou o campo estático + + Nome do campo ou da propriedade + Valor a ser definido para o campo ou para a propriedade + + + + Obtém a propriedade ou o campo estático usando os atributos especificados de InvokeHelper + + Nome do campo ou da propriedade + Atributos adicionais de invocação + A propriedade ou o campo estático. + + + + Define a propriedade ou o campo estático usando atributos de associação + + Nome do campo ou da propriedade + Atributos adicionais de invocação + Valor a ser definido para o campo ou para a propriedade + + + + Obtém a propriedade estática + + Nome do campo ou da propriedade + Argumentos para a invocação + A propriedade estática. + + + + Define a propriedade estática + + Nome da propriedade + Valor a ser definido para o campo ou para a propriedade + Argumentos a serem passados para o membro a ser invocado. + + + + Define a propriedade estática + + Nome da propriedade + Valor a ser definido para o campo ou para a propriedade + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + Argumentos a serem passados para o membro a ser invocado. + + + + Obtém a propriedade estática + + Nome da propriedade + Atributos adicionais de invocação. + Argumentos a serem passados para o membro a ser invocado. + A propriedade estática. + + + + Obtém a propriedade estática + + Nome da propriedade + Atributos adicionais de invocação. + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + Argumentos a serem passados para o membro a ser invocado. + A propriedade estática. + + + + Define a propriedade estática + + Nome da propriedade + Atributos adicionais de invocação. + Valor a ser definido para o campo ou para a propriedade + Valores opcionais de índice para as propriedades indexadas. Os índices das propriedades indexadas são baseados em zero. Esse valor deve ser nulo para as propriedades não indexadas. + + + + Define a propriedade estática + + Nome da propriedade + Atributos adicionais de invocação. + Valor a ser definido para o campo ou para a propriedade + Uma matriz de objetos que representam o número, a ordem e o tipo dos parâmetros da propriedade indexada. + Argumentos a serem passados para o membro a ser invocado. + + + + Invoca o método estático + + Nome do membro + Atributos adicionais de invocação + Argumentos para a invocação + Cultura + Resultado da invocação + + + + Fornece a descoberta da assinatura de método para os métodos genéricos. + + + + + Compara as assinaturas de método desses dois métodos. + + Method1 + Method2 + Verdadeiro se forem similares. + + + + Obtém a profundidade da hierarquia do tipo base do tipo fornecido. + + O tipo. + A profundidade. + + + + Localiza o tipo mais derivado com as informações fornecidas. + + Correspondências candidatas. + Número de correspondências. + O método mais derivado. + + + + Dado um conjunto de métodos que correspondem aos critérios base, selecione um método baseado + em uma matriz de tipos. Esse método deverá retornar nulo se nenhum método corresponder + aos critérios. + + Especificação de associação. + Correspondências candidatas + Tipos + Modificadores de parâmetro. + Método correspondente. Nulo se nenhum corresponder. + + + + Localiza o método mais específico nos dois métodos fornecidos. + + Método 1 + Ordem de parâmetro para o Método 1 + Tipo de matriz do parâmetro. + Método 2 + Ordem de parâmetro para o Método 2 + >Tipo de matriz do parâmetro. + Tipos em que pesquisar. + Args. + Um int representando a correspondência. + + + + Localiza o método mais específico nos dois métodos fornecidos. + + Método 1 + Ordem de parâmetro para o Método 1 + Tipo de matriz do parâmetro. + Método 2 + Ordem de parâmetro para o Método 2 + >Tipo de matriz do parâmetro. + Tipos em que pesquisar. + Args. + Um int representando a correspondência. + + + + Localiza o tipo mais específico nos dois fornecidos. + + Tipo 1 + Tipo 2 + A definição de tipo + Um int representando a correspondência. + + + + Usado para armazenar informações fornecidas aos testes de unidade. + + + + + Obtém as propriedades de teste para um teste. + + + + + Obtém a linha de dados atual quando o teste é usado para teste controlado por dados. + + + + + Obtém a linha da conexão de dados atual quando o teste é usado para teste controlado por dados. + + + + + Obtém o diretório base para a execução de teste, no qual os arquivos implantados e de resultado são armazenados. + + + + + Obtém o diretório para arquivos implantados para a execução de teste. Normalmente um subdiretório de . + + + + + Obtém o diretório base para resultados da execução de teste. Normalmente um subdiretório de . + + + + + Obtém o diretório para arquivos implantados para a execução do teste. Normalmente um subdiretório de . + + + + + Obtém o diretório para os arquivos de resultado do teste. + + + + + Obtém o diretório base para a execução de teste, no qual os arquivos implantados e de resultado são armazenados. + Igual a . Use essa propriedade em vez disso. + + + + + Obtém o diretório para arquivos implantados para a execução de teste. Normalmente um subdiretório de . + Igual a . Use essa propriedade em vez disso. + + + + + Obtém o diretório para arquivos implantados para a execução do teste. Normalmente um subdiretório de . + Igual a . Use essa propriedade para os arquivos de resultado da execução de teste ou + para os arquivos de resultados específicos de teste. + + + + + Obtém o nome totalmente qualificado da classe contendo o método de teste executado no momento + + + + + Obtém o nome do método de teste executado no momento + + + + + Obtém o resultado do teste atual. + + + + + Usado para gravar mensagens de rastreamento enquanto o teste está em execução + + cadeia de caracteres da mensagem formatada + + + + Usado para gravar mensagens de rastreamento enquanto o teste está em execução + + cadeia de caracteres de formato + os argumentos + + + + Adiciona um nome de arquivo à lista em TestResult.ResultFileNames + + + O Nome do arquivo. + + + + + Inicia um timer com o nome especificado + + Nome do temporizador. + + + + Encerra um timer com o nome especificado + + Nome do temporizador. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2b63dd5e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + O TestMethod para a execução. + + + + + Obtém o nome do método de teste. + + + + + Obtém o nome da classe de teste. + + + + + Obtém o tipo de retorno do método de teste. + + + + + Obtém os parâmetros do método de teste. + + + + + Obtém o methodInfo para o método de teste. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca o método de teste. + + + Argumentos a serem passados ao método de teste. (Por exemplo, para testes controlados por dados) + + + Resultado da invocação do método de teste. + + + This call handles asynchronous test methods as well. + + + + + Obter todos os atributos do método de teste. + + + Se o atributo definido na classe pai é válido. + + + Todos os atributos. + + + + + Obter atributo de tipo específico. + + System.Attribute type. + + Se o atributo definido na classe pai é válido. + + + Os atributos do tipo especificado. + + + + + O auxiliar. + + + + + O parâmetro de verificação não nulo. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws argument null exception when parameter is null. + + + + O parâmetro de verificação não nulo nem vazio. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws ArgumentException when parameter is null. + + + + Enumeração para como acessamos as linhas de dados no teste controlado por dados. + + + + + As linhas são retornadas em ordem sequencial. + + + + + As linhas são retornadas em ordem aleatória. + + + + + O atributo para definir dados embutidos para um método de teste. + + + + + Inicializa uma nova instância da classe . + + O objeto de dados. + + + + Inicializa a nova instância da classe que ocupa uma matriz de argumentos. + + Um objeto de dados. + Mais dados. + + + + Obtém Dados para chamar o método de teste. + + + + + Obtém ou define o nome de exibição nos resultados de teste para personalização. + + + + + A exceção inconclusiva da asserção. + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Classe InternalTestFailureException. Usada para indicar falha interna de um caso de teste + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + + + + Inicializa uma nova instância da classe . + + + + + Atributo que especifica que uma exceção do tipo especificado é esperada + + + + + Inicializa uma nova instância da classe com o tipo especificado + + Tipo da exceção esperada + + + + Inicializa uma nova instância da classe com + o tipo esperado e a mensagem a ser incluída quando nenhuma exceção é gerada pelo teste. + + Tipo da exceção esperada + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma exceção + + + + + Obtém um valor que indica o Tipo da exceção esperada + + + + + Obtém ou define um valor que indica se é para permitir tipos derivados do tipo da exceção esperada para + qualificá-la como esperada + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Verifica se o tipo da exceção gerada pelo teste de unidade é esperado + + A exceção gerada pelo teste de unidade + + + + Classe base para atributos que especificam que uma exceção de um teste de unidade é esperada + + + + + Inicializa uma nova instância da classe com uma mensagem de não exceção padrão + + + + + Inicializa a nova instância da classe com uma mensagem de não exceção + + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma + exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem de não exceção padrão + + O nome do tipo de atributo ExpectedException + A mensagem de não exceção padrão + + + + Determina se uma exceção é esperada. Se o método é retornado, entende-se + que a exceção era esperada. Se o método gera uma exceção, entende-se + que a exceção não era esperada e a mensagem de exceção gerada + é incluída no resultado do teste. A classe pode ser usada para + conveniência. Se é usada e há falha de asserção, + o resultado do teste é definido como Inconclusivo. + + A exceção gerada pelo teste de unidade + + + + Gerar a exceção novamente se for uma AssertFailedException ou uma AssertInconclusiveException + + A exceção a ser gerada novamente se for uma exceção de asserção + + + + Essa classe é projetada para ajudar o usuário a executar o teste de unidade para os tipos que usam tipos genéricos. + GenericParameterHelper satisfaz algumas restrições comuns de tipos genéricos, + como: + 1. construtor público padrão + 2. implementa interface comum: IComparable, IEnumerable + + + + + Inicializa a nova instância da classe que + satisfaz a restrição 'newable' em genéricos C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa a nova instância da classe que + inicializa a propriedade Data para um valor fornecido pelo usuário. + + Qualquer valor inteiro + + + + Obtém ou define Data + + + + + Executa a comparação de valores de dois objetos GenericParameterHelper + + objeto com o qual comparar + verdadeiro se o objeto tem o mesmo valor que 'esse' objeto GenericParameterHelper. + Caso contrário, falso. + + + + Retorna um código hash para esse objeto. + + O código hash. + + + + Compara os dados dos dois objetos . + + O objeto com o qual comparar. + + Um número assinado indicando os valores relativos dessa instância e valor. + + + Thrown when the object passed in is not an instance of . + + + + + Retorna um objeto IEnumerator cujo comprimento é derivado + da propriedade Data. + + O objeto IEnumerator + + + + Retorna um objeto GenericParameterHelper que é igual ao + objeto atual. + + O objeto clonado. + + + + Permite que usuários registrem/gravem rastros de testes de unidade para diagnósticos. + + + + + Manipulador para LogMessage. + + Mensagem a ser registrada. + + + + Evento a ser escutado. Acionado quando o gerador do teste de unidade escreve alguma mensagem. + Principalmente para ser consumido pelo adaptador. + + + + + API para o gravador de teste chamar Registrar mensagens. + + Formato de cadeia de caracteres com espaços reservados. + Parâmetros dos espaços reservados. + + + + Atributo TestCategory. Usado para especificar a categoria de um teste de unidade. + + + + + Inicializa a nova instância da classe e aplica a categoria ao teste. + + + A Categoria de teste. + + + + + Obtém as categorias de teste aplicadas ao teste. + + + + + Classe base para o atributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa a nova instância da classe . + Aplica a categoria ao teste. As cadeias de caracteres retornadas por TestCategories + são usadas com o comando /category para filtrar os testes + + + + + Obtém a categoria de teste aplicada ao teste. + + + + + Classe AssertFailedException. Usada para indicar falha em um caso de teste + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Uma coleção de classes auxiliares para testar várias condições nos + testes de unidade. Se a condição testada não é atendida, uma exceção + é gerada. + + + + + Obtém uma instância singleton da funcionalidade Asserção. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is false. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is true. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null. + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if refers to the same object + as . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is not equal to . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Gera uma AssertFailedException. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Os métodos estático igual a sobrecargas são usados para comparar instâncias de dois tipos em relação à igualdade de + referência. Esse método não deve ser usado para comparar a igualdade de + duas instâncias. Esse objeto sempre gerará Assert.Fail. Use + Assert.AreEqual e sobrecargas associadas nos testes de unidade. + + Objeto A + Objeto B + Sempre falso. + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Substitui os caracteres nulos ('\0') por "\\0". + + + A cadeia de caracteres a ser pesquisada. + + + A cadeia de caracteres convertida com os caracteres nulos substituídos por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Função auxiliar que cria e gera uma AssertionFailedException + + + nome da asserção que gera uma exceção + + + mensagem que descreve as condições da falha de asserção + + + Os parâmetros. + + + + + Verifica o parâmetro das condições válidas + + + O parâmetro. + + + O Nome da asserção. + + + nome do parâmetro + + + mensagem da exceção de parâmetro inválido + + + Os parâmetros. + + + + + Converte com segurança um objeto em uma cadeia de caracteres manipulando valores e caracteres nulos. + Os valores nulos são convertidos em "(null)". Os caracteres nulos são convertidos em "\\0". + + + O objeto a ser convertido em uma cadeia de caracteres. + + + A cadeia de caracteres convertida. + + + + + A asserção da cadeia de caracteres. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if matches . + + + + + Uma coleção de classes auxiliares para testar várias condições associadas + às coleções nos testes de unidade. Se a condição testada não é + atendida, uma exceção é gerada. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is found in + . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if every element in is also found in + . + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Determina se a primeira coleção é um subconjunto da segunda + coleção. Se os conjuntos contiverem elementos duplicados, o número + de ocorrências do elemento no subconjunto deverá ser menor ou igual + ao número de ocorrências no superconjunto. + + + A coleção que o teste espera que esteja contida em . + + + A coleção que o teste espera que contenha . + + + Verdadeiro se é um subconjunto de + , caso contrário, falso. + + + + + Cria um dicionário contendo o número de ocorrências de cada + elemento na coleção especificada. + + + A coleção a ser processada. + + + O número de elementos nulos na coleção. + + + Um dicionário contendo o número de ocorrências de cada elemento + na coleção especificada. + + + + + Encontra um elemento incompatível entre as duas coleções. Um elemento + incompatível é aquele que aparece um número diferente de vezes na + coleção esperada em relação à coleção real. É pressuposto que + as coleções sejam referências não nulas diferentes com o + mesmo número de elementos. O chamador é responsável por esse nível de + verificação. Se não houver nenhum elemento incompatível, a função retornará + falso e os parâmetros de saída não deverão ser usados. + + + A primeira coleção a ser comparada. + + + A segunda coleção a ser comparada. + + + O número esperado de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O número real de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O elemento incompatível (poderá ser nulo) ou nulo se não houver nenhum + elemento incompatível. + + + verdadeiro se um elemento incompatível foi encontrado. Caso contrário, falso. + + + + + compara os objetos usando object.Equals + + + + + Classe base para exceções do Framework. + + + + + Inicializa uma nova instância da classe . + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Uma classe de recurso fortemente tipada para pesquisar cadeias de caracteres localizadas, etc. + + + + + Retorna a instância de ResourceManager armazenada em cache usada por essa classe. + + + + + Substitui a propriedade CurrentUICulture do thread atual em todas + as pesquisas de recursos usando essa classe de recurso fortemente tipada. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres de acesso tem sintaxe inválida. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A coleção esperada contém {1} ocorrência(s) de <{2}>. A coleção real contém {3} ocorrência(s). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Item duplicado encontrado:<{1}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Maiúsculas e minúsculas diferentes para o valor real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença não maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1} ({2})>. Real:<{3} ({4})>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a É esperado qualquer valor, exceto:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não passe tipos de valores para AreSame(). Os valores convertidos em Object nunca serão os mesmos. Considere usar AreEqual(). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante à Falha em {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada similar a TestMethod assíncrono com UITestMethodAttribute sem suporte. Remova o assíncrono ou use o TestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções estão vazias. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as referências de coleções apontam para o mesmo objeto de coleção. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0}({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (nulo). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (objeto). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não contém a cadeia de caracteres '{1}'. {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} ({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Assert.Equals não deve ser usado para Asserções. Use Assert.AreEqual e sobrecargas em seu lugar. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O número de elementos nas coleções não corresponde. Esperado:<{1}>. Real:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {0} não corresponde. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} não é de tipo esperado. Tipo esperado:<{2}>. Tipo real:<{3}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} é (nulo). Tipo esperado:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não termina com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Argumento inválido – EqualsTester não pode usar nulos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não é possível converter objeto do tipo {0} em {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O objeto interno referenciado não é mais válido. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A propriedade {0} é do tipo {1}; tipo esperado {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} Tipo esperado:<{1}>. Tipo real:<{2}>.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Tipo incorreto:<{1}>. Tipo real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhum DataRowAttribute especificado. Pelo menos um DataRowAttribute é necessário com DataTestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhuma exceção gerada. A exceção {1} era esperada. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. O valor não pode ser nulo. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Número diferente de elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O construtor com a assinatura especificada não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O membro especificado ({0}) não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não começa com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O tipo de exceção esperado deve ser System.Exception ou um tipo derivado de System.Exception. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (Falha ao obter a mensagem para uma exceção do tipo {0} devido a uma exceção.). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou a exceção esperada {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou uma exceção. Uma exceção era esperada pelo atributo {0} definido no método de teste. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperada a exceção {1}. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperado a exceção {1} ou um tipo derivado dela. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Exceção gerada {2}, mas a exceção {1} era esperada. {0} + Mensagem de Exceção: {3} + Rastreamento de Pilha: {4}. + + + + + resultados de teste de unidade + + + + + O teste foi executado, mas ocorreram problemas. + Os problemas podem envolver exceções ou asserções com falha. + + + + + O teste foi concluído, mas não é possível dizer se houve aprovação ou falha. + Pode ser usado para testes anulados. + + + + + O teste foi executado sem nenhum problema. + + + + + O teste está em execução no momento. + + + + + Ocorreu um erro de sistema ao tentarmos executar um teste. + + + + + O tempo limite do teste foi atingido. + + + + + O teste foi anulado pelo usuário. + + + + + O teste está em um estado desconhecido + + + + + Fornece funcionalidade auxiliar para a estrutura do teste de unidade + + + + + Obtém as mensagens de exceção, incluindo as mensagens para todas as exceções internas + recursivamente + + Exceção ao obter mensagens para + cadeia de caracteres com informações de mensagem de erro + + + + Enumeração para tempos limite, a qual pode ser usada com a classe . + O tipo de enumeração deve corresponder + + + + + O infinito. + + + + + O atributo da classe de teste. + + + + + Obtém um atributo de método de teste que habilita a execução desse teste. + + A instância de atributo do método de teste definida neste método. + O a ser usado para executar esse teste. + Extensions can override this method to customize how all methods in a class are run. + + + + O atributo do método de teste. + + + + + Executa um método de teste. + + O método de teste a ser executado. + Uma matriz de objetos TestResult que representam resultados do teste. + Extensions can override this method to customize running a TestMethod. + + + + O atributo de inicialização do teste. + + + + + O atributo de limpeza do teste. + + + + + O atributo ignorar. + + + + + O atributo de propriedade de teste. + + + + + Inicializa uma nova instância da classe . + + + O nome. + + + O valor. + + + + + Obtém o nome. + + + + + Obtém o valor. + + + + + O atributo de inicialização de classe. + + + + + O atributo de limpeza de classe. + + + + + O atributo de inicialização de assembly. + + + + + O atributo de limpeza de assembly. + + + + + Proprietário do Teste + + + + + Inicializa uma nova instância da classe . + + + O proprietário. + + + + + Obtém o proprietário. + + + + + Atributo de prioridade. Usado para especificar a prioridade de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + A prioridade. + + + + + Obtém a prioridade. + + + + + Descrição do teste + + + + + Inicializa uma nova instância da classe para descrever um teste. + + A descrição. + + + + Obtém a descrição de um teste. + + + + + URI de Estrutura do Projeto de CSS + + + + + Inicializa a nova instância da classe para o URI da Estrutura do Projeto CSS. + + O URI da Estrutura do Projeto ECSS. + + + + Obtém o URI da Estrutura do Projeto CSS. + + + + + URI de Iteração de CSS + + + + + Inicializa uma nova instância da classe para o URI de Iteração do CSS. + + O URI de iteração do CSS. + + + + Obtém o URI de Iteração do CSS. + + + + + Atributo WorkItem. Usado para especificar um item de trabalho associado a esse teste. + + + + + Inicializa a nova instância da classe para o Atributo WorkItem. + + A ID para o item de trabalho. + + + + Obtém a ID para o item de trabalho associado. + + + + + Atributo de tempo limite. Usado para especificar o tempo limite de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + O tempo limite. + + + + + Inicializa a nova instância da classe com um tempo limite predefinido + + + O tempo limite + + + + + Obtém o tempo limite. + + + + + O objeto TestResult a ser retornado ao adaptador. + + + + + Inicializa uma nova instância da classe . + + + + + Obtém ou define o nome de exibição do resultado. Útil ao retornar vários resultados. + Se for nulo, o nome do Método será usado como o DisplayName. + + + + + Obtém ou define o resultado da execução de teste. + + + + + Obtém ou define a exceção gerada quando o teste falha. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define os rastreamentos de depuração pelo código de teste. + + + + + Gets or sets the debug traces by test code. + + + + + Obtém ou define a duração de execução do teste. + + + + + Obtém ou define o índice de linha de dados na fonte de dados. Defina somente para os resultados de execuções + individuais de um teste controlado por dados. + + + + + Obtém ou define o valor retornado do método de teste. (Sempre nulo no momento). + + + + + Obtém ou define os arquivos de resultado anexados pelo teste. + + + + + Especifica a cadeia de conexão, o nome de tabela e o método de acesso de linha para teste controlado por dados. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + O nome do provedor padrão para a DataSource. + + + + + O método de acesso a dados padrão. + + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados, uma cadeia de conexão, uma tabela de dados e um método de acesso a dados para acessar a fonte de dados. + + Nome do provedor de dados invariável, como System.Data.SqlClient + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + Especifica a ordem para acessar os dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com uma cadeia de conexão e um nome da tabela. + Especifique a cadeia de conexão e a tabela de dados para acessar a fonte de dados OLEDB. + + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados e com uma cadeia de conexão associada ao nome da configuração. + + O nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> do arquivo app.config. + + + + Obtém o valor que representa o provedor de dados da fonte de dados. + + + O nome do provedor de dados. Se um provedor de dados não foi designado na inicialização do objeto, o provedor de dados padrão de System.Data.OleDb será retornado. + + + + + Obtém o valor que representa a cadeia de conexão da fonte de dados. + + + + + Obtém um valor que indica o nome da tabela que fornece dados. + + + + + Obtém o método usado para acessar a fonte de dados. + + + + Um dos valores. Se o não for inicializado, o valor padrão será retornado . + + + + + Obtém o nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> no arquivo app.config. + + + + + O atributo para teste controlado por dados em que os dados podem ser especificados de maneira embutida. + + + + + Encontrar todas as linhas de dados e executar. + + + O Método de teste. + + + Uma matriz de . + + + + + Executa o método de teste controlado por dados. + + O método de teste a ser executado. + Linha de Dados. + Resultados de execução. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..58bcdd9e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Используется для указания элемента развертывания (файл или каталог) для развертывания каждого теста. + Может указываться для тестового класса или метода теста. + Чтобы указать несколько элементов, можно использовать несколько экземпляров атрибута. + Путь к элементу может быть абсолютным или относительным, в последнем случае он указывается по отношению к RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Инициализирует новый экземпляр класса . + + Файл или каталог для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + + + + Инициализирует новый экземпляр класса + + Относительный или абсолютный путь к файлу или каталогу для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + Путь к каталогу, в который должны быть скопированы элементы. Он может быть абсолютным или относительным (по отношению к каталогу развертывания). Все файлы и каталоги, обозначенные при помощи будет скопировано в этот каталог. + + + + Получает путь к копируемым исходному файлу или папке. + + + + + Получает путь к каталогу, в который копируется элемент. + + + + + Содержит литералы для имен разделов, свойств и атрибутов. + + + + + Имя раздела конфигурации. + + + + + Имя раздела конфигурации для Beta2. Оставлено для совместимости. + + + + + Имя раздела для источника данных. + + + + + Имя атрибута для "Name" + + + + + Имя атрибута для "ConnectionString" + + + + + Имя атрибута для "DataAccessMethod" + + + + + Имя атрибута для "DataTable" + + + + + Элемент источника данных. + + + + + Возвращает или задает имя этой конфигурации. + + + + + Возвращает или задает элемент ConnectionStringSettings в разделе <connectionStrings> файла .config. + + + + + Возвращает или задает имя таблицы данных. + + + + + Возвращает или задает тип доступа к данным. + + + + + Возвращает имя ключа. + + + + + Получает свойства конфигурации. + + + + + Коллекция элементов источника данных. + + + + + Инициализирует новый экземпляр класса . + + + + + Возвращает элемент конфигурации с указанным ключом. + + Ключ возвращаемого элемента. + System.Configuration.ConfigurationElement с указанным ключом; в противном случае — NULL. + + + + Получает элемент конфигурации по указанному индексу. + + Индекс возвращаемого элемента System.Configuration.ConfigurationElement. + + + + Добавляет элемент конфигурации в коллекцию элементов конфигурации. + + Добавляемый элемент System.Configuration.ConfigurationElement. + + + + Удаляет System.Configuration.ConfigurationElement из коллекции. + + . + + + + Удаляет System.Configuration.ConfigurationElement из коллекции. + + Ключ удаляемого элемента System.Configuration.ConfigurationElement. + + + + Удаляет все объекты элементов конфигурации из коллекции. + + + + + Создает новый . + + Новый . + + + + Получает ключ элемента для указанного элемента конфигурации. + + Элемент System.Configuration.ConfigurationElement, для которого возвращается ключ. + Объект System.Object, действующий как ключ для указанного элемента System.Configuration.ConfigurationElement. + + + + Добавляет элемент конфигурации в коллекцию элементов конфигурации. + + Добавляемый элемент System.Configuration.ConfigurationElement. + + + + Добавляет элемент конфигурации в коллекцию элементов конфигурации. + + Индекс, по которому следует добавить указанный элемент System.Configuration.ConfigurationElement. + Добавляемый элемент System.Configuration.ConfigurationElement. + + + + Поддержка параметров конфигурации для тестов. + + + + + Получает раздел конфигурации для тестов. + + + + + Раздел конфигурации для тестов. + + + + + Возвращает источники данных для этого раздела конфигурации. + + + + + Получает коллекцию свойств. + + + свойств для элемента. + + + + + Этот класс представляет существующий закрытый внутренний объект в системе + + + + + Инициализирует новый экземпляр класса , содержащий + уже существующий объект закрытого типа + + объект, который служит начальной точкой для доступа к закрытым элементам. + Строка разыменования, в которой получаемый объект обозначается точкой, например m_X.m_Y.m_Z + + + + Инициализирует новый экземпляр класса , который заключает в оболочку + указанный тип. + + Имя сборки + полное имя + Аргументы, передаваемые в конструктор + + + + Инициализирует новый экземпляр класса , который заключает в оболочку + указанный тип. + + Имя сборки + полное имя + Массив объектов, представляющих число, порядок и тип параметров, получаемых конструктором + Аргументы, передаваемые в конструктор + + + + Инициализирует новый экземпляр класса , который заключает в оболочку + указанный тип. + + тип создаваемого объекта + Аргументы, передаваемые в конструктор + + + + Инициализирует новый экземпляр класса , который заключает в оболочку + указанный тип. + + тип создаваемого объекта + Массив объектов, представляющих число, порядок и тип параметров, получаемых конструктором + Аргументы, передаваемые в конструктор + + + + Инициализирует новый экземпляр класса , который заключает в оболочку + заданный объект. + + упаковываемый объект + + + + Инициализирует новый экземпляр класса , который заключает в оболочку + заданный объект. + + упаковываемый объект + Объект PrivateType + + + + Возвращает или задает целевой объект + + + + + Возвращает тип базового объекта + + + + + возвращает хэш-код целевого объекта + + целочисленное значение, представляющее хэш-код целевого объекта + + + + Равенство + + Объект, с которым будет выполняться сравнение + возвращает true, если объекты равны. + + + + Вызывает указанный метод + + Имя метода + Аргументы, передаваемые в элемент для вызова. + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Массив объектов, представляющих число, порядок и тип параметров, получаемых методом. + Аргументы, передаваемые в элемент для вызова. + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Массив объектов, представляющих число, порядок и тип параметров, получаемых методом. + Аргументы, передаваемые в элемент для вызова. + Массив типов, соответствующих типам универсальных аргументов. + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Аргументы, передаваемые в элемент для вызова. + Информация о языке и региональных параметрах + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Массив объектов, представляющих число, порядок и тип параметров, получаемых методом. + Аргументы, передаваемые в элемент для вызова. + Информация о языке и региональных параметрах + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Аргументы, передаваемые в элемент для вызова. + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Массив объектов, представляющих число, порядок и тип параметров, получаемых методом. + Аргументы, передаваемые в элемент для вызова. + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Аргументы, передаваемые в элемент для вызова. + Информация о языке и региональных параметрах + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Массив объектов, представляющих число, порядок и тип параметров, получаемых методом. + Аргументы, передаваемые в элемент для вызова. + Информация о языке и региональных параметрах + Результат вызова метода + + + + Вызывает указанный метод + + Имя метода + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Массив объектов, представляющих число, порядок и тип параметров, получаемых методом. + Аргументы, передаваемые в элемент для вызова. + Информация о языке и региональных параметрах + Массив типов, соответствующих типам универсальных аргументов. + Результат вызова метода + + + + Возвращает элемент массива с использованием массива нижних индексов для каждого измерения + + Имя члена + индексы массива + Массив элементов. + + + + Задает элемент массива с использованием массива нижних индексов для каждого измерения + + Имя члена + Задаваемое значение + индексы массива + + + + Возвращает элемент массива с использованием массива нижних индексов для каждого измерения + + Имя члена + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + индексы массива + Массив элементов. + + + + Задает элемент массива с использованием массива нижних индексов для каждого измерения + + Имя члена + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Задаваемое значение + индексы массива + + + + Получить поле + + Имя поля + Поле. + + + + Присваивает значение полю + + Имя поля + задаваемое значение + + + + Получает поле + + Имя поля + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Поле. + + + + Присваивает значение полю + + Имя поля + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + задаваемое значение + + + + Получает поле или свойство + + Имя поля или свойства + Поле или свойство. + + + + Присваивает значение полю или свойству + + Имя поля или свойства + задаваемое значение + + + + Получает поле или свойство + + Имя поля или свойства + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Поле или свойство. + + + + Присваивает значение полю или свойству + + Имя поля или свойства + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + задаваемое значение + + + + Получает свойство + + Имя свойства + Аргументы, передаваемые в элемент для вызова. + Свойство. + + + + Получает свойство + + Имя свойства + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + Аргументы, передаваемые в элемент для вызова. + Свойство. + + + + Задать свойство + + Имя свойства + задаваемое значение + Аргументы, передаваемые в элемент для вызова. + + + + Задать свойство + + Имя свойства + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + задаваемое значение + Аргументы, передаваемые в элемент для вызова. + + + + Получает свойство + + Имя свойства + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Аргументы, передаваемые в элемент для вызова. + Свойство. + + + + Получает свойство + + Имя свойства + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + Аргументы, передаваемые в элемент для вызова. + Свойство. + + + + Присваивает значение свойству + + Имя свойства + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + задаваемое значение + Аргументы, передаваемые в элемент для вызова. + + + + Присваивает значение свойству + + Имя свойства + Битовая маска, состоящая из одного или нескольких объектов которые определяют, как выполняется поиск. + задаваемое значение + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + Аргументы, передаваемые в элемент для вызова. + + + + Проверка строки доступа + + строка доступа + + + + Вызывает элемент + + Имя члена + Дополнительные атрибуты + Аргумент для вызова + Язык и региональные параметры + Результат вызова + + + + Извлекает наиболее подходящую сигнатуру универсального метода из текущего закрытого типа. + + Имя метода, в котором будет искаться кэш сигнатуры. + Массив типов, соответствующих типам параметров, в которых будет осуществляться поиск. + Массив типов, соответствующих типам универсальных аргументов. + для дальнейшей фильтрации сигнатур методов. + Модификаторы для параметров. + Экземпляр methodinfo. + + + + Этот класс представляет закрытый класс для функции закрытого метода доступа. + + + + + Привязывается ко всему + + + + + Упакованный тип. + + + + + Инициализирует новый экземпляр класса , содержащий закрытый тип. + + Имя сборки + полное имя + + + + Инициализирует новый экземпляр класса , содержащий + закрытый тип из объекта типа + + Упакованный создаваемый тип. + + + + Получает тип, на который была сделана ссылка + + + + + Вызывает статический элемент + + Имя элемента InvokeHelper + Аргументы для вызова + Результат вызова + + + + Вызывает статический элемент + + Имя элемента InvokeHelper + Массив объектов, представляющих число, порядок и тип параметров для вызываемого метода + Аргументы для вызова + Результат вызова + + + + Вызывает статический элемент + + Имя элемента InvokeHelper + Массив объектов, представляющих число, порядок и тип параметров для вызываемого метода + Аргументы для вызова + Массив типов, соответствующих типам универсальных аргументов. + Результат вызова + + + + Вызывает статический метод + + Имя члена + Аргументы для вызова + Язык и региональные параметры + Результат вызова + + + + Вызывает статический метод + + Имя члена + Массив объектов, представляющих число, порядок и тип параметров для вызываемого метода + Аргументы для вызова + Информация о языке и региональных параметрах + Результат вызова + + + + Вызывает статический метод + + Имя члена + Дополнительные атрибуты вызова + Аргументы для вызова + Результат вызова + + + + Вызывает статический метод + + Имя члена + Дополнительные атрибуты вызова + Массив объектов, представляющих число, порядок и тип параметров для вызываемого метода + Аргументы для вызова + Результат вызова + + + + Вызывает статический метод + + Имя элемента + Дополнительные атрибуты вызова + Аргументы для вызова + Язык и региональные параметры + Результат вызова + + + + Вызывает статический метод + + Имя элемента + Дополнительные атрибуты вызова + /// Массив объектов, представляющих число, порядок и тип параметров для вызываемого метода + Аргументы для вызова + Язык и региональные параметры + Результат вызова + + + + Вызывает статический метод + + Имя элемента + Дополнительные атрибуты вызова + /// Массив объектов, представляющих число, порядок и тип параметров для вызываемого метода + Аргументы для вызова + Язык и региональные параметры + Массив типов, соответствующих типам универсальных аргументов. + Результат вызова + + + + Получает элемент в статическом массиве + + Имя массива + + Одномерный массив 32-разрядных целых чисел, которые являются индексами, указывающими + положение получаемого элемента. Например, чтобы получить доступ к a[10][11], нужны индексы {10,11} + + элемент в указанном расположении + + + + Присваивает значение элементу статического массива + + Имя массива + задаваемое значение + + Одномерный массив 32-разрядных целых чисел, которые представляют индексы, указывающие + положение задаваемого элемента. Например, чтобы получить доступ к a[10][11], нужен массив {10,11} + + + + + Получает элемент в статическом массиве + + Имя массива + Дополнительные атрибуты InvokeHelper + + Одномерный массив 32-разрядных целых чисел, которые представляют индексы, указывающие + положение получаемого элемента. Например, чтобы получить доступ к a[10][11], нужен массив {10,11} + + элемент в указанном расположении + + + + Присваивает значение элементу статического массива + + Имя массива + Дополнительные атрибуты InvokeHelper + задаваемое значение + + Одномерный массив 32-разрядных целых чисел, которые представляют индексы, указывающие + положение задаваемого элемента. Например, чтобы получить доступ к a[10][11], нужен массив {10,11} + + + + + Получает статическое поле + + Имя поля + Статическое поле. + + + + Присваивает значение статическому полю + + Имя поля + Аргумент для вызова + + + + Получает статическое поле с использованием указанных атрибутов InvokeHelper + + Имя поля + Дополнительные атрибуты вызова + Статическое поле. + + + + Присваивает значение статическому полю при помощи атрибутов привязки + + Имя поля + Дополнительные атрибуты InvokeHelper + Аргумент для вызова + + + + Получает статическое поле или свойство + + Имя поля или свойства + Статическое поле или свойство. + + + + Присваивает значение статическому полю или свойству + + Имя поля или свойства + Значение, присваиваемое полю или свойству + + + + Получает статическое поле или свойство с использованием указанных атрибутов InvokeHelper + + Имя поля или свойства + Дополнительные атрибуты вызова + Статическое поле или свойство. + + + + Присваивает значение статическому полю или свойству при помощи атрибутов привязки + + Имя поля или свойства + Дополнительные атрибуты вызова + Значение, присваиваемое полю или свойству + + + + Получает статическое свойство + + Имя поля или свойства + Аргументы для вызова + Статическое свойство. + + + + Присваивает значение статическому свойству + + Имя свойства + Значение, присваиваемое полю или свойству + Аргументы, передаваемые в элемент для вызова. + + + + Присваивает значение статическому свойству + + Имя свойства + Значение, присваиваемое полю или свойству + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + Аргументы, передаваемые в элемент для вызова. + + + + Получает статическое свойство + + Имя свойства + Дополнительные атрибуты вызова. + Аргументы, передаваемые в элемент для вызова. + Статическое свойство. + + + + Получает статическое свойство + + Имя свойства + Дополнительные атрибуты вызова. + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + Аргументы, передаваемые в элемент для вызова. + Статическое свойство. + + + + Присваивает значение статическому свойству + + Имя свойства + Дополнительные атрибуты вызова. + Значение, присваиваемое полю или свойству + Необязательные значения индекса для индексируемых свойств. Индексы для индексируемых свойств отсчитываются от нуля. Для неиндексируемых свойств это значение должно быть равно NULL. + + + + Присваивает значение статическому свойству + + Имя свойства + Дополнительные атрибуты вызова. + Значение, присваиваемое полю или свойству + Массив объектов, представляющих число, порядок и тип параметров для проиндексированного свойства. + Аргументы, передаваемые в элемент для вызова. + + + + Вызывает статический метод + + Имя элемента + Дополнительные атрибуты вызова + Аргументы для вызова + Язык и региональные параметры + Результат вызова + + + + Предоставляет обнаружение сигнатуры методов для универсальных методов. + + + + + Сравнивает сигнатуры двух этих методов. + + Method1 + Method2 + Значение true, если они одинаковые. + + + + Получает значение глубины иерархии из базового типа предоставленного типа. + + Тип. + Глубина. + + + + Находит самый производный тип с указанной информацией. + + Потенциальные совпадения. + Число совпадений. + Самый производный метод. + + + + Выбор метода на основе массива типов с учетом набора методов, соответствующих базовым условиям. + Если методов, соответствующих условиям, нет, + метод должен возвращать NULL. + + Спецификация привязки. + Потенциальные совпадения + Типы + Модификаторы параметров. + Метод сопоставления. Значение NULL при отсутствии совпадений. + + + + Находит наиболее точный метод из двух предоставленных. + + Метод 1 + Порядок параметров для метода 1 + Тип массива параметров. + Метод 2 + Порядок параметров для метода 2 + >Тип массива параметров. + Типы для поиска. + Аргументы + Значение int, представляющее совпадение. + + + + Находит наиболее точный метод из двух предоставленных. + + Метод 1 + Порядок параметров для метода 1 + Тип массива параметров. + Метод 2 + Порядок параметров для метода 2 + >Тип массива параметров. + Типы для поиска. + Аргументы + Значение int, представляющее совпадение. + + + + Находит наиболее конкретный тип из двух предоставленных. + + Тип 1 + Тип 2 + Определяющий тип + Значение int, представляющее совпадение. + + + + Используется для хранения данных, предоставляемых модульным тестам. + + + + + Получает свойства теста. + + + + + Возвращает текущую строку данных, когда тест используется для тестирования, управляемого данными. + + + + + Возвращает текущую строку подключения к данным, когда тест используется для тестирования, управляемого данными. + + + + + Возвращает базовый каталог для тестового запуска, в котором хранятся развернутые файлы и файлы результатов. + + + + + Получает каталог для файлов, развернутых для тестового запуска. Обычно это подкаталог . + + + + + Получает базовый каталог для результатов тестового запуска. Обычно это подкаталог . + + + + + Получает каталог для файлов результата теста. Обычно это подкаталог . + + + + + Возвращает каталог для файлов результатов теста. + + + + + Получает базовый каталог для тестового запуска, в котором хранятся развернутые файлы и файлы результатов. + То же, что и . Следует использовать это свойство. + + + + + Получает каталог для файлов, развернутых для тестового запуска. Обычто это подкаталог . + То же, что и . Следует использовать это свойство. + + + + + Получает каталог для файлов результата тестового запуска. Обычно это подкаталог . + То же, что и . Используйте это свойство для файлов результата тестового запуска или + для файлов результата определенного теста. + + + + + Возвращает полное имя класса, содержащего используемый сейчас метод теста + + + + + Возвращает имя метода теста, выполняемого в данный момент + + + + + Получает текущий результат теста. + + + + + Используется для записи сообщений трассировки во время теста + + отформатированная строка сообщения + + + + Используется для записи сообщений трассировки во время теста + + строка формата + аргументы + + + + Добавляет имя файла в список TestResult.ResultFileNames + + + Имя файла. + + + + + Запускает таймер с указанным именем + + Имя таймера. + + + + Останавливает таймер с указанным именем + + Имя таймера. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..f278594a3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4202 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod для выполнения. + + + + + Получает имя метода теста. + + + + + Получает имя тестового класса. + + + + + Получает тип возвращаемого значения метода теста. + + + + + Получает параметры метода теста. + + + + + Получает methodInfo для метода теста. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Вызывает метод теста. + + + Аргументы, передаваемые методу теста (например, для управляемых данными тестов). + + + Результат вызова метода теста. + + + This call handles asynchronous test methods as well. + + + + + Получить все атрибуты метода теста. + + + Допустим ли атрибут, определенный в родительском классе. + + + Все атрибуты. + + + + + Получить атрибут указанного типа. + + System.Attribute type. + + Допустим ли атрибут, определенный в родительском классе. + + + Атрибуты указанного типа. + + + + + Вспомогательный метод. + + + + + Параметр проверки не имеет значения NULL. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws argument null exception when parameter is null. + + + + Параметр проверки не равен NULL или не пуст. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws ArgumentException when parameter is null. + + + + Перечисление, описывающее способ доступа к строкам данных в тестах, управляемых данными. + + + + + Строки возвращаются в последовательном порядке. + + + + + Строки возвращаются в случайном порядке. + + + + + Атрибут для определения встроенных данных для метода теста. + + + + + Инициализирует новый экземпляр класса . + + Объект данных. + + + + Инициализирует новый экземпляр класса , принимающий массив аргументов. + + Объект данных. + Дополнительные данные. + + + + Получает данные для вызова метода теста. + + + + + Получает или задает отображаемое имя в результатах теста для настройки. + + + + + Исключение утверждения с неопределенным результатом. + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Класс InternalTestFailureException. Используется для указания внутреннего сбоя для тестового случая + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + + + + Инициализирует новый экземпляр класса . + + + + + Атрибут, который указывает, что ожидается исключение указанного типа + + + + + Инициализирует новый экземпляр класса ожидаемого типа + + Тип ожидаемого исключения + + + + Инициализирует новый экземпляр класса + ожидаемого типа c сообщением для включения, когда тест не создает исключение. + + Тип ожидаемого исключения + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал исключение + + + + + Получает значение, указывающее тип ожидаемого исключения + + + + + Получает или задает значение, которое означает, являются ли ожидаемыми типы, производные + от типа ожидаемого исключения + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Проверяет, является ли ожидаемым тип исключения, созданного модульным тестом + + Исключение, созданное модульным тестом + + + + Базовый класс для атрибутов, которые указывают ожидать исключения из модульного теста + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений по умолчанию + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений + + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал + исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение по умолчанию об отсутствии исключений + + Название типа для атрибута ExpectedException + Сообщение об отсутствии исключений по умолчанию + + + + Определяет, ожидается ли исключение. Если метод возвращает управление, то + считается, что ожидалось исключение. Если метод создает исключение, то + считается, что исключение не ожидалось, и сообщение созданного исключения + включается в результат теста. Для удобства можно использовать класс . + Если используется и утверждение завершается с ошибкой, + то результат теста будет неопределенным. + + Исключение, созданное модульным тестом + + + + Повторно создать исключение при возникновении исключения AssertFailedException или AssertInconclusiveException + + Исключение, которое необходимо создать повторно, если это исключение утверждения + + + + Этот класс предназначен для пользователей, выполняющих модульное тестирование для универсальных типов. + GenericParameterHelper удовлетворяет некоторым распространенным ограничениям для универсальных типов, + например. + 1. Открытый конструктор по умолчанию + 2. Реализует общий интерфейс: IComparable, IEnumerable + + + + + Инициализирует новый экземпляр класса , который + удовлетворяет ограничению newable в универсальных типах C#. + + + This constructor initializes the Data property to a random value. + + + + + Инициализирует новый экземпляр класса , который + инициализирует свойство Data в указанное пользователем значение. + + Любое целочисленное значение + + + + Получает или задает данные + + + + + Сравнить значения двух объектов GenericParameterHelper + + объект, с которым будет выполнено сравнение + True, если obj имеет то же значение, что и объект "this" GenericParameterHelper. + В противном случае False. + + + + Возвращает хэш-код для этого объекта. + + Хэш-код. + + + + Сравнивает данные двух объектов . + + Объект для сравнения. + + Число со знаком, указывающее относительные значения этого экземпляра и значения. + + + Thrown when the object passed in is not an instance of . + + + + + Возвращает объект IEnumerator, длина которого является производной + от свойства Data. + + Объект IEnumerator + + + + Возвращает объект GenericParameterHelper, равный + текущему объекту. + + Клонированный объект. + + + + Позволяет пользователям регистрировать/записывать трассировки от модульных тестов для диагностики. + + + + + Обработчик LogMessage. + + Сообщение для записи в журнал. + + + + Прослушиваемое событие. Возникает, когда средство записи модульных тестов записывает сообщение. + Главным образом используется адаптером. + + + + + API, при помощи которого средство записи теста будет обращаться к сообщениям журнала. + + Строка формата с заполнителями. + Параметры для заполнителей. + + + + Атрибут TestCategory; используется для указания категории модульного теста. + + + + + Инициализирует новый экземпляр класса и применяет категорию к тесту. + + + Категория теста. + + + + + Возвращает или задает категории теста, которые были применены к тесту. + + + + + Базовый класс для атрибута Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Инициализирует новый экземпляр класса . + Применяет к тесту категорию. Строки, возвращаемые TestCategories , + используются с командой /category для фильтрации тестов + + + + + Возвращает или задает категорию теста, которая была применена к тесту. + + + + + Класс AssertFailedException. Используется для указания сбоя тестового случая + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Коллекция вспомогательных классов для тестирования различных условий в + модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is true. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is null. + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if refers to the same object + as . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is not equal to . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Создает исключение AssertFailedException. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Статические переопределения равенства используются для сравнения экземпляров двух типов на равенство + ссылок. Этот метод не должен использоваться для сравнения двух экземпляров на + равенство. Этот объект всегда создает исключение с Assert.Fail. Используйте в ваших модульных тестах + Assert.AreEqual и связанные переопределения. + + Объект A + Объект B + False (всегда). + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Заменяет NULL-символы ("\0") символами "\\0". + + + Искомая строка. + + + Преобразованная строка, в которой NULL-символы были заменены на "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Вспомогательная функция, которая создает и вызывает AssertionFailedException + + + имя утверждения, создавшего исключение + + + сообщение с описанием условий для сбоя утверждения + + + Параметры. + + + + + Проверяет параметр на допустимые условия + + + Параметр. + + + Имя утверждения. + + + имя параметра + + + сообщение об исключении, связанном с недопустимым параметром + + + Параметры. + + + + + Безопасно преобразует объект в строку, обрабатывая значения NULL и NULL-символы. + Значения NULL преобразуются в "(null)", NULL-символы — в "\\0". + + + Объект для преобразования в строку. + + + Преобразованная строка. + + + + + Утверждение строки. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not begin with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not end with + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not match + . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if matches . + + + + + Коллекция вспомогательных классов для тестирования различных условий, связанных + с коллекциями в модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is found in + . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a null element is found in . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is not found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if every element in is also found in + . + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Определяет, является ли первая коллекция подмножеством второй + коллекции. Если любое из множеств содержит одинаковые элементы, то число + вхождений элемента в подмножестве должно быть меньше или + равно количеству вхождений в супермножестве. + + + Коллекция, которая с точки зрения теста должна содержаться в . + + + Коллекция, которая с точки зрения теста должна содержать . + + + Значение True, если является подмножеством + , в противном случае — False. + + + + + Создает словарь с числом вхождений каждого элемента + в указанной коллекции. + + + Обрабатываемая коллекция. + + + Число элементов, имеющих значение NULL, в коллекции. + + + Словарь с числом вхождений каждого элемента + в указанной коллекции. + + + + + Находит несоответствующий элемент между двумя коллекциями. Несоответствующий + элемент — это элемент, количество вхождений которого в ожидаемой коллекции отличается + от фактической коллекции. В качестве коллекций + ожидаются различные ссылки, отличные от null, с одинаковым + количеством элементов. За этот уровень проверки отвечает + вызывающий объект. Если несоответствующих элементов нет, функция возвращает + False, и выходные параметры использовать не следует. + + + Первая сравниваемая коллекция. + + + Вторая сравниваемая коллекция. + + + Ожидаемое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Фактическое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Несоответствующий элемент (может иметь значение NULL) или значение NULL, если несоответствующий + элемент отсутствует. + + + Значение True, если был найден несоответствующий элемент, в противном случае — False. + + + + + сравнивает объекты при помощи object.Equals + + + + + Базовый класс для исключений платформы. + + + + + Инициализирует новый экземпляр класса . + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Строго типизированный класс ресурса для поиска локализованных строк и т. д. + + + + + Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + + + + + Переопределяет свойство CurrentUICulture текущего потока для всех операций + поиска ресурсов, в которых используется этот строго типизированный класс. + + + + + Ищет локализованную строку, похожую на "Синтаксис строки доступа неверен". + + + + + Ищет локализованную строку, похожую на "Ожидаемая коллекция содержит {1} вхождений <{2}>. Фактическая коллекция содержит {3} вхождений. {0}". + + + + + Ищет локализованную строку, похожую на "Обнаружен элемент-дубликат: <{1}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое значение имеет другой регистр: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять не больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1} ({2})>. Фактическое: <{3} ({4})>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидалось любое значение, кроме: <{1}>. Фактическое значение: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Не передавайте типы значений в AreSame(). Значения, преобразованные в объекты, никогда не будут одинаковыми. Воспользуйтесь методом AreEqual(). {0}". + + + + + Ищет локализованную строку, похожую на "Сбой {0}. {1}". + + + + + Ищет локализованную строку, аналогичную "Асинхронный метод TestMethod с UITestMethodAttribute не поддерживается. Удалите async или используйте TestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Обе коллекции пусты. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы". + + + + + Ищет локализованную строку, похожую на "Ссылки на обе коллекции указывают на один объект коллекции. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы. {0}". + + + + + Ищет локализованную строку, похожую на "{0}({1})". + + + + + Ищет локализованную строку, похожую на "(NULL)". + + + + + Ищет локализованную строку, похожую на "(объект)". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не содержит строку "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "{0} ({1})". + + + + + Ищет локализованную строку, похожую на "Assert.Equals не следует использовать для Assertions. Используйте Assert.AreEqual и переопределения". + + + + + Ищет локализованную строку, похожую на "Число элементов в коллекциях не совпадает. Ожидаемое число: <{1}>. Фактическое: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {0} не соответствует". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет непредвиденный тип. Ожидаемый тип: <{2}>. Фактический тип: <{3}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет значение (NULL). Ожидаемый тип: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не заканчивается строкой "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Недопустимый аргумент — EqualsTester не может использовать значения NULL". + + + + + Ищет локализованную строку, похожую на "Невозможно преобразовать объект типа {0} в {1}". + + + + + Ищет локализованную строку, похожую на "Внутренний объект, на который была сделана ссылка, более не действителен". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. {1}". + + + + + Ищет локализованную строку, похожую на "Свойство {0} имеет тип {1}; ожидаемый тип: {2}". + + + + + Ищет локализованную строку, похожую на "{0} Ожидаемый тип: <{1}>. Фактический тип: <{2}>". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Неправильный тип: <{1}>. Фактический тип: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Не указан атрибут DataRowAttribute. Необходимо указать как минимум один атрибут DataRowAttribute с атрибутом DataTestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Исключение не было создано. Ожидалось исключение {1}. {0}". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. Значение не может быть равно NULL. {1}". + + + + + Ищет локализованную строку, похожую на "Число элементов различается". + + + + + Ищет локализованную строку, похожую на + "Не удалось найти конструктор с указанной сигнатурой. Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор класса PrivateObject". + . + + + + + Ищет локализованную строку, похожую на + "Не удалось найти указанный элемент ({0}). Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор PrivateObject". + . + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не начинается со строки "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое исключение должно иметь тип System.Exception или производный от него тип". + + + + + Ищет локализованную строку, похожую на "(Не удалось получить сообщение для исключения типа {0} из-за исключения.)". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал ожидаемое исключение {0}. {1}". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал исключение. Исключение ожидалось атрибутом {0}, определенным в методе теста". + + + + + Ищет локализованную строку, похожую на "Метод теста создан исключение {0}, а ожидалось исключение {1}. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Метод теста создал исключение {0}, а ожидалось исключение {1} или производный от него тип. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Создано исключение {2}, а ожидалось исключение {1}. {0} + Сообщение исключения: {3} + Стек трассировки: {4}". + + + + + результаты модульного теста + + + + + Тест был выполнен, но при его выполнении возникли проблемы. + Эти проблемы могут включать исключения или сбой утверждений. + + + + + Тест завершен, но результат его завершения неизвестен. + Может использоваться для прерванных тестов. + + + + + Тест был выполнен без проблем. + + + + + Тест выполняется в данный момент. + + + + + При попытке выполнения теста возникла ошибка в системе. + + + + + Время ожидания для теста истекло. + + + + + Тест прерван пользователем. + + + + + Тест находится в неизвестном состоянии + + + + + Предоставляет вспомогательные функции для платформы модульных тестов + + + + + Получает сообщения с исключениями, включая сообщения для всех внутренних исключений + (рекурсивно) + + Исключение, для которого следует получить сообщения + строка с сообщением об ошибке + + + + Перечисление для времен ожидания, которое можно использовать с классом . + Тип перечисления должен соответствовать + + + + + Бесконечно. + + + + + Атрибут тестового класса. + + + + + Получает атрибут метода теста, включающий выполнение этого теста. + + Для этого метода определен экземпляр атрибута метода теста. + + для использования для выполнения этого теста. + Extensions can override this method to customize how all methods in a class are run. + + + + Атрибут метода теста. + + + + + Выполняет метод теста. + + Выполняемый метод теста. + Массив объектов TestResult, представляющих результаты теста. + Extensions can override this method to customize running a TestMethod. + + + + Атрибут инициализации теста. + + + + + Атрибут очистки теста. + + + + + Атрибут игнорирования. + + + + + Атрибут свойства теста. + + + + + Инициализирует новый экземпляр класса . + + + Имя. + + + Значение. + + + + + Получает имя. + + + + + Получает значение. + + + + + Атрибут инициализации класса. + + + + + Атрибут очистки класса. + + + + + Атрибут инициализации сборки. + + + + + Атрибут очистки сборки. + + + + + Владелец теста + + + + + Инициализирует новый экземпляр класса . + + + Владелец. + + + + + Получает владельца. + + + + + Атрибут Priority; используется для указания приоритета модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Приоритет. + + + + + Получает приоритет. + + + + + Описание теста + + + + + Инициализирует новый экземпляр класса для описания теста. + + Описание. + + + + Получает описание теста. + + + + + URI структуры проекта CSS + + + + + Инициализирует новый экземпляр класса для URI структуры проекта CSS. + + URI структуры проекта CSS. + + + + Получает URI структуры проекта CSS. + + + + + URI итерации CSS + + + + + Инициализирует новый экземпляр класса для URI итерации CSS. + + URI итерации CSS. + + + + Получает URI итерации CSS. + + + + + Атрибут WorkItem; используется для указания рабочего элемента, связанного с этим тестом. + + + + + Инициализирует новый экземпляр класса для атрибута WorkItem. + + Идентификатор рабочего элемента. + + + + Получает идентификатор связанного рабочего элемента. + + + + + Атрибут Timeout; используется для указания времени ожидания модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Время ожидания. + + + + + Инициализирует новый экземпляр класса с заданным временем ожидания + + + Время ожидания + + + + + Получает время ожидания. + + + + + Объект TestResult, который возвращается адаптеру. + + + + + Инициализирует новый экземпляр класса . + + + + + Получает или задает отображаемое имя результата. Удобно для возврата нескольких результатов. + Если параметр равен NULL, имя метода используется в качестве DisplayName. + + + + + Получает или задает результат выполнения теста. + + + + + Получает или задает исключение, создаваемое, если тест не пройден. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает трассировки отладки для кода теста. + + + + + Gets or sets the debug traces by test code. + + + + + Получает или задает продолжительность выполнения теста. + + + + + Возвращает или задает индекс строки данных в источнике данных. Задается только для результатов выполнения + отдельных строк данных для теста, управляемого данными. + + + + + Получает или задает возвращаемое значение для метода теста. (Сейчас всегда равно NULL.) + + + + + Возвращает или задает файлы результатов, присоединенные во время теста. + + + + + Задает строку подключения, имя таблицы и метод доступа к строкам для тестов, управляемых данными. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Имя поставщика по умолчанию для DataSource. + + + + + Метод доступа к данным по умолчанию. + + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных, строкой подключения, таблицей данных и методом доступа к данным для доступа к источнику данных. + + Имя инвариантного поставщика данных, например System.Data.SqlClient + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + Задает порядок доступа к данным. + + + + Инициализирует новый экземпляр класса . Этот экземпляр будет инициализирован с строкой подключения и именем таблицы. + Укажите строку подключения и таблицу данных для доступа к источнику данных OLEDB. + + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных и строкой подключения, связанной с именем параметра. + + Имя источника данных, обнаруженного в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + Получает значение, представляющее поставщик данных для источника данных. + + + Имя поставщика данных. Если поставщик данных не был определен при инициализации объекта, будет возвращен поставщик по умолчанию, System.Data.OleDb. + + + + + Получает значение, представляющее строку подключения для источника данных. + + + + + Получает значение с именем таблицы, содержащей данные. + + + + + Возвращает метод, используемый для доступа к источнику данных. + + + + Один из значений. Если не инициализировано, возвращается значение по умолчанию . + + + + + Возвращает имя источника данных, обнаруженное в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + + Атрибут для тестов, управляемых данными, в которых данные могут быть встроенными. + + + + + Найти все строки данных и выполнить. + + + Метод теста. + + + Массив . + + + + + Выполнение метода теста, управляемого данными. + + Выполняемый метод теста. + Строка данных. + Результаты выполнения. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..b864a5e86 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Test başına dağıtım için dağıtım öğesi (dosya veya dizin) belirtmek üzere kullanılır. + Test sınıfında veya test metodunda belirtilebilir. + Birden fazla öğe belirtmek için özniteliğin birden fazla örneğini içerebilir. + Öğe yolu mutlak veya göreli olabilir; göreli ise RunConfig.RelativePathRoot ile görelidir. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + sınıfının yeni bir örneğini başlatır. + + Dağıtılacak dosya veya dizin. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + + + + sınıfının yeni bir örneğini başlatır + + Dağıtılacak dosya veya dizinin göreli ya da mutlak yolu. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + Öğelerin kopyalanacağı dizinin yolu. Dağıtım dizinine göre mutlak veya göreli olabilir. Tüm dosyalar ve dizinler şuna göre tanımlanır: bu dizine kopyalanacak. + + + + Kopyalanacak kaynak dosya veya klasörün yolunu alır. + + + + + Öğenin kopyalandığı dizinin yolunu alır. + + + + + Bölüm, özellik ve özniteliklerin adlarına ait sabit değerleri içerir. + + + + + Yapılandırma bölümünün adı. + + + + + Beta2 için yapılandırma bölümü adı. Uyumluluk için kullanımda tutuluyor. + + + + + Veri kaynağının bölüm adı. + + + + + 'Name' için öznitelik adı + + + + + 'ConnectionString' için öznitelik adı + + + + + 'DataAccessMethod' için öznitelik adı + + + + + 'DataTable' için öznitelik adı + + + + + Veri Kaynağı öğesi. + + + + + Bu yapılandırmanın adını alır veya ayarlar. + + + + + .config dosyasındaki <connectionStrings> bölümünde bulunan ConnectionStringSettings öğesini alır veya ayarlar. + + + + + Veri tablosunun adını alır veya ayarlar. + + + + + Veri erişiminin türünü alır veya ayarlar. + + + + + Anahtarın adını alır. + + + + + Yapılandırma özelliklerini alır. + + + + + Veri kaynağı öğe koleksiyonu. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + Belirtilen anahtara sahip yapılandırma öğesini döndürür. + + Döndürülecek öğenin anahtarı. + Belirtilen anahtar ile System.Configuration.ConfigurationElement; aksi takdirde, null. + + + + Belirtilen dizin konumundaki yapılandırma öğesini alır. + + Döndürülecek System.Configuration.ConfigurationElement öğesinin dizin konumu. + + + + Yapılandırma öğesi koleksiyonuna bir yapılandırma öğesi ekler. + + Eklenecek System.Configuration.ConfigurationElement öğesi. + + + + Bir System.Configuration.ConfigurationElement öğesini koleksiyondan kaldırır. + + . + + + + Bir System.Configuration.ConfigurationElement öğesini koleksiyondan kaldırır. + + Kaldırılacak System.Configuration.ConfigurationElement anahtarı. + + + + Tüm yapılandırma öğesi nesnelerini koleksiyondan kaldırır. + + + + + Yeni bir oluşturur. + + Yeni bir . + + + + Belirtilen yapılandırma öğesi için öğe anahtarını alır. + + Anahtarı döndürülecek System.Configuration.ConfigurationElement. + Belirtilen System.Configuration.ConfigurationElement için anahtar görevi gören bir System.Object. + + + + Yapılandırma öğesi koleksiyonuna bir yapılandırma öğesi ekler. + + Eklenecek System.Configuration.ConfigurationElement öğesi. + + + + Yapılandırma öğesi koleksiyonuna bir yapılandırma öğesi ekler. + + Belirtilen System.Configuration.ConfigurationElement öğesinin ekleneceği dizin konumu. + Eklenecek System.Configuration.ConfigurationElement öğesi. + + + + Testler için yapılandırma ayarları desteği. + + + + + Testler için yapılandırma bölümünü alır. + + + + + Testler için yapılandırma bölümü. + + + + + Bu yapılandırma bölümünün veri kaynaklarını alır. + + + + + Özellik koleksiyonunu alır. + + + Bir koleksiyonu. + + + + + Bu sınıf, sistemde çalışan, genel OLMAYAN İÇ nesneyi temsil eder + + + + + sınıfının, özel sınıfın zaten mevcut olan nesnesini + içeren yeni bir örneğini başlatır + + özel üyelere ulaşmak için başlangıç noktası olarak hizmet veren nesne + Alınacak nesneyi . ile gösteren, başvuru kaldırma dizesi. Örnek: m_X.m_Y.m_Z + + + + sınıfının, belirtilen türü sarmalayan yeni bir örneğini + başlatır. + + Bütünleştirilmiş kodun adı + tam adı + Oluşturucuya geçirilecek bağımsız değişken + + + + sınıfının, belirtilen türü sarmalayan yeni bir örneğini + başlatır. + + Bütünleştirilmiş kodun adı + tam adı + Bir dizi alınacak oluşturucuya ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Oluşturucuya geçirilecek bağımsız değişken + + + + sınıfının, belirtilen türü sarmalayan yeni bir örneğini + başlatır. + + oluşturulacak nesnenin türü + Oluşturucuya geçirilecek bağımsız değişken + + + + sınıfının, belirtilen türü sarmalayan yeni bir örneğini + başlatır. + + oluşturulacak nesnenin türü + Bir dizi alınacak oluşturucuya ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Oluşturucuya geçirilecek bağımsız değişken + + + + sınıfının, belirtilen nesneyi sarmalayan yeni bir + örneğini başlatır. + + kaydırılacak nesne + + + + sınıfının, belirtilen nesneyi sarmalayan yeni bir + örneğini başlatır. + + kaydırılacak nesne + PrivateType nesnesi + + + + Hedefi alır veya ayarlar + + + + + Temel alınan nesnenin türünü alır + + + + + hedef nesnenin karma kodunu döndürür + + hedef nesnenin karma kodunu temsil eden tamsayı + + + + Eşittir + + Karşılaştırma yapılacak nesneler + nesneler eşit ise true döndürür. + + + + Belirtilen metodu çağırır + + Metodun adı + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir dizi alınacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir dizi alınacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Genel bağımsız değişkenlerin türlerine karşılık gelen bir tür dizisi. + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Kültür bilgisi + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir dizi alınacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Kültür bilgisi + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Bir dizi alınacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Kültür bilgisi + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Metodun adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Bir dizi alınacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Kültür bilgisi + Yöntem çağrısı sonucu + + + + Belirtilen metodu çağırır + + Yöntem adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Bir dizi alınacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Kültür bilgisi + Genel bağımsız değişkenlerin türlerine karşılık gelen bir tür dizisi. + Yöntem çağrısı sonucu + + + + Her boyut için alt simge dizisini kullanarak dizi öğesini alır + + Üyenin adı + dizi dizinleri + Öğe dizisi. + + + + Her boyut için alt simge dizisi kullanarak dizi öğesini ayarlar + + Üyenin adı + Ayarlanacak değer + dizi dizinleri + + + + Her boyut için alt simge dizisini kullanarak dizi öğesini alır + + Üyenin adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + dizi dizinleri + Öğe dizisi. + + + + Her boyut için alt simge dizisi kullanarak dizi öğesini ayarlar + + Üyenin adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Ayarlanacak değer + dizi dizinleri + + + + Alanı alır + + Alanın adı + Alan. + + + + Alanı ayarlar + + Alanın adı + ayarlanacak değer + + + + Alanı alır + + Alanın adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Alan. + + + + Alanı ayarlar + + Alanın adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + ayarlanacak değer + + + + Alanı veya özelliği alır + + Alan veya özelliğin adı + Alan veya özellik. + + + + Alanı veya özelliği ayarlar + + Alan veya özelliğin adı + ayarlanacak değer + + + + Alanı veya özelliği alır + + Alan veya özelliğin adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Alan veya özellik. + + + + Alanı veya özelliği ayarlar + + Alan veya özelliğin adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + ayarlanacak değer + + + + Özelliği alır + + Özellik adı + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Özellik. + + + + Özelliği alır + + Özellik adı + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Özellik. + + + + Özelliği ayarlar + + Özellik adı + ayarlanacak değer + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Özelliği ayarlar + + Özellik adı + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + ayarlanacak değer + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Özelliği alır + + Özelliğin adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Özellik. + + + + Özelliği alır + + Özelliğin adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Özellik. + + + + Özelliği ayarlar + + Özellik adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + ayarlanacak değer + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Özelliği ayarlar + + Özellik adı + Bir veya daha fazla içeren bit maskesi aramanın nasıl yürütüldüğünü belirtir. + ayarlanacak değer + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Erişim dizesini doğrular + + erişim dizesi + + + + Üyeyi çağırır + + Üyenin adı + Ek öznitelikler + Çağrı bağımsız değişkenleri + Kültür + Çağrı sonucu + + + + Geçerli özel türden en uygun genel metot imzasını ayıklar. + + İmza önbelleğinin aranacağı yöntemin adı. + İçinde arama yapılacak parametrelerin türlerine karşılık gelen bir tür dizisi. + Genel bağımsız değişkenlerin türlerine karşılık gelen bir tür dizisi. + yöntem imzalarını daha fazla filtrelemek için. + Parametreler için değiştiriciler. + Bir methodinfo örneği. + + + + Bu sınıf, Özel Erişimci işlevselliği için özel bir sınıfı temsil eder. + + + + + Her şeye bağlar + + + + + Sarmalanan tür. + + + + + sınıfının, özel türü içeren yeni bir örneğini başlatır. + + Bütünleştirilmiş kod adı + şunun tam adı: + + + + sınıfının, tür nesnesindeki özel türü içeren yeni bir + örneğini başlatır + + Oluşturulacak kaydırılmış Tür. + + + + Başvurulan türü alır + + + + + Statik üyeyi çağırır + + InvokeHelper üyesinin adı + Çağrı bağımsız değişkenleri + Çağrı sonucu + + + + Statik üyeyi çağırır + + InvokeHelper üyesinin adı + Bir dizi çağrılacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Çağrı bağımsız değişkenleri + Çağrı sonucu + + + + Statik üyeyi çağırır + + InvokeHelper üyesinin adı + Bir dizi çağrılacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Çağrı bağımsız değişkenleri + Genel bağımsız değişkenlerin türlerine karşılık gelen bir tür dizisi. + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Çağrı bağımsız değişkenleri + Kültür + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Bir dizi çağrılacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Çağrı bağımsız değişkenleri + Kültür bilgisi + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Ek çağrı öznitelikleri + Çağrı bağımsız değişkenleri + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Ek çağrı öznitelikleri + Bir dizi çağrılacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Çağrı bağımsız değişkenleri + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Ek çağrı öznitelikleri + Çağrı bağımsız değişkenleri + Kültür + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Ek çağrı öznitelikleri + /// Bir dizi çağrılacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Çağrı bağımsız değişkenleri + Kültür + Çağrı sonucu + + + + Statik metodu çağırır + + Üyenin adı + Ek çağrı öznitelikleri + /// Bir dizi çağrılacak yönteme ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler + Çağrı bağımsız değişkenleri + Kültür + Genel bağımsız değişkenlerin türlerine karşılık gelen bir tür dizisi. + Çağrı sonucu + + + + Statik dizideki öğeyi alır + + Dizinin adı + + Alınacak öğenin konumunu belirten dizinleri temsil eden tek boyutlu bir 32 bit + tamsayı dizisi. Örneğin, a[10][11] öğesine erişmek için dizinler {10,11} olur + + belirtilen konumdaki öğe + + + + Statik dizinin üyesini ayarlar + + Dizinin adı + ayarlanacak değer + + Ayarlanacak öğenin konumunu belirten dizinleri temsil eden tek boyutlu bir 32 bit + tamsayı dizisi. Örneğin, a[10][11] öğesine erişmek için dizi {10,11} olur + + + + + Statik dizideki öğeyi alır + + Dizinin adı + Ek InvokeHelper öznitelikleri + + Alınacak öğenin konumunu belirten dizinleri temsil eden tek boyutlu bir 32 bit + tamsayı dizisi. Örneğin, a[10][11] öğesine erişmek için dizi {10,11} olur + + belirtilen konumdaki öğe + + + + Statik dizinin üyesini ayarlar + + Dizinin adı + Ek InvokeHelper öznitelikleri + ayarlanacak değer + + Ayarlanacak öğenin konumunu belirten dizinleri temsil eden tek boyutlu bir 32 bit + tamsayı dizisi. Örneğin, a[10][11] öğesine erişmek için dizi {10,11} olur + + + + + Statik alanı alır + + Alanın adı + Statik alan. + + + + Statik alanı ayarlar + + Alanın adı + Çağrı bağımsız değişkeni + + + + Belirtilen InvokeHelper özniteliklerini kullanarak statik alanı alır + + Alanın adı + Ek çağrı öznitelikleri + Statik alan. + + + + Bağlama özniteliklerini kullanarak statik alanı ayarlar + + Alanın adı + Ek InvokeHelper öznitelikleri + Çağrı bağımsız değişkeni + + + + Statik alanı veya özelliği alır + + Alan veya özelliğin adı + Statik alan veya özellik. + + + + Statik alanı veya özelliği ayarlar + + Alan veya özelliğin adı + Alan veya özelliğe ayarlanacak değer + + + + Belirtilen InvokeHelper özniteliklerini kullanarak statik alanı veya özelliği alır + + Alan veya özelliğin adı + Ek çağrı öznitelikleri + Statik alan veya özellik. + + + + Bağlama özniteliklerini kullanarak statik alanı veya özelliği ayarlar + + Alan veya özelliğin adı + Ek çağrı öznitelikleri + Alan veya özelliğe ayarlanacak değer + + + + Statik özelliği alır + + Alan veya özelliğin adı + Çağrı bağımsız değişkenleri + Statik özellik. + + + + Statik özelliği ayarlar + + Özellik adı + Alan veya özelliğe ayarlanacak değer + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Statik özelliği ayarlar + + Özellik adı + Alan veya özelliğe ayarlanacak değer + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Statik özelliği alır + + Özellik adı + Ek çağrı öznitelikleri. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Statik özellik. + + + + Statik özelliği alır + + Özellik adı + Ek çağrı öznitelikleri. + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + Statik özellik. + + + + Statik özelliği ayarlar + + Özellik adı + Ek çağrı öznitelikleri. + Alan veya özelliğe ayarlanacak değer + Dizini oluşturulmuş özellikler için isteğe bağlı dizin değerleri. Dizini oluşturulmuş özelliklerin dizinleri sıfır tabanlıdır. Bu değer, dizini oluşturulmamış özellikler için null olmalıdır. + + + + Statik özelliği ayarlar + + Özellik adı + Ek çağrı öznitelikleri. + Alan veya özelliğe ayarlanacak değer + Bir dizi dizini oluşturulmuş özelliğe ait parametrelerin sayısını, sırasını ve türünü temsil eden nesneler. + Çağrılacak üyeye geçirilecek bağımsız değişkenler. + + + + Statik metodu çağırır + + Üyenin adı + Ek çağrı öznitelikleri + Çağrı bağımsız değişkenleri + Kültür + Çağrı sonucu + + + + Genel metotlar için metot imzası bulmayı sağlar. + + + + + Bu iki metodun metot imzalarını karşılaştırır. + + Method1 + Method2 + Benzer olduklarında true. + + + + Sağlanan türün temel türünden hiyerarşi derinliğini alır. + + Tür. + Derinlik. + + + + Sağlanan bilgilerle en çok türetilen türü bulur. + + Aday eşleşmeleri. + Eşleşme sayısı. + En çok türetilen metot. + + + + Temel ölçütlerle eşleşen bir metot kümesini göz önünde bulundurarak + bir tür dizisini temel alan bir metot seçin. Hiçbir metot ölçütlerle eşleşmezse bu metot + null döndürmelidir. + + Bağlama belirtimi. + Aday eşleşmeleri + Türler + Parametre değiştiriciler. + Eşleştirme metodu. Eşleşen yoksa null. + + + + Sağlanan iki metot arasından en belirli olanını bulur. + + Metot 1 + Metot 1 için parametre sırası + Parametre dizi türü. + Metot 2 + Metot 2 için parametre sırası + >Parametre dizi türü. + İçinde aramanın yapılacağı türler. + Bağımsız Değişkenler + Eşleşmeyi temsil eden bir int. + + + + Sağlanan iki metot arasından en belirli olanını bulur. + + Metot 1 + Metot 1 için parametre sırası + Parametre dizi türü. + Metot 2 + Metot 2 için parametre sırası + >Parametre dizi türü. + İçinde aramanın yapılacağı türler. + Bağımsız Değişkenler + Eşleşmeyi temsil eden bir int. + + + + Sağlanan iki tür arasından en belirli olanını bulur. + + Tür 1 + Tür 2 + Tanımlama türü + Eşleşmeyi temsil eden bir int. + + + + Birim testlerinde sağlanan bilgileri depolamak için kullanılır. + + + + + Bir testin test özelliklerini alır. + + + + + Test, veri tabanlı test için kullanıldığında geçerli veri satırını alır. + + + + + Test, veri tabanlı test için kullanıldığında geçerli veri bağlantısı satırını alır. + + + + + Test çalıştırması için, dağıtılan dosyaların ve sonuç dosyalarının depolandığı temel dizini alır. + + + + + Test çalıştırması için dağıtılan dosyaların dizinini alır. Genellikle dizininin bir alt dizinidir. + + + + + Test çalıştırmasından sonuçlar için temel dizini alır. Genellikle dizininin bir alt dizinidir. + + + + + Test çalıştırması sonuç dosyalarının dizinini alır. Genellikle dizininin bir alt dizinidir. + + + + + Test sonucu dosyalarının dizinini alır. + + + + + Test çalıştırması için dağıtılan dosyaların ve sonuç dosyalarının depolandığı temel dizini alır. + ile aynıdır. Bunun yerine bu özelliği kullanın. + + + + + Test çalıştırması için dağıtılan dosyaların dizinini alır. Genellikle dizininin bir alt dizinidir. + ile aynıdır. Bunun yerine bu özelliği kullanın. + + + + + Test çalıştırması sonuç dosyalarının dizini alır. Genellikle dizininin bir alt dizinidir. + ile aynıdır. Test çalıştırması sonuç dosyaları için bu özelliği veya + teste özgü sonuç dosyaları için kullanın. + + + + + Şu anda yürütülen test metodunu içeren sınıfın tam adını alır + + + + + Yürütülmekte olan test metodunun adını alır + + + + + Geçerli test sonucunu alır. + + + + + Test çalışırken izleme iletileri yazmak için kullanılır + + biçimlendirilmiş ileti dizesi + + + + Test çalışırken izleme iletileri yazmak için kullanılır + + biçim dizesi + bağımsız değişkenler + + + + TestResult.ResultFileNames içindeki listeye bir dosya adı ekler + + + Dosya Adı. + + + + + Belirtilen ada sahip bir zamanlayıcı başlatır + + Zamanlayıcının adı. + + + + Belirtilen ada sahip zamanlayıcıyı sonlandırır + + Zamanlayıcının adı. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..b7a00291b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Yürütülecek TestMethod. + + + + + Test metodunun adını alır. + + + + + Test sınıfının adını alır. + + + + + Test metodunun dönüş türünü alır. + + + + + Test metodunun parametrelerini alır. + + + + + Test metodu için methodInfo değerini alır. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Test metodunu çağırır. + + + Test metoduna geçirilecek bağımsız değişkenler. (Örn. Veri temelli için) + + + Test yöntemi çağırma sonucu. + + + This call handles asynchronous test methods as well. + + + + + Test metodunun tüm özniteliklerini alır. + + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Tüm öznitelikler. + + + + + Belirli bir türdeki özniteliği alır. + + System.Attribute type. + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Belirtilen türün öznitelikleri. + + + + + Yardımcı. + + + + + Denetim parametresi null değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws argument null exception when parameter is null. + + + + Denetim parametresi null veya boş değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws ArgumentException when parameter is null. + + + + Veri tabanlı testlerde veri satırlarına erişme şekline yönelik sabit listesi. + + + + + Satırlar sıralı olarak döndürülür. + + + + + Satırlar rastgele sırayla döndürülür. + + + + + Bir test metodu için satır içi verileri tanımlayan öznitelik. + + + + + sınıfının yeni bir örneğini başlatır. + + Veri nesnesi. + + + + Bir bağımsız değişken dizisi alan sınıfının yeni bir örneğini başlatır. + + Bir veri nesnesi. + Daha fazla veri. + + + + Çağıran test metodu verilerini alır. + + + + + Özelleştirme için test sonuçlarında görünen adı alır veya ayarlar. + + + + + Onay sonuçlandırılmadı özel durumu. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + InternalTestFailureException sınıfı. Bir test çalışmasının iç hatasını belirtmek için kullanılır + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Belirtilen türde bir özel durum beklemeyi belirten öznitelik + + + + + Beklenen tür ile sınıfının yeni bir örneğini başlatır + + Beklenen özel durum türü + + + + Beklenen tür ve test tarafından özel durum oluşturulmadığında eklenecek ileti ile sınıfının + yeni bir örneğini başlatır. + + Beklenen özel durum türü + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna dahil edilecek ileti + + + + + Beklenen özel durumun Türünü belirten bir değer alır + + + + + Beklenen özel durumun türünden türetilmiş türlerin beklenen özel durum türü olarak değerlendirilmesine izin verilip verilmeyeceğini + belirten değeri alır veya ayarlar + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Birim testi tarafından oluşturulan özel durum türünün beklendiğini doğrular + + Birim testi tarafından oluşturulan özel durum + + + + Birim testinden bir özel durum beklemek için belirtilen özniteliklerin temel sınıfı + + + + + Varsayılan bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + + + Bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna + dahil edilecek özel durum + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Varsayılan 'özel durum yok' iletisini alır + + ExpectedException özniteliği tür adı + Özel durum olmayan varsayılan ileti + + + + Özel durumun beklenip beklenmediğini belirler. Metot dönüş yapıyorsa, özel + durumun beklendiği anlaşılır. Metot bir özel durum oluşturuyorsa, özel durumun + beklenmediği anlaşılır ve oluşturulan özel durumun iletisi test sonucuna + eklenir. Kolaylık sağlamak amacıyla sınıfı kullanılabilir. + kullanılırsa ve onaylama başarısız olursa, + test sonucu Belirsiz olarak ayarlanır. + + Birim testi tarafından oluşturulan özel durum + + + + Özel durum bir AssertFailedException veya AssertInconclusiveException ise özel durumu yeniden oluşturur + + Bir onaylama özel durumu ise yeniden oluşturulacak özel durum + + + + Bu sınıf, kullanıcının genel türler kullanan türlere yönelik birim testleri yapmasına yardımcı olmak üzere tasarlanmıştır. + GenericParameterHelper bazı genel tür kısıtlamalarını yerine getirir; + örneğin: + 1. genel varsayılan oluşturucu + 2. ortak arabirim uygular: IComparable, IEnumerable + + + + + sınıfının C# genel türlerindeki 'newable' + kısıtlamasını karşılayan yeni bir örneğini başlatır. + + + This constructor initializes the Data property to a random value. + + + + + sınıfının, Data özelliğini kullanıcı + tarafından sağlanan bir değerle başlatan yeni bir örneğini başlatır. + + Herhangi bir tamsayı değeri + + + + Verileri alır veya ayarlar + + + + + İki GenericParameterHelper nesnesi için değer karşılaştırması yapar + + karşılaştırma yapılacak nesne + nesne bu 'this' GenericParameterHelper nesnesiyle aynı değere sahipse true. + aksi takdirde false. + + + + Bu nesne için bir karma kod döndürür. + + Karma kod. + + + + İki nesnesinin verilerini karşılaştırır. + + Karşılaştırılacak nesne. + + Bu örnek ve değerin göreli değerlerini gösteren, işaretli sayı. + + + Thrown when the object passed in is not an instance of . + + + + + Uzunluğu Data özelliğinden türetilmiş bir IEnumerator nesnesi + döndürür. + + IEnumerator nesnesi + + + + Geçerli nesneye eşit olan bir GenericParameterHelper nesnesi + döndürür. + + Kopyalanan nesne. + + + + Kullanıcıların tanılama amacıyla birim testlerindeki izlemeleri günlüğe kaydetmesini/yazmasını sağlar. + + + + + LogMessage işleyicisi. + + Günlüğe kaydedilecek ileti. + + + + Dinlenecek olay. Birim testi yazıcı bir ileti yazdığında oluşturulur. + Genellikle bağdaştırıcı tarafından kullanılır. + + + + + İletileri günlüğe kaydetmek için çağrılacak test yazıcısı API'si. + + Yer tutucuları olan dize biçimi. + Yer tutucu parametreleri. + + + + TestCategory özniteliği; bir birim testinin kategorisini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır ve kategoriyi teste uygular. + + + Test Kategorisi. + + + + + Teste uygulanan test kategorilerini alır. + + + + + "Category" özniteliğinin temel sınıfı + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + sınıfının yeni bir örneğini başlatır. + Kategoriyi teste uygular. TestCategories tarafından döndürülen + dizeler /category komutu içinde testleri filtrelemek için kullanılır + + + + + Teste uygulanan test kategorisini alır. + + + + + AssertFailedException sınıfı. Test çalışmasının başarısız olduğunu göstermek için kullanılır + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Birim testleri içindeki çeşitli koşulları test etmeye yönelik yardımcı + sınıf koleksiyonu. Test edilen koşul karşılanmazsa bir özel durum + oluşturulur. + + + + + Assert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is false. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is true. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null. + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if refers to the same object + as . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is not equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Bir AssertFailedException oluşturur. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Statik eşit aşırı yüklemeler iki türün örneklerini başvuru eşitliği bakımından + karşılaştırmak için kullanılır. Bu metot iki örneği eşitlik bakımından karşılaştırmak için + kullanılmamalıdır. Bu nesne her zaman Assert.Fail ile oluşturulur. + Lütfen birim testlerinizde Assert.AreEqual ve ilişkili aşırı yüklemelerini kullanın. + + Nesne A + Nesne B + Her zaman false. + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + Null karakterleri ('\0'), "\\0" ile değiştirir. + + + Aranacak dize. + + + Null karakterler içeren dönüştürülmüş dize "\\0" ile değiştirildi. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException oluşturan yardımcı işlev + + + özel durum oluşturan onaylamanın adı + + + onaylama hatası koşullarını açıklayan ileti + + + Parametreler. + + + + + Parametreyi geçerli koşullar için denetler + + + Parametre. + + + Onaylama Adı. + + + parametre adı + + + iletisi geçersiz parametre özel durumu içindir + + + Parametreler. + + + + + Bir nesneyi güvenli bir şekilde dizeye dönüştürür, null değerleri ve null karakterleri işler. + Null değerler "(null)" değerine dönüştürülür. Null karakterler "\\0" değerine dönüştürülür. + + + Dizeye dönüştürülecek nesne. + + + Dönüştürülmüş dize. + + + + + Dize onayı. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if matches . + + + + + Birim testleri içindeki koleksiyonlarla ilişkili çeşitli koşulları test etmeye + yönelik yardımcı sınıf koleksiyonu. Test edilen koşul karşılanmazsa + bir özel durum oluşturulur. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a two or more equal elements are found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if every element in is also found in + . + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Şu parametre biçimlendirilirken kullanılacak parametre dizisi: . + + + Thrown if is equal to . + + + + + Birinci koleksiyonun ikinci koleksiyona ait bir alt küme olup + olmadığını belirler. Kümelerden biri yinelenen öğeler içeriyorsa, + öğenin alt kümedeki oluşum sayısı üst kümedeki oluşum sayısına + eşit veya bu sayıdan daha az olmalıdır. + + + Testin içinde bulunmasını beklediği koleksiyon . + + + Testin içermesini beklediği koleksiyon . + + + Şu durumda true: şunun bir alt kümesidir: + , aksi takdirde false. + + + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren bir + sözlük oluşturur. + + + İşlenecek koleksiyon. + + + Koleksiyondaki null öğe sayısı. + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren + bir sözlük. + + + + + İki koleksiyon arasında eşleşmeyen bir öğe bulur. Eşleşmeyen öğe, + beklenen koleksiyonda gerçek koleksiyondakinden farklı sayıda görünen + öğedir. Koleksiyonların, + aynı sayıda öğeye sahip null olmayan farklı başvurular olduğu + varsayılır. Bu doğrulama düzeyinden + çağıran sorumludur. Eşleşmeyen bir öğe yoksa işlev + false değerini döndürür ve dış parametreler kullanılmamalıdır. + + + Karşılaştırılacak birinci koleksiyon. + + + Karşılaştırılacak ikinci koleksiyon. + + + Şunun için beklenen oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Gerçek oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Uyumsuz öğe (null olabilir) veya uyumsuz bir + öğe yoksa null. + + + uyumsuz bir öğe bulunduysa true; aksi takdirde false. + + + + + object.Equals kullanarak nesneleri karşılaştırır + + + + + Çerçeve Özel Durumları için temel sınıf. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + Yerelleştirilmiş dizeleri aramak gibi işlemler için, türü kesin olarak belirtilmiş kaynak sınıfı. + + + + + Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. + + + + + Türü kesin olarak belirlenmiş bu kaynak sınıfını kullanan + tüm kaynak aramaları için geçerli iş parçacığının CurrentUICulture özelliğini geçersiz kılar. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Erişim dizesinde geçersiz söz dizimi var. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen koleksiyon {1} <{2}> oluşumu içeriyor. Gerçek koleksiyon {3} oluşum içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yinelenen öğe bulundu:<{1}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek değer için büyük/küçük harf kullanımı farklı:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında en fazla <{3}> fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1} ({2})>. Gerçek:<{3} ({4})>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında <{3}> değerinden büyük bir fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: <{1}> dışında bir değer bekleniyordu. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Değer türlerini AreSame() metoduna geçirmeyin. Object türüne dönüştürülen değerler hiçbir zaman aynı olmaz. AreEqual(). kullanmayı deneyin {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} başarısız oldu. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: UITestMethodAttribute özniteliğine sahip async TestMethod metodu desteklenmiyor. async ifadesini kaldırın ya da TestMethodAttribute özniteliğini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da boş. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon başvurusu da aynı koleksiyon nesnesini işaret ediyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0}({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: null. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: nesne. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesini içermiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} ({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Assert.Equals, Onaylamalar için kullanılmamalıdır. Lütfen bunun yerine Assert.AreEqual ve aşırı yüklemelerini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Koleksiyonlardaki öğe sayıları eşleşmiyor. Beklenen:<{1}>. Gerçek:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} dizinindeki öğe eşleşmiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {1} dizinindeki öğe beklenen türde değil. Beklenen tür:<{2}>. Gerçek tür:<{3}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dizeyi arar: {1} dizinindeki öğe (null). Beklenen tür:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle bitmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Geçersiz bağımsız değişken. EqualsTester null değerler kullanamaz. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} türündeki nesne {1} türüne dönüştürülemiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Başvurulan iç nesne artık geçerli değil. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} özelliği {1} türüne sahip; beklenen tür {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} Beklenen tür:<{1}>. Gerçek tür:<{2}>. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yanlış Tür:<{1}>. Gerçek tür:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: No DataRowAttribute belirtilmedi. DataTestMethodAttribute ile en az bir DataRowAttribute gereklidir. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Özel durum oluşturulmadı. {1} özel durumu bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. Değer null olamaz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Farklı sayıda öğe. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen imzaya sahip oluşturucu bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi + tanımlayan türü PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen üye ({0}) bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi tanımlayan türü + PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle başlamıyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen özel durum türü System.Exception veya System.Exception'dan türetilmiş bir tür olmalıdır. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Bir özel durum nedeniyle {0} türündeki özel durum için ileti alınamadı. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu beklenen {0} özel durumunu oluşturmadı. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu bir özel durum oluşturmadı. Test metodunda tanımlanan {0} özniteliği tarafından bir özel durum bekleniyordu. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu veya bundan türetilmiş bir tür bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {2} özel durumu oluşturuldu, ancak {1} özel durumu bekleniyordu. {0} + Özel Durum İletisi: {3} + Yığın İzleme: {4}. + + + + + birim testi sonuçları + + + + + Test yürütüldü ancak sorunlar oluştu. + Sorunlar özel durumları veya başarısız onaylamaları içerebilir. + + + + + Test tamamlandı ancak başarılı olup olmadığı belli değil. + İptal edilen testler için kullanılabilir. + + + + + Test bir sorun olmadan yürütüldü. + + + + + Test şu anda yürütülüyor. + + + + + Test yürütülmeye çalışılırken bir sistem hatası oluştu. + + + + + Test zaman aşımına uğradı. + + + + + Test, kullanıcı tarafından iptal edildi. + + + + + Test bilinmeyen bir durumda + + + + + Birim testi çerçevesi için yardımcı işlevini sağlar + + + + + Yinelemeli olarak tüm iç özel durumların iletileri dahil olmak üzere + özel durum iletilerini alır + + Şunun için iletilerin alınacağı özel durum: + hata iletisi bilgilerini içeren dize + + + + Zaman aşımları için sınıfı ile birlikte kullanılabilen sabit listesi. + Sabit listesinin türü eşleşmelidir + + + + + Sonsuz. + + + + + Test sınıfı özniteliği. + + + + + Bu testi çalıştırmayı sağlayan bir test metodu özniteliği alır. + + Bu metot üzerinde tanımlanan test metodu özniteliği örneği. + The bu testi çalıştırmak için kullanılabilir. + Extensions can override this method to customize how all methods in a class are run. + + + + Test metodu özniteliği. + + + + + Bir test metodu yürütür. + + Yürütülecek test metodu. + Testin sonuçlarını temsil eden bir TestResult nesneleri dizisi. + Extensions can override this method to customize running a TestMethod. + + + + Test başlatma özniteliği. + + + + + Test temizleme özniteliği. + + + + + Ignore özniteliği. + + + + + Test özelliği özniteliği. + + + + + sınıfının yeni bir örneğini başlatır. + + + Ad. + + + Değer. + + + + + Adı alır. + + + + + Değeri alır. + + + + + Sınıf başlatma özniteliği. + + + + + Sınıf temizleme özniteliği. + + + + + Bütünleştirilmiş kod başlatma özniteliği. + + + + + Bütünleştirilmiş kod temizleme özniteliği. + + + + + Test Sahibi + + + + + sınıfının yeni bir örneğini başlatır. + + + Sahip. + + + + + Sahibi alır. + + + + + Priority özniteliği; birim testinin önceliğini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Öncelik. + + + + + Önceliği alır. + + + + + Testin açıklaması + + + + + Bir testi açıklamak için kullanılan sınıfının yeni bir örneğini başlatır. + + Açıklama. + + + + Bir testin açıklamasını alır. + + + + + CSS Proje Yapısı URI'si + + + + + CSS Proje Yapısı URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Proje Yapısı URI'si. + + + + CSS Proje Yapısı URI'sini alır. + + + + + CSS Yineleme URI'si + + + + + CSS Yineleme URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Yineleme URI'si. + + + + CSS Yineleme URI'sini alır. + + + + + WorkItem özniteliği; bu testle ilişkili bir çalışma öğesini belirtmek için kullanılır. + + + + + WorkItem Özniteliği için sınıfının yeni bir örneğini başlatır. + + Bir iş öğesinin kimliği. + + + + İlişkili bir iş öğesinin kimliğini alır. + + + + + Timeout özniteliği; bir birim testinin zaman aşımını belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Zaman aşımı. + + + + + sınıfının önceden ayarlanmış bir zaman aşımı ile yeni bir örneğini başlatır + + + Zaman aşımı + + + + + Zaman aşımını alır. + + + + + Bağdaştırıcıya döndürülecek TestResult nesnesi. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + Sonucun görünen adını alır veya ayarlar. Birden fazla sonuç döndürürken yararlıdır. + Null ise Metot adı DisplayName olarak kullanılır. + + + + + Test yürütmesinin sonucunu alır veya ayarlar. + + + + + Test başarısız olduğunda oluşturulan özel durumu alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test koduna göre hata ayıklama izlemelerini alır veya ayarlar. + + + + + Gets or sets the debug traces by test code. + + + + + Test yürütme süresini alır veya ayarlar. + + + + + Veri kaynağındaki veri satırı dizinini alır veya ayarlar. Yalnızca, veri tabanlı bir testin tek bir veri satırının + çalıştırılmasına ait sonuçlar için ayarlayın. + + + + + Test metodunun dönüş değerini alır veya ayarlar. (Şu anda her zaman null). + + + + + Test tarafından eklenen sonuç dosyalarını alır veya ayarlar. + + + + + Veri tabanlı test için bağlantı dizesini, tablo adını ve satır erişim metodunu belirtir. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource için varsayılan sağlayıcı adı. + + + + + Varsayılan veri erişimi metodu. + + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı, bağlantı dizesi, veri tablosu ve veri kaynağına erişmek için kullanılan veri erişimi metodu ile başlatılır. + + System.Data.SqlClient gibi değişmez veri sağlayıcısı adı + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + Verilere erişme sırasını belirtir. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir bağlantı dizesi ve tablo adı ile başlatılır. + OLEDB veri kaynağına erişmek için kullanılan bağlantı dizesini ve veri tablosunu belirtin. + + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı ile ve ayar adıyla ilişkili bir bağlantı dizesi ile başlatılır. + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan veri kaynağının adı. + + + + Veri kaynağının veri sağlayıcısını temsil eden bir değer alır. + + + Veri sağlayıcısı adı. Nesne başlatılırken bir veri sağlayıcısı belirtilmemişse varsayılan System.Data.OleDb sağlayıcısı döndürülür. + + + + + Veri kaynağının bağlantı dizesini temsil eden bir değer alır. + + + + + Verileri sağlayan tablo adını belirten bir değer alır. + + + + + Veri kaynağına erişmek için kullanılan metodu alır. + + + + Bir değerlerdir. Eğer başlatılmazsa, varsayılan değeri döndürür . + + + + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan bir veri kaynağının adını alır. + + + + + Verilerin satır içi belirtilebileceği veri tabanlı testin özniteliği. + + + + + Tüm veri satırlarını bulur ve yürütür. + + + Test Yöntemi. + + + Bir . + + + + + Veri tabanlı test metodunu çalıştırır. + + Yürütülecek test yöntemi. + Veri Satırı. + Yürütme sonuçları. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..35e369620 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用于为预测试部署指定部署项(文件或目录)。 + 可在测试类或测试方法上指定。 + 可使用多个特性实例来指定多个项。 + 项路径可以是绝对路径或相对路径,如果为相对路径,则相对于 RunConfig.RelativePathRoot。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + 初始化 类的新实例。 + + 要部署的文件或目录。路径与生成输出目录相关。将项复制到与已部署测试程序集相同的目录。 + + + + 初始化 类的新实例 + + 要部署的文件或目录的相对路径或绝对路径。该路径相对于生成输出目录。将项复制到与已部署测试程序集相同的目录。 + 要将项复制到其中的目录路径。它可以是绝对部署目录或相对部署目录。所有由以下对象标识的文件和目录: 将复制到此目录。 + + + + 获取要复制的源文件或文件夹的路径。 + + + + + 获取将项复制到其中的目录路径。 + + + + + 包含节名称、属性名称、特性名称的文本。 + + + + + 配置节名称。 + + + + + Beta2 的配置节名称。保留以兼容。 + + + + + 数据源的节名称。 + + + + + "Name" 的属性名称 + + + + + "ConnectionString" 的属性名称 + + + + + "DataAccessMethod" 的属性名称 + + + + + "DataTable" 的属性名称 + + + + + 数据源元素。 + + + + + 获取或设置此配置的名称。 + + + + + 获取或设置 .config 文件 <connectionStrings> 部分中的 ConnectionStringSettings 元素。 + + + + + 获取或设置数据表的名称。 + + + + + 获取或设置数据访问的类型。 + + + + + 获取密钥名称。 + + + + + 获取配置属性。 + + + + + 数据源元素集合。 + + + + + 初始化 类的新实例。 + + + + + 返回具有指定密钥的配置元素。 + + 要返回的元素的密钥。 + 具有指定密钥的 System.Configuration.ConfigurationElement;否则,为空。 + + + + 在指定索引位置获取配置元素。 + + 要返回的 System.Configuration.ConfigurationElement 的索引位置。 + + + + 向配置元素集合添加一个配置元素。 + + 要添加的 System.Configuration.ConfigurationElement。 + + + + 从集合中删除一个 System.Configuration.ConfigurationElement。 + + . + + + + 从集合中删除一个 System.Configuration.ConfigurationElement。 + + 要删除的 System.Configuration.ConfigurationElement 的密钥。 + + + + 从集合中删所有配置元素对象。 + + + + + 创建一个新 。 + + 一个新的. + + + + 获取指定配置元素的元素密钥。 + + 返回密钥的 System.Configuration.ConfigurationElement。 + 充当指定 System.Configuration.ConfigurationElement 密钥的 System.Object。 + + + + 向配置元素集合添加一个配置元素。 + + 要添加的 System.Configuration.ConfigurationElement。 + + + + 向配置元素集合添加一个配置元素。 + + 要添加指定 System.Configuration.ConfigurationElement 的索引位置。 + 要添加的 System.Configuration.ConfigurationElement。 + + + + 支持对测试进行配置设置。 + + + + + 获取测试的配置节。 + + + + + 测试的配置节。 + + + + + 获取此配置节的数据源。 + + + + + 获取属性集合。 + + + 该 元素的属性。 + + + + + 此类表示系统中活动的非公共内部对象 + + + + + 初始化 类的新实例, + 该类包含已存在的私有类对象 + + 充当访问私有成员的起点的对象 + 非关联化字符串 using,指向要以 m_X.m_Y.m_Z 形式检索的对象 + + + + 初始化包装 + 指定类型的 类的新实例。 + + 程序集名称 + 完全限定名称 + 要传递到构造函数的参数 + + + + 初始化包装 + 指定类型的 类的新实例。 + + 程序集名称 + 完全限定名称 + 表示供方法调用的 表示供构造函数获取的参数编号、顺序和类型的对象 + 要传递到构造函数的参数 + + + + 初始化包装 + 指定类型的 类的新实例。 + + 要创建的对象的类型 + 要传递到构造函数的参数 + + + + 初始化包装 + 指定类型的 类的新实例。 + + 要创建的对象的类型 + 表示供方法调用的 表示供构造函数获取的参数编号、顺序和类型的对象 + 要传递到构造函数的参数 + + + + 初始化包装 + 给定对象的 类的新实例。 + + 要包装的对象 + + + + 初始化包装 + 给定对象的 类的新实例。 + + 要包装的对象 + PrivateType 对象 + + + + 获取或设置目标 + + + + + 获取基础对象的类型 + + + + + 返回目标对象的哈希代码 + + 表示目标对象的哈希代码的 int + + + + 等于 + + 要与其比较的对象 + 如果对象相等,则返回 true。 + + + + 调用指定方法 + + 方法名称 + 要传递到成员以调用的参数。 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 表示供方法调用的 表示供方法获取的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 表示供方法调用的 表示供方法获取的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 与泛型参数的类型对应的类型数组。 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 要传递到成员以调用的参数。 + 区域性信息 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 表示供方法调用的 表示供方法获取的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 区域性信息 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要传递到成员以调用的参数。 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 表示供方法调用的 表示供方法获取的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要传递到成员以调用的参数。 + 区域性信息 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 表示供方法调用的 表示供方法获取的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 区域性信息 + 方法调用的结果 + + + + 调用指定方法 + + 方法名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 表示供方法调用的 表示供方法获取的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 区域性信息 + 与泛型参数的类型对应的类型数组。 + 方法调用的结果 + + + + 使用每个维度的子脚本数组获取数组元素 + + 成员名称 + 数组的索引 + 元素数组。 + + + + 使用每个维度的子脚本数组设置数组元素 + + 成员名称 + 要设置的值 + 数组的索引 + + + + 使用每个维度的子脚本数组获取数组元素 + + 成员名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 数组的索引 + 元素数组。 + + + + 使用每个维度的子脚本数组设置数组元素 + + 成员名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要设置的值 + 数组的索引 + + + + 获取字段 + + 字段名称 + 字段。 + + + + 设置字段 + + 字段名称 + 要设置的值 + + + + 获取字段 + + 字段名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 字段。 + + + + 设置字段 + + 字段名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要设置的值 + + + + 获取字段或属性 + + 字段或属性的名称 + 字段或属性。 + + + + 设置字段或属性 + + 字段或属性的名称 + 要设置的值 + + + + 获取字段或属性 + + 字段或属性的名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 字段或属性。 + + + + 设置字段或属性 + + 字段或属性的名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要设置的值 + + + + 获取属性 + + 属性名称 + 要传递到成员以调用的参数。 + 属性。 + + + + 获取属性 + + 属性名称 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 属性。 + + + + 设置属性 + + 属性名称 + 要设置的值 + 要传递到成员以调用的参数。 + + + + 设置属性 + + 属性名称 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要设置的值 + 要传递到成员以调用的参数。 + + + + 获取属性 + + 属性名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要传递到成员以调用的参数。 + 属性。 + + + + 获取属性 + + 属性名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 属性。 + + + + 设置属性 + + 属性名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要设置的值 + 要传递到成员以调用的参数。 + + + + 设置属性 + + 属性名称 + 由一个或多个以下对象组成的位掩码: 指定如何执行搜索。 + 要设置的值 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + + + + 验证访问字符串 + + 访问字符串 + + + + 调用成员 + + 成员名称 + 其他特性 + 调用的参数 + 区域性 + 调用的结果 + + + + 从当前私有类型中提取最合适的泛型方法签名。 + + 要在其中搜索签名缓存的方法的名称。 + 与要在其中进行搜索的参数类型对应的类型数组。 + 与泛型参数的类型对应的类型数组。 + 以进一步筛选方法签名。 + 参数的修饰符。 + methodinfo 实例。 + + + + 此类表示专用访问器功能的私有类。 + + + + + 绑定到所有内容 + + + + + 包装的类型。 + + + + + 初始化包含私有类型的 类的新实例。 + + 程序集名称 + 其完全限定的名称 + + + + 初始化 类的新实例, + 该类包含类型对象中的 + 私有类型 + 要创建的包装类型。 + + + + 获取引用的类型 + + + + + 调用静态成员 + + InvokeHelper 的成员的名称 + 调用的参数 + 调用的结果 + + + + 调用静态成员 + + InvokeHelper 的成员的名称 + 表示供方法调用的参数编号、顺序和类型的对象数组 + 调用的参数 + 调用的结果 + + + + 调用静态成员 + + InvokeHelper 的成员的名称 + 表示供方法调用的参数编号、顺序和类型的对象数组 + 调用的参数 + 与泛型参数的类型对应的类型数组。 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 调用的参数 + 区域性 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 表示供方法调用的参数编号、顺序和类型的对象数组 + 调用的参数 + 区域性信息 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 其他调用特性 + 调用的参数 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 其他调用特性 + 表示供方法调用的参数编号、顺序和类型的对象数组 + 调用的参数 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 其他调用特性 + 调用的参数 + 区域性 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 其他调用特性 + /// 表示供方法调用的参数编号、顺序和类型的对象数组 + 调用的参数 + 区域性 + 调用的结果 + + + + 调用静态方法 + + 成员名称 + 其他调用特性 + /// 表示供方法调用的参数编号、顺序和类型的对象数组 + 调用的参数 + 区域性 + 与泛型参数的类型对应的类型数组。 + 调用的结果 + + + + 获取静态数组中的元素 + + 数组名称 + + 一个 32 位整数的一维数组,表示指定要获取的 + 元素位置的索引。例如,要访问 a[10][11],则索引为 {10,11} + + 指定位置处的元素 + + + + 设置静态数组的成员 + + 数组名称 + 要设置的值 + + 一个 32 位整数的一维数组,表示指定要设置的 + 元素位置的索引。例如,要访问 a[10][11],则数组为 {10,11} + + + + + 获取静态数组中的元素 + + 数组名称 + 其他 InvokeHelper 特性 + + 一个 32 位整数的一维数组,表示指定要获取的 + 元素位置的索引。例如,要访问 a[10][11],则数组为 {10,11} + + 指定位置处的元素 + + + + 设置静态数组的成员 + + 数组名称 + 其他 InvokeHelper 特性 + 要设置的值 + + 一个 32 位整数的一维数组,表示指定要设置的 + 元素位置的索引。例如,要访问 a[10][11],则数组为 {10,11} + + + + + 获取静态字段 + + 字段名称 + 静态字段。 + + + + 设置静态字段 + + 字段名称 + 调用的参数 + + + + 使用指定的 InvokeHelper 属性获取静态字段 + + 字段名称 + 其他调用特性 + 静态字段。 + + + + 使用绑定属性设置静态字段 + + 字段名称 + 其他 InvokeHelper 特性 + 调用的参数 + + + + 获取静态字段或属性 + + 字段或属性的名称 + 静态字段或属性。 + + + + 设置静态字段或属性 + + 字段或属性的名称 + 要设置到字段或属性的值 + + + + 使用指定的 InvokeHelper 属性获取静态字段或属性 + + 字段或属性的名称 + 其他调用特性 + 静态字段或属性。 + + + + 使用绑定属性设置静态字段或属性 + + 字段或属性的名称 + 其他调用特性 + 要设置到字段或属性的值 + + + + 获取静态属性 + + 字段或属性的名称 + 调用的参数 + 静态属性。 + + + + 设置静态属性 + + 属性名称 + 要设置到字段或属性的值 + 要传递到成员以调用的参数。 + + + + 设置静态属性 + + 属性名称 + 要设置到字段或属性的值 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + + + + 获取静态属性 + + 属性名称 + 其他调用特性。 + 要传递到成员以调用的参数。 + 静态属性。 + + + + 获取静态属性 + + 属性名称 + 其他调用特性。 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + 静态属性。 + + + + 设置静态属性 + + 属性名称 + 其他调用特性。 + 要设置到字段或属性的值 + 索引属性的可选索引值。索引属性的索引以零为基础。对于非索引属性此值应为 null。 + + + + 设置静态属性 + + 属性名称 + 其他调用特性。 + 要设置到字段或属性的值 + 表示供方法调用的 表示索引属性的参数编号、顺序和类型的对象。 + 要传递到成员以调用的参数。 + + + + 调用静态方法 + + 成员名称 + 其他调用特性 + 调用的参数 + 区域性 + 调用的结果 + + + + 为泛型方法提供方法签名发现。 + + + + + 比较这两种方法的方法签名。 + + Method1 + Method2 + 如果相似则为 true。 + + + + 从所提供类型的基类型获取层次结构深度。 + + 类型。 + 深度。 + + + + 通过提供的信息查找高度派生的类型。 + + 候选匹配。 + 匹配数。 + 派生程度最高的方法。 + + + + 如果给定了一组与基础条件匹配的方法,则基于 + 类型数组选择一个方法。如果没有方法与条件匹配,此方法应 + 返回 null。 + + 绑定规范。 + 候选匹配 + 类型 + 参数修饰符。 + 匹配方法。如无匹配则为 null。 + + + + 在提供的两种方法中找到最具有针对性的方法。 + + 方法 1 + 方法 1 的参数顺序 + 参数数组类型。 + 方法 2 + 方法 2 的参数顺序 + >Paramter 数组类型。 + 要在其中进行搜索的类型。 + 参数。 + 表示匹配的 int。 + + + + 在提供的两种方法中找到最具有针对性的方法。 + + 方法 1 + 方法 1 的参数顺序 + 参数数组类型。 + 方法 2 + 方法 2 的参数顺序 + >参数数组类型。 + 要在其中进行搜索的类型。 + 参数。 + 表示匹配的 int。 + + + + 在提供的两种类型中找到一种最具针对性的类型。 + + 类型 1 + 类型 2 + 定义类型 + 表示匹配的 int。 + + + + 用于存储提供给单元测试的信息。 + + + + + 获取测试的测试属性。 + + + + + 测试用于数据驱动测试时获取当前数据行。 + + + + + 测试用于数据驱动测试时获取当前数据连接行。 + + + + + 获取测试运行的基目录,该目录下存储有部署文件和结果文件。 + + + + + 获取为测试运行部署的文件的目录。通常是 的子目录。 + + + + + 获取测试运行结果的基目录。通常是 的子目录。 + + + + + 获取测试运行结果文件的目录。通常为 的子目录。 + + + + + 获取测试结果文件的目录。 + + + + + 获取测试运行的基目录,该目录下存储有部署的文件和结果文件。 + 与 相同。请改用该属性。 + + + + + 获取为测试运行部署的文件的目录。通常为 的子目录。 + 与 相同。请改用该属性。 + + + + + 获取测试运行结果文件的目录。通常为 的子目录。 + 与 相同。请改用测试运行结果文件的该属性,或使用特定测试结果文件的 + 。 + + + + + 获取包含当前正在执行的测试方法的类的完全限定名称 + + + + + 获取当前正在执行的测试方法的名称 + + + + + 获取当前测试结果。 + + + + + 用于在测试运行时写入跟踪消息 + + 格式化消息字符串 + + + + 用于在测试运行时写入跟踪消息 + + 格式字符串 + 参数 + + + + 将文件名添加到 TestResult.ResultFileNames 中的列表 + + + 文件名。 + + + + + 启动具有指定名称的计时器 + + 计时器名称。 + + + + 终止具有指定名称的计时器 + + 计时器名称。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..0ccce3fa9 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用于执行的 TestMethod。 + + + + + 获取测试方法的名称。 + + + + + 获取测试类的名称。 + + + + + 获取测试方法的返回类型。 + + + + + 获取测试方法的参数。 + + + + + 获取测试方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 调用测试方法。 + + + 传递到测试方法的参数(例如,对于数据驱动) + + + 测试方法调用的结果。 + + + This call handles asynchronous test methods as well. + + + + + 获取测试方法的所有属性。 + + + 父类中定义的任何属性都有效。 + + + 所有特性。 + + + + + 获取特定类型的属性。 + + System.Attribute type. + + 父类中定义的任何属性都有效。 + + + 指定类型的属性。 + + + + + 帮助程序。 + + + + + 非 null 的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws argument null exception when parameter is null. + + + + 不为 null 或不为空的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws ArgumentException when parameter is null. + + + + 枚举在数据驱动测试中访问数据行的方式。 + + + + + 按连续顺序返回行。 + + + + + 按随机顺序返回行。 + + + + + 用于定义测试方法内联数据的属性。 + + + + + 初始化 类的新实例。 + + 数据对象。 + + + + 初始化采用参数数组的 类的新实例。 + + 一个数据对象。 + 更多数据。 + + + + 获取数据以调用测试方法。 + + + + + 在测试结果中为自定义获取或设置显示名称。 + + + + + 断言无结论异常。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + InternalTestFailureException 类。用来指示测试用例的内部错误 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 类的新实例。 + + 异常消息。 + 异常。 + + + + 初始化 类的新实例。 + + 异常消息。 + + + + 初始化 类的新实例。 + + + + + 指定引发指定类型异常的属性 + + + + + 初始化含有预期类型的 类的新实例 + + 预期异常的类型 + + + + 初始化 类的新实例, + 测试未引发异常时,该类中会包含预期类型和消息。 + + 预期异常的类型 + + 测试由于未引发异常而失败时测试结果中要包含的消息 + + + + + 获取指示预期异常类型的值 + + + + + 获取或设置一个值,指示是否允许将派生自预期异常类型的类型 + 作为预期类型 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 验证由单元测试引发的异常类型是否为预期类型 + + 由单元测试引发的异常 + + + + 指定应从单元测试引发异常的属性基类 + + + + + 初始化含有默认无异常消息的 类的新实例 + + + + + 初始化含有一条无异常消息的 类的新实例 + + + 测试由于未引发异常而失败时测试结果中要包含的 + 消息 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 获取默认无异常消息 + + ExpectedException 特性类型名称 + 默认非异常消息 + + + + 确定该异常是否为预期异常。如果返回了方法,则表示 + 该异常为预期异常。如果方法引发异常,则表示 + 该异常不是预期异常,且引发的异常消息 + 包含在测试结果中。为了方便, + 可使用 类。如果使用了 且断言失败, + 则表示测试结果设置为了“无结论”。 + + 由单元测试引发的异常 + + + + 如果异常为 AssertFailedException 或 AssertInconclusiveException,则再次引发该异常 + + 如果是断言异常则要重新引发的异常 + + + + 此类旨在帮助用户使用泛型类型为类型执行单元测试。 + GenericParameterHelper 满足某些常见的泛型类型限制, + 如: + 1.公共默认构造函数 + 2.实现公共接口: IComparable,IEnumerable + + + + + 初始化 类的新实例, + 该类满足 C# 泛型中的“可续订”约束。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 类的新实例, + 该类将数据属性初始化为用户提供的值。 + + 任意整数值 + + + + 获取或设置数据 + + + + + 比较两个 GenericParameterHelper 对象的值 + + 要进行比较的对象 + 如果 obj 与“此”GenericParameterHelper 对象具有相同的值,则为 true。 + 反之则为 false。 + + + + 为此对象返回哈希代码。 + + 哈希代码。 + + + + 比较两个 对象的数据。 + + 要比较的对象。 + + 有符号的数字表示此实例和值的相对值。 + + + Thrown when the object passed in is not an instance of . + + + + + 返回一个 IEnumerator 对象,该对象的长度派生自 + 数据属性。 + + IEnumerator 对象 + + + + 返回与当前对象相同的 GenericParameterHelper + 对象。 + + 克隆对象。 + + + + 允许用户记录/编写单元测试的跟踪以进行诊断。 + + + + + 用于 LogMessage 的处理程序。 + + 要记录的消息。 + + + + 要侦听的事件。单元测试编写器编写某些消息时引发。 + 主要供适配器使用。 + + + + + 测试编写器要将其调用到日志消息的 API。 + + 带占位符的字符串格式。 + 占位符的参数。 + + + + TestCategory 属性;用于指定单元测试的分类。 + + + + + 初始化 类的新实例并将分类应用到该测试。 + + + 测试类别。 + + + + + 获取已应用到测试的测试类别。 + + + + + "Category" 属性的基类 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 类的新实例。 + 将分类应用到测试。TestCategories 返回的字符串 + 与 /category 命令一起使用,以筛选测试 + + + + + 获取已应用到测试的测试分类。 + + + + + AssertFailedException 类。用于指示测试用例失败 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + 帮助程序类的集合,用于测试单元测试中 + 的各种条件。如果不满足被测条件,则引发 + 一个异常。 + + + + + 获取 Assert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is false. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is true. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null. + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if refers to the same object + as . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is not equal to . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 引发 AssertFailedException。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 静态相等重载用于比较两种类型实例的引用 + 相等。此方法应用于比较两个实例的 + 相等。此对象始终会引发 Assert.Fail。请在单元测试中使用 + Assert.AreEqual 和关联的重载。 + + 对象 A + 对象 B + 始终为 False。 + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + + 在格式化时使用的参数数组 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 将 null 字符("\0")替换为 "\\0"。 + + + 要搜索的字符串。 + + + 其中 null 字符替换为 "\\0" 的转换字符串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 用于创建和引发 AssertionFailedException 的帮助程序函数 + + + 引发异常的断言名称 + + + 描述断言失败条件的消息 + + + 参数。 + + + + + 检查有效条件的参数 + + + 参数。 + + + 断言名称。 + + + 参数名称 + + + 无效参数异常的消息 + + + 参数。 + + + + + 将对象安全地转换为字符串,处理 null 值和 null 字符。 + 将 null 值转换为 "(null)"。将 null 字符转换为 "\\0"。 + + + 要转换为字符串的对象。 + + + 转换的字符串。 + + + + + 字符串断言。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not begin with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not end with + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not match + . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if matches . + + + + + 帮助程序类的集合,用于测试与单元测试内的集合相关联的 + 多种条件。如果不满足被测条件, + 则引发一个异常。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is found in + . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a null element is found in . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if every element in is also found in + . + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组。 + + + Thrown if is equal to . + + + + + 确定第一个集合是否为第二个 + 集合的子集。如果任一集合包含重复元素,则子集中元素 + 出现的次数必须小于或 + 等于在超集中元素出现的次数。 + + + 测试预期包含在以下对象中的集合: 。 + + + 测试预期要包含的集合 。 + + + 为 True,如果 是一个子集 + ,反之则为 False。 + + + + + 构造包含指定集合中每个元素的出现次数 + 的字典。 + + + 要处理的集合。 + + + 集合中 null 元素的数量。 + + + 包含指定集合中每个元素的发生次数 + 的字典。 + + + + + 在两个集合之间查找不匹配的元素。不匹配的元素是指 + 在预期集合中显示的次数与 + 在实际集合中显示的次数不相同的元素。假定 + 集合是具有相同元素数目 + 的不同非 null 引用。 调用方负责此级别的验证。 + 如果存在不匹配的元素,函数将返回 + false,并且不会使用 out 参数。 + + + 要比较的第一个集合。 + + + 要比较的第二个集合。 + + + 预期出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 实际出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 不匹配元素(可能为 null),或者如果没有不匹配元素, + 则为 null。 + + + 如果找到不匹配的元素,则为 True;反之则为 False。 + + + + + 使用 Object.Equals 比较对象 + + + + + 框架异常的基类。 + + + + + 初始化 类的新实例。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 一个强类型资源类,用于查找已本地化的字符串等。 + + + + + 返回此类使用的缓存的 ResourceManager 实例。 + + + + + 使用此强类型资源类为所有资源查找替代 + 当前线程的 CurrentUICulture 属性。 + + + + + 查找类似于“访问字符串具有无效语法。”的已本地化字符串。 + + + + + 查找类似于“预期集合包含 {1} 个 <{2}> 的匹配项。实际集合包含 {3} 个匹配项。{0}”的已本地化字符串。 + + + + + 查找类似于“找到了重复项: <{1}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际值的大小写有所不同: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应不大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1} ({2})>。实际为: <{3} ({4})>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为除 <{1}>外的任何值。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“不要向 AreSame() 传递值类型。转换为对象的值永远不会相同。请考虑使用 AreEqual()。{0}”的已本地化字符串。 + + + + + 查找类似于“{0} 失败。{1}”的已本地化字符串。 + + + + + 查找类似于“不支持具有 UITestMethodAttribute 的异步 TestMethod。请删除异步或使用 TestMethodAttribute。” 的已本地化字符串。 + + + + + 查找类似于“这两个集合都为空。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同元素。”的已本地化字符串。 + + + + + 查找类似于“这两个集合引用指向同一个集合对象。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同的元素。{0}”的已本地化字符串。 + + + + + 查找类似于“{0}({1})”的已本地化字符串。 + + + + + 查找类似于 "(null)" 的已本地化字符串。 + + + + + 查找类似于“(对象)”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不包含字符串“{1}”。{2}。”的已本地化字符串。 + + + + + 查找类似于“{0} ({1})”的已本地化字符串。 + + + + + 查找类似于“Assert.Equals 不应用于断言。请改用 Assert.AreEqual 和重载。”的已本地化字符串。 + + + + + 查找类似于“集合中的元素数目不匹配。预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {0} 处的元素不匹配。”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素不是预期类型。预期类型为: <{2}>。实际类型为: <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素为 (null)。预期类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”结尾。{2}。”的已本地化字符串。 + + + + + 查找类似于“参数无效 - EqualsTester 不能使用 null。”的已本地化字符串。 + + + + + 查找类似于“无法将类型 {0} 的对象转换为 {1}。”的本地化字符串。 + + + + + 查找类似于“引用的内部对象不再有效。”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。{1}。”的已本地化字符串。 + + + + + 查找类似于“属性 {0} 具有类型 {1};预期类型为 {2}。”的已本地化字符串。 + + + + + 查找类似于“{0} 预期类型: <{1}>。实际类型: <{2}>。”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”不匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“错误类型: <{1}>。实际类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“未指定 DataRowAttribute。DataTestMethodAttribute 至少需要一个 DataRowAttribute。”的已本地化字符串。 + + + + + 查找类似于“未引发异常。预期为 {1} 异常。{0}”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。值不能为 null。{1}。”的已本地化字符串。 + + + + + 查找类似于“不同元素数。”的已本地化字符串。 + + + + + 查找类似于 + “找不到具有指定签名的构造函数。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型传递到 + PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于 + “找不到指定成员({0})。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型 + 传递到 PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”开头。{2}。”的已本地化字符串。 + + + + + 查找类似于“预期异常类型必须是 System.Exception 或派生自 System.Exception 的类型。”的已本地化字符串。 + + + + + 查找类似于“(由于出现异常,未能获取 {0} 类型异常的消息。)”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发预期异常 {0}。{1}”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发异常。预期测试方法上定义的属性 {0} 会引发异常。”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1}。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1} 或从其派生的类型。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“引发异常 {2},但预期为异常 {1}。{0} + 异常消息: {3} + 堆栈跟踪: {4}”的已本地化字符串。 + + + + + 单元测试结果 + + + + + 测试已执行,但出现问题。 + 问题可能涉及异常或失败的断言。 + + + + + 测试已完成,但无法确定它是已通过还是失败。 + 可用于已中止的测试。 + + + + + 测试已执行,未出现任何问题。 + + + + + 当前正在执行测试。 + + + + + 尝试执行测试时出现了系统错误。 + + + + + 测试已超时。 + + + + + 用户中止了测试。 + + + + + 测试处于未知状态 + + + + + 为单元测试框架提供帮助程序功能 + + + + + 以递归方式获取包括所有内部异常消息在内的 + 异常消息 + + 获取消息的异常 + 包含错误消息信息的字符串 + + + + 超时枚举,可与 类共同使用。 + 枚举类型必须相符 + + + + + 无限。 + + + + + 测试类属性。 + + + + + 获取可运行此测试的测试方法属性。 + + 在此方法上定义的测试方法属性实例。 + 将用于运行此测试。 + Extensions can override this method to customize how all methods in a class are run. + + + + 测试方法属性。 + + + + + 执行测试方法。 + + 要执行的测试方法。 + 表示测试结果的 TestResult 对象数组。 + Extensions can override this method to customize running a TestMethod. + + + + 测试初始化属性。 + + + + + 测试清理属性。 + + + + + 忽略属性。 + + + + + 测试属性特性。 + + + + + 初始化 类的新实例。 + + + 名称。 + + + 值。 + + + + + 获取名称。 + + + + + 获取值。 + + + + + 类初始化属性。 + + + + + 类清理属性。 + + + + + 程序集初始化属性。 + + + + + 程序集清理属性。 + + + + + 测试所有者 + + + + + 初始化 类的新实例。 + + + 所有者。 + + + + + 获取所有者。 + + + + + 优先级属性;用于指定单元测试的优先级。 + + + + + 初始化 类的新实例。 + + + 属性。 + + + + + 获取属性。 + + + + + 测试的描述 + + + + + 初始化 类的新实例,描述测试。 + + 说明。 + + + + 获取测试的说明。 + + + + + CSS 项目结构 URI + + + + + 为 CSS 项目结构 URI 初始化 类的新实例。 + + CSS 项目结构 URI。 + + + + 获取 CSS 项目结构 URI。 + + + + + CSS 迭代 URI + + + + + 为 CSS 迭代 URI 初始化 类的新实例。 + + CSS 迭代 URI。 + + + + 获取 CSS 迭代 URI。 + + + + + 工作项属性;用来指定与此测试关联的工作项。 + + + + + 为工作项属性初始化 类的新实例。 + + 工作项的 ID。 + + + + 获取关联工作项的 ID。 + + + + + 超时属性;用于指定单元测试的超时。 + + + + + 初始化 类的新实例。 + + + 超时。 + + + + + 初始化含有预设超时的 类的新实例 + + + 超时 + + + + + 获取超时。 + + + + + 要返回到适配器的 TestResult 对象。 + + + + + 初始化 类的新实例。 + + + + + 获取或设置结果的显示名称。这在返回多个结果时很有用。 + 如果为 null,则表示方法名用作了 DisplayName。 + + + + + 获取或设置测试执行的结果。 + + + + + 获取或设置测试失败时引发的异常。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 通过测试代码获取或设置调试跟踪。 + + + + + Gets or sets the debug traces by test code. + + + + + 获取或设置测试执行的持续时间。 + + + + + 获取或设置数据源中的数据行索引。仅对数据驱动测试的数据行单次运行结果 + 进行设置。 + + + + + 获取或设置测试方法的返回值。(当前始终为 null)。 + + + + + 获取或设置测试附加的结果文件。 + + + + + 为数据驱动测试指定连接字符串、表名和行访问方法。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource 的默认提供程序名称。 + + + + + 默认数据访问方法。 + + + + + 初始化 类的新实例。将使用数据提供程序、连接字符串、数据表和访问数据源的数据访问方法初始化此实例。 + + 不变的数据提供程序名称,例如 System.Data.SqlClient + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + 指定访问数据的顺序。 + + + + 初始化 类的新实例。将使用连接字符串和表名初始化此实例。 + 指定连接字符串和数据表,访问 OLEDB 数据源。 + + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + + + + 初始化 类的新实例。将使用数据提供程序和与设置名称关联的连接字符串初始化此实例。 + + 在 app.config 文件中 <microsoft.visualstudio.qualitytools> 部分找到的数据源的名称。 + + + + 获取表示数据源的数据提供程序的值。 + + + 数据提供程序名称。如果数据提供程序未在对象初始化时进行指定,则将返回 System.Data.OleDb 的默认提供程序。 + + + + + 获取表示数据源的连接字符串的值。 + + + + + 获取指示提供数据的表名的值。 + + + + + 获取用于访问数据源的方法。 + + + + 其中一个 值。如果 未初始化,这将返回默认值。 + + + + + 获取 app.config 文件的 <microsoft.visualstudio.qualitytools> 部分中找到的数据源的名称。 + + + + + 可在其中将数据指定为内联的数据驱动测试的属性。 + + + + + 查找所有数据行并执行。 + + + 测试方法。 + + + 一系列。 + + + + + 运行数据驱动测试方法。 + + 要执行的测试方法。 + 数据行。 + 执行的结果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..2d6cc3739 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,1097 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用來指定每個測試部署的部署項目 (檔案或目錄)。 + 可以指定於測試類別或測試方法。 + 可以有屬性的多個執行個體來指定多個項目。 + 項目路徑可以是相對或絕對路徑,如果是相對路徑,則是 RunConfig.RelativePathRoot 的相對路徑。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + 初始化 類別的新執行個體。 + + 要部署的檔案或目錄。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + + + + 初始化 類別的新執行個體 + + 要部署之檔案或目錄的相對或絕對路徑。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + 要將項目複製到其中之目錄的路徑。它可以是部署目錄的絕對或相對路徑。下者所識別的所有檔案和目錄: 將會複製到這個目錄中。 + + + + 取得要複製之來源檔案或資料夾的路徑。 + + + + + 取得要將項目複製到其中之目錄的路徑。 + + + + + 包含區段、屬性 (property)、屬性 (attribute) 名稱的常值。 + + + + + 組態區段名稱。 + + + + + Beta2 的組態區段名稱。為相容性而保留。 + + + + + 資料來源的區段名稱。 + + + + + 'Name' 的屬性名稱 + + + + + 'ConnectionString' 的屬性名稱 + + + + + 'DataAccessMethod' 的屬性名稱 + + + + + 'DataTable' 的屬性名稱 + + + + + 資料來源元素。 + + + + + 取得或設定此組態的名稱。 + + + + + 取得或設定 .config 檔 <connectionStrings> 區段的 ConnectionStringSettings 元素。 + + + + + 取得或設定運算列表的名稱。 + + + + + 取得或設定資料存取的類型。 + + + + + 取得金鑰名稱。 + + + + + 取得組態屬性。 + + + + + 資料來源元素集合。 + + + + + 初始化 類別的新執行個體。 + + + + + 傳回具有指定索引鍵的組態元素。 + + 要傳回之元素的索引鍵。 + 具有指定索引鍵的 System.Configuration.ConfigurationElement; 否則為 null。 + + + + 取得位在指定索引位置的組態元素。 + + 要傳回之 System.Configuration.ConfigurationElement 的索引位置。 + + + + 將組態元素新增至組態元素集合。 + + 要新增的 System.Configuration.ConfigurationElement。 + + + + 從集合移除 System.Configuration.ConfigurationElement。 + + 。 + + + + 從集合移除 System.Configuration.ConfigurationElement。 + + 要移除之 System.Configuration.ConfigurationElement 的索引鍵。 + + + + 從集合移除所有組態元素物件。 + + + + + 建立新的 。 + + 新的 + + + + 取得指定組態元素的元素索引鍵。 + + 要為其傳回索引鍵的 System.Configuration.ConfigurationElement。 + 用作指定 System.Configuration.ConfigurationElement 之索引鍵的 System.Object。 + + + + 將組態元素新增至組態元素集合。 + + 要新增的 System.Configuration.ConfigurationElement。 + + + + 將組態元素新增至組態元素集合。 + + 要新增指定 System.Configuration.ConfigurationElement 的索引位置。 + 要新增的 System.Configuration.ConfigurationElement。 + + + + 支援測試的組態設定。 + + + + + 取得測試的組態區段。 + + + + + 測試的組態區段。 + + + + + 取得此組態區段的資料來源。 + + + + + 取得屬性集合。 + + + (屬於元素的屬性)。 + + + + + 這個類別代表系統中的即時非公用 INTERNAL 物件 + + + + + 初始化 類別 (內含 + 私用類別的現有物件) 的新執行個體 + + 作為連絡 Private 成員之起點的物件 + 使用 . 的取值字串,指向要以 m_X.m_Y.m_Z 形式擷取的物件 + + + + 初始化 類別 (其包裝 + 指定的類型) 的新執行個體。 + + 組件的名稱 + 完整名稱 + 要傳遞給建構函式的引數 + + + + 初始化 類別 (其包裝 + 指定的類型) 的新執行個體。 + + 組件的名稱 + 完整名稱 + 物件陣列, 物件陣列,代表要取得之建構函式的參數數目、順序和類型 + 要傳遞給建構函式的引數 + + + + 初始化 類別 (其包裝 + 指定的類型) 的新執行個體。 + + 要建立的物件類型 + 要傳遞給建構函式的引數 + + + + 初始化 類別 (其包裝 + 指定的類型) 的新執行個體。 + + 要建立的物件類型 + 物件陣列, 物件陣列,代表要取得之建構函式的參數數目、順序和類型 + 要傳遞給建構函式的引數 + + + + 初始化 類別 (其包裝 + 給定的物件) 的新執行個體。 + + 要包裝的物件 + + + + 初始化 類別 (其包裝 + 給定的物件) 的新執行個體。 + + 要包裝的物件 + PrivateType 物件 + + + + 取得或設定目標 + + + + + 取得基礎物件的類型 + + + + + 傳回目標物件的雜湊碼 + + int,代表目標物件的雜湊碼 + + + + 等於 + + 要與之比較的物件 + 若物件相等則傳回 true。 + + + + 叫用指定的方法 + + 方法的名稱 + 要傳遞給要叫用之成員的引數。 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 物件陣列, 物件陣列,代表要取得之方法的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 物件陣列, 物件陣列,代表要取得之方法的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 對應至泛型引數類型的類型陣列。 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 要傳遞給要叫用之成員的引數。 + 文化特性 (Culture) 資訊 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 物件陣列, 物件陣列,代表要取得之方法的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 文化特性 (Culture) 資訊 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要傳遞給要叫用之成員的引數。 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 物件陣列, 物件陣列,代表要取得之方法的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要傳遞給要叫用之成員的引數。 + 文化特性 (Culture) 資訊 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 物件陣列, 物件陣列,代表要取得之方法的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 文化特性 (Culture) 資訊 + 方法呼叫結果 + + + + 叫用指定的方法 + + 方法名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 物件陣列, 物件陣列,代表要取得之方法的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 文化特性 (Culture) 資訊 + 對應至泛型引數類型的類型陣列。 + 方法呼叫結果 + + + + 取得使用每個維度的下標陣列的陣列元素 + + 成員的名稱 + 陣列索引 + 元素陣列。 + + + + 設定使用每個維度的下標陣列的陣列元素 + + 成員的名稱 + 要設定的值 + 陣列索引 + + + + 取得使用每個維度的下標陣列的陣列元素 + + 成員的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 陣列索引 + 元素陣列。 + + + + 設定使用每個維度的下標陣列的陣列元素 + + 成員的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要設定的值 + 陣列索引 + + + + 取得欄位 + + 欄位的名稱 + 欄位。 + + + + 設定欄位 + + 欄位的名稱 + 要設定的值 + + + + 取得欄位 + + 欄位的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 欄位。 + + + + 設定欄位 + + 欄位的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要設定的值 + + + + 取得欄位或屬性 + + 欄位或屬性名稱 + 欄位或屬性。 + + + + 設定欄位或屬性 + + 欄位或屬性名稱 + 要設定的值 + + + + 取得欄位或屬性 + + 欄位或屬性名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 欄位或屬性。 + + + + 設定欄位或屬性 + + 欄位或屬性名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要設定的值 + + + + 取得屬性 + + 屬性名稱 + 要傳遞給要叫用之成員的引數。 + 屬性。 + + + + 取得屬性 + + 屬性名稱 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 屬性。 + + + + 設定屬性 + + 屬性名稱 + 要設定的值 + 要傳遞給要叫用之成員的引數。 + + + + 設定屬性 + + 屬性名稱 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要設定的值 + 要傳遞給要叫用之成員的引數。 + + + + 取得屬性 + + 屬性的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要傳遞給要叫用之成員的引數。 + 屬性。 + + + + 取得屬性 + + 屬性的名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 屬性。 + + + + 設定屬性 + + 屬性名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要設定的值 + 要傳遞給要叫用之成員的引數。 + + + + 設定屬性 + + 屬性名稱 + 位元遮罩包含一或多個物件 ,這些物件指定如何進行搜尋。 + 要設定的值 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + + + + 驗證存取字串 + + 存取字串 + + + + 叫用成員 + + 成員的名稱 + 其他屬性 + 引動過程的引數 + 文化特性 (Culture) + 引動過程結果 + + + + 從目前私用類型中擷取最適當的泛型方法簽章。 + + 要在其中搜尋簽章快取的方法名稱。 + 對應至要在其中進行搜尋之參數類型的類型陣列。 + 對應至泛型引數類型的類型陣列。 + 進一步篩選方法簽章。 + 參數的修飾詞。 + methodinfo 執行個體。 + + + + 此類別代表私用存取子功能的私用類別。 + + + + + 繫結至所有項目 + + + + + 包裝的類型。 + + + + + 初始化 類別 (其內含私人類型) 的新執行個體。 + + 組件名稱 + 下列項目的完整名稱: + + + + 初始化 類別 (內含 + 類型物件的私用類型) 的新執行個體 + + 要建立的已包裝「類型」。 + + + + 取得參考的類型 + + + + + 叫用靜態成員 + + InvokeHelper 的成員名稱 + 引動過程的引數 + 引動過程結果 + + + + 叫用靜態成員 + + InvokeHelper 的成員名稱 + 物件陣列, 代表要叫用之方法的參數數目、順序和類型 + 引動過程的引數 + 引動過程結果 + + + + 叫用靜態成員 + + InvokeHelper 的成員名稱 + 物件陣列, 代表要叫用之方法的參數數目、順序和類型 + 引動過程的引數 + 對應至泛型引數類型的類型陣列。 + 引動過程結果 + + + + 叫用靜態方法 + + 成員的名稱 + 引動過程的引數 + 文化特性 (Culture) + 引動過程結果 + + + + 叫用靜態方法 + + 成員的名稱 + 物件陣列, 代表要叫用之方法的參數數目、順序和類型 + 引動過程的引數 + 文化特性 (Culture) 資訊 + 引動過程結果 + + + + 叫用靜態方法 + + 成員的名稱 + 其他引動過程屬性 + 引動過程的引數 + 引動過程結果 + + + + 叫用靜態方法 + + 成員的名稱 + 其他引動過程屬性 + 物件陣列, 代表要叫用之方法的參數數目、順序和類型 + 引動過程的引數 + 引動過程結果 + + + + 叫用靜態方法 + + 成員名稱 + 其他引動過程屬性 + 引動過程的引數 + 文化特性 (Culture) + 引動過程結果 + + + + 叫用靜態方法 + + 成員名稱 + 其他引動過程屬性 + /// 物件陣列, 代表要叫用之方法的參數數目、順序和類型 + 引動過程的引數 + 文化特性 (Culture) + 引動過程結果 + + + + 叫用靜態方法 + + 成員名稱 + 其他引動過程屬性 + /// 物件陣列, 代表要叫用之方法的參數數目、順序和類型 + 引動過程的引數 + 文化特性 (Culture) + 對應至泛型引數類型的類型陣列。 + 引動過程結果 + + + + 取得靜態陣列中的元素 + + 陣列的名稱 + + 32 位元整數的一維陣列,代表指定要取得之元素的位置索引。 + 例如,若要存取 a[10][11],索引即為 {10,11} + + 元素 (位於指定的位置) + + + + 設定靜態陣列的成員 + + 陣列的名稱 + 要設定的值 + + 32 位元整數的一維陣列,代表指定要設定之元素的位置索引。 + 例如,若要存取 a[10][11],陣列即為 {10,11} + + + + + 取得靜態陣列中的元素 + + 陣列的名稱 + 其他 InvokeHelper 屬性 + + 32 位元整數的一維陣列,代表指定要取得之元素的位置索引。 + 例如,若要存取 a[10][11],陣列即為 {10,11} + + 元素 (位於指定的位置) + + + + 設定靜態陣列的成員 + + 陣列的名稱 + 其他 InvokeHelper 屬性 + 要設定的值 + + 32 位元整數的一維陣列,代表指定要設定之元素的位置索引。 + 例如,若要存取 a[10][11],陣列即為 {10,11} + + + + + 取得靜態欄位 + + 欄位名稱 + 靜態欄位。 + + + + 設定靜態欄位 + + 欄位名稱 + 引動過程的引數 + + + + 取得使用所指定 InvokeHelper 屬性的靜態欄位 + + 欄位名稱 + 其他引動過程屬性 + 靜態欄位。 + + + + 設定使用繫結屬性的靜態欄位 + + 欄位名稱 + 其他 InvokeHelper 屬性 + 引動過程的引數 + + + + 取得靜態欄位或屬性 + + 欄位或屬性名稱 + 靜態欄位或屬性。 + + + + 設定靜態欄位或屬性 + + 欄位或屬性名稱 + 要設定為欄位或屬性的值 + + + + 取得使用所指定 InvokeHelper 屬性 (attribute) 的靜態欄位或屬性 (property) + + 欄位或屬性名稱 + 其他引動過程屬性 + 靜態欄位或屬性。 + + + + 設定使用繫結屬性 (attribute) 的靜態欄位或屬性 (property) + + 欄位或屬性名稱 + 其他引動過程屬性 + 要設定為欄位或屬性的值 + + + + 取得靜態屬性 + + 欄位或屬性名稱 + 引動過程的引數 + 靜態屬性。 + + + + 設定靜態屬性 + + 屬性名稱 + 要設定為欄位或屬性的值 + 要傳遞給要叫用之成員的引數。 + + + + 設定靜態屬性 + + 屬性名稱 + 要設定為欄位或屬性的值 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + + + + 取得靜態屬性 + + 屬性名稱 + 其他引動過程屬性。 + 要傳遞給要叫用之成員的引數。 + 靜態屬性。 + + + + 取得靜態屬性 + + 屬性名稱 + 其他引動過程屬性。 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + 靜態屬性。 + + + + 設定靜態屬性 + + 屬性名稱 + 其他引動過程屬性。 + 要設定為欄位或屬性的值 + 索引屬性的選擇性索引值。索引屬性的索引是以零為起始。非索引屬性的這個值應該是 null。 + + + + 設定靜態屬性 + + 屬性名稱 + 其他引動過程屬性。 + 要設定為欄位或屬性的值 + 物件陣列, 物件陣列,代表索引屬性的參數數目、順序和類型。 + 要傳遞給要叫用之成員的引數。 + + + + 叫用靜態方法 + + 成員名稱 + 其他引動過程屬性 + 引動過程的引數 + 文化特性 (Culture) + 引動過程結果 + + + + 提供泛型方法的方法簽章探索。 + + + + + 比對這兩種方法的方法簽章。 + + Method1 + Method2 + 若類似即為 true。 + + + + 取得所提供之類型的基底類型階層深度。 + + 類型。 + 深度。 + + + + 使用提供的資訊找出最具衍生性的類型。 + + 候選相符項目。 + 相符項目數目。 + 最具衍生性的方法。 + + + + 如果有一組方法符合基底準則,請根據類型陣列 + 來選取方法。如果沒有方法符合準則,則這個方法 + 應該傳回 null。 + + 繫結規格。 + 候選相符項目 + 類型 + 參數修飾詞。 + 相符方法。若無符合項則為 Null。 + + + + 從提供的兩個方法中,找出最明確的方法。 + + 方法 1 + 方法 1 的參數順序 + 參數陣列類型。 + 方法 2 + 方法 2 的參數順序 + >參數陣列類型。 + 要搜尋的類型。 + 引數 + 代表相符項目的 int。 + + + + 從提供的兩個方法中,找出最明確的方法。 + + 方法 1 + 方法 1 的參數順序 + 參數陣列類型。 + 方法 2 + 方法 2 的參數順序 + >參數陣列類型。 + 要搜尋的類型。 + 引數 + 代表相符項目的 int。 + + + + 在提供的兩項中找出最明確的類型。 + + 類型 1 + 類型 2 + 定義類型 + 代表相符項目的 int。 + + + + 用來儲存提供給單元測試的資訊。 + + + + + 取得測試的測試屬性。 + + + + + 在測試用於資料驅動測試時,取得目前資料連線資料列。 + + + + + 在測試用於資料驅動測試時,取得目前資料連線資料列。 + + + + + 取得測試回合的基底目錄,部署的檔案及結果檔案或儲存在其下。 + + + + + 為部署用於測試回合的檔案取得目錄。通常為 的子目錄。 + + + + + 取得測試回合結果的基底目錄。通常為 的子目錄。 + + + + + 為測試回合結果檔案取得目錄。通常為 的子目錄。 + + + + + 取得測試結果檔案的目錄。 + + + + + 取得測試回合的基底目錄,部署的檔案及結果檔案或儲存在其下。 + 如同 。請改用該屬性。 + + + + + 為部署用於測試回合的檔案取得目錄。通常為 的子目錄。 + 如同 。請改用該屬性。 + + + + + 為測試回合結果檔案取得目錄。通常為 的子目錄。 + 如同 。請改成將該屬性用於測試回合結果檔案,或將 + 用於測試特定結果檔案。 + + + + + 取得包含目前正在執行之測試方法的類別完整名稱 + + + + + 取得目前正在執行的測試方法名稱 + + + + + 取得目前測試結果。 + + + + + 用來在測試執行時寫入追蹤訊息 + + 格式化訊息字串 + + + + 用來在測試執行時寫入追蹤訊息 + + 格式字串 + 引數 + + + + 將檔案名稱新增至 TestResult.ResultFileNames 的清單中 + + + 檔案名稱。 + + + + + 開始具有所指定名稱的計時器 + + 計時器名稱。 + + + + 結束具有所指定名稱的計時器 + + 計時器名稱。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..611e17b6e --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net45/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用於執行的 TestMethod。 + + + + + 取得測試方法的名稱。 + + + + + 取得測試類別的名稱。 + + + + + 取得測試方法的傳回型別。 + + + + + 取得測試方法的參數。 + + + + + 取得測試方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 叫用測試方法。 + + + 要傳遞至測試方法的引數。(例如,針對資料驅動) + + + 測試方法引動過程結果。 + + + This call handles asynchronous test methods as well. + + + + + 取得測試方法的所有屬性。 + + + 父類別中定義的屬性是否有效。 + + + 所有屬性。 + + + + + 取得特定類型的屬性。 + + System.Attribute type. + + 父類別中定義的屬性是否有效。 + + + 指定類型的屬性。 + + + + + 協助程式。 + + + + + 檢查參數不為 null。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws argument null exception when parameter is null. + + + + 檢查參數不為 null 或為空白。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws ArgumentException when parameter is null. + + + + 如何在資料驅動測試中存取資料列的列舉。 + + + + + 會以循序順序傳回資料列。 + + + + + 會以隨機順序傳回資料列。 + + + + + 用以定義測試方法之內嵌資料的屬性。 + + + + + 初始化 類別的新執行個體。 + + 資料物件。 + + + + 初始化 類別 (其採用引數的陣列) 的新執行個體。 + + 資料物件。 + 其他資料。 + + + + 取得用於呼叫測試方法的資料。 + + + + + 取得或設定測試結果中的顯示名稱來進行自訂。 + + + + + 判斷提示結果不明例外狀況。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + InternalTestFailureException 類別。用來表示測試案例的內部失敗 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 屬性,其指定預期所指定類型的例外狀況 + + + + + 初始化具預期類型之 類別的新執行個體 + + 預期的例外狀況類型 + + + + 初始化 類別 + (其具預期類型及訊息,用以在測試未擲回任何例外狀況時予以納入) 的新執行個體。 + + 預期的例外狀況類型 + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的訊息 + + + + + 取得值,指出預期例外狀況的類型 + + + + + 取得或設定值,指出是否允許類型衍生自預期例外狀況類型, + 以符合預期 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 驗證預期有單元測試所擲回的例外狀況類型 + + 單元測試所擲回的例外狀況 + + + + 指定以預期單元測試發生例外狀況之屬性的基底類別 + + + + + 使用預設無例外狀況訊息初始化 類別的新執行個體 + + + + + 初始化具無例外狀況訊息之 類別的新執行個體 + + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的 + 訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 取得預設無例外狀況訊息 + + ExpectedException 屬性類型名稱 + 預設無例外狀況訊息 + + + + 判斷是否預期會發生例外狀況。如果傳回方法,則了解 + 預期會發生例外狀況。如果方法擲回例外狀況,則了解 + 預期不會發生例外狀況,而且測試結果中 + 會包含所擲回例外狀況的訊息。 類別可以基於便利 + 使用。如果使用 並且判斷提示失敗, + 則測試結果設定為 [結果不明]。 + + 單元測試所擲回的例外狀況 + + + + 如果它是 AssertFailedException 或 AssertInconclusiveException,會重新擲回例外狀況 + + 如果是判斷提示例外狀況,則重新擲回例外狀況 + + + + 這個類別的設計目的是要協助使用者執行使用泛型型別之類型的單元測試。 + GenericParameterHelper 滿足一些常用泛型型別條件約束 + 例如: + 1. 公用預設建構函式 + 2. 實作公用介面: IComparable、IEnumerable + + + + + 初始化 類別 (其符合 C# 泛型中的 'newable' 限制式) + 的新執行個體。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 類別 (其將 Data 屬性初始化為使用者提供的值) + 的新執行個體。 + + 任何整數值 + + + + 取得或設定資料 + + + + + 執行兩個 GenericParameterHelper 物件的值比較 + + 要與之執行比較的物件 + 如果 obj 的值與 'this' GenericParameterHelper 物件相同,則為 true。 + 否則為 false。 + + + + 傳回這個物件的雜湊碼。 + + 雜湊碼。 + + + + 比較這兩個 物件的資料。 + + 要比較的物件。 + + 已簽署的編號,表示此執行個體及值的相對值。 + + + Thrown when the object passed in is not an instance of . + + + + + 傳回長度衍生自 Data 屬性的 + IEnumerator 物件。 + + IEnumerator 物件 + + + + 傳回等於目前物件的 + GenericParameterHelper 物件。 + + 複製的物件。 + + + + 讓使用者從單位測試記錄/寫入追蹤以進行診斷。 + + + + + LogMessage 的處理常式。 + + 要記錄的訊息。 + + + + 要接聽的事件。在單元測試寫入器寫入一些訊息時引發。 + 主要由配接器取用。 + + + + + API,供測試寫入者呼叫以記錄訊息。 + + 含預留位置的字串格式。 + 預留位置的參數。 + + + + TestCategory 屬性; 用來指定單元測試的分類。 + + + + + 初始化 類別的新執行個體,並將分類套用至測試。 + + + 測試「分類」。 + + + + + 取得已套用至測試的測試分類。 + + + + + "Category" 屬性的基底類別 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 類別的新執行個體。 + 將分類套用至測試。TestCategories 所傳回的字串 + 會與 /category 命令搭配使用,以篩選測試 + + + + + 取得已套用至測試的測試分類。 + + + + + AssertFailedException 類別。用來表示測試案例失敗 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 要測試單元測試內各種條件的協助程式類別集合。 + 如果不符合正在測試的條件,則會擲回 + 例外狀況。 + + + + + 取得 Assert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is true. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null. + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is not equal to . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 擲回 AssertFailedException。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 「靜態等於多載」用於比較兩種類型的執行個體的參考 + 相等。這種方法不應該用於比較兩個執行個體是否 + 相等。這個物件一律會擲出 Assert.Fail。請在單元測試中使用 + Assert.AreEqual 和相關聯多載。 + + 物件 A + 物件 B + 一律為 False。 + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 以 "\\0" 取代 null 字元 ('\0')。 + + + 要搜尋的字串。 + + + null 字元以 "\\0" 取代的已轉換字串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 建立並擲回 AssertionFailedException 的 Helper 函數 + + + 擲回例外狀況的判斷提示名稱 + + + 描述判斷提示失敗條件的訊息 + + + 參數。 + + + + + 檢查參數的有效條件 + + + 參數。 + + + 判斷提示「名稱」。 + + + 參數名稱 + + + 無效參數例外狀況的訊息 + + + 參數。 + + + + + 將物件安全地轉換成字串,並處理 null 值和 null 字元。 + Null 值會轉換成 "(null)"。Null 字元會轉換成 "\\0"。 + + + 要轉換為字串的物件。 + + + 已轉換的字串。 + + + + + 字串判斷提示。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if matches . + + + + + 要測試與單元測試內集合相關聯之各種條件的 + 協助程式類別集合。如果不符合正在測試的條件, + 則會擲回例外狀況。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is found in + . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if every element in is also found in + . + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 參數陣列,使用時機為格式 。 + + + Thrown if is equal to . + + + + + 判斷第一個集合是否為第二個集合的子集。 + 如果任一個集合包含重複的元素,則元素 + 在子集中的出現次數必須小於或 + 等於在超集中的出現次數。 + + + 測試預期包含在下者中的集合: 。 + + + 測試預期包含下者的集合: 。 + + + True 的情況為 是下者的子集: + ,否則為 false。 + + + + + 建構字典,內含每個元素在所指定集合中 + 的出現次數。 + + + 要處理的集合。 + + + 集合中的 null 元素數目。 + + + 包含每個元素在所指定集合內之出現次數 + 的字典。 + + + + + 尋找兩個集合之間不相符的元素。不相符的元素 + 為出現在預期集合中的次數 + 不同於它在實際集合中出現的次數。 + 集合假設為具有數目相同之元素的不同非 null 參考。 + 呼叫者負責這個層級的驗證。 + 如果沒有不相符的元素,則函數會傳回 false, + 而且不應該使用 out 參數。 + + + 要比較的第一個集合。 + + + 要比較的第二個集合。 + + + 下者的預期出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 下者的實際出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 不相符的元素 (可能為 null) 或 null (如果沒有 + 不相符的元素)。 + + + 如果找到不相符的元素,則為 true,否則為 false。 + + + + + 使用 object.Equals 來比較物件 + + + + + 架構例外狀況的基底類別。 + + + + + 初始化 類別的新執行個體。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 強型別資源類別,用於查詢當地語系化字串等。 + + + + + 傳回這個類別所使用的快取的 ResourceManager 執行個體。 + + + + + 針對使用這個強型別資源類別的所有資源查閱, + 覆寫目前執行緒的 CurrentUICulture 屬性。 + + + + + 查閱與「存取字串有無效的語法。」類似的當地語系化字串。 + + + + + 查閱與「預期在集合中包含 {1} 項 <{2}>,但實際的集合卻有 {3} 項。{0}」類似的當地語系化字串。 + + + + + 查閱與「找到重複的項目:<{1}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。大小寫與下列實際值不同:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異不大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1} ({2})>。實際:<{3} ({4})>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期任何值 (<{1}> 除外)。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「不要將實值型別傳遞給 AreSame()。轉換成 Object 的值從此不再一樣。請考慮使用 AreEqual()。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0} 失敗。{1}」類似的當地語系化字串。 + + + + + 不支援查詢類似非同步處理 TestMethod 與 UITestMethodAttribute 的當地語系化字串。移除非同步處理或使用 TestMethodAttribute。 + + + + + 查閱與「兩個集合都是空的。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。」類似的當地語系化字串。 + + + + + 查閱與「兩個集合參考都指向同一個集合物件。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「(null)」類似的當地語系化字串。 + + + + + 查閱與「(物件)」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 未包含字串 '{1}'。{2}。」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「Assert.Equals 不應使用於判斷提示。請改用 Assert.AreEqual 及多載。」類似的當地語系化字串。 + + + + + 查閱與「集合中的元素數目不符。預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {0} 的元素不符。」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的項目不是預期的類型。預期的類型:<{2}>。實際的類型:<{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的元素是 (null)。預期的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 結尾。{2}。」類似的當地語系化字串。 + + + + + 查閱與「無效的引數 - EqualsTester 無法使用 null。」類似的當地語系化字串。 + + + + + 查閱與「無法將 {0} 類型的物件轉換為 {1}。」類似的當地語系化字串。 + + + + + 查閱與「所參考的內部物件已不再有效。」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。{1}。」類似的當地語系化字串。 + + + + + 查閱與「屬性 {0} 具有類型 {1}; 預期為類型 {2}。」類似的當地語系化字串。 + + + + + 查閱與「{0} 預期的類型:<{1}>。實際的類型:<{2}>。」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 不符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「錯誤的類型:<{1}>。實際的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 相符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「未指定 DataRowAttribute。至少一個 DataRowAttribute 必須配合 DataTestMethodAttribute 使用。」類似的當地語系化字串。 + + + + + 查閱與「未擲回任何例外狀況。預期為 {1} 例外狀況。{0}」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。值不能為 null。{1}。」類似的當地語系化字串。 + + + + + 查閱與「元素數目不同。」類似的當地語系化字串。 + + + + + 查閱與「找不到具有所指定簽章的建構函式。 + 您可能必須重新產生私用存取子,或者該成員可能為私用, + 並且定義在基底類別上。如果是後者,您必須將定義 + 該成員的類型傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「找不到所指定的成員 ({0})。 + 您可能必須重新產生私用存取子, + 或者該成員可能為私用,並且定義在基底類別上。如果是後者,您必須將定義該成員的類型 + 傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 開頭。{2}。」類似的當地語系化字串。 + + + + + 查閱與「預期的例外狀況類型必須是 System.Exception 或衍生自 System.Exception 的類型。」類似的當地語系化字串。 + + + + + 查閱與「(由於發生例外狀況,所以無法取得 {0} 類型之例外狀況的訊息。)」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回預期的例外狀況 {0}。{1}」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回例外狀況。測試方法上定義的屬性 {0} 需要例外狀況。」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1}。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1} 或由它衍生的類型。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「擲回例外狀況 {2},但需要的是例外狀況 {1}。{0} + 例外狀況訊息: {3} + 堆疊追蹤: {4}」類似的當地語系化字串。 + + + + + 單元測試結果 + + + + + 已執行測試,但發生問題。 + 問題可能包含例外狀況或失敗的判斷提示。 + + + + + 測試已完成,但是無法指出成功還是失敗。 + 可能用於已中止測試。 + + + + + 已執行測試且沒有任何問題。 + + + + + 目前正在執行測試。 + + + + + 嘗試執行測試時發生系統錯誤。 + + + + + 測試逾時。 + + + + + 使用者已中止測試。 + + + + + 測試處於未知狀態 + + + + + 提供單元測試架構的協助程式功能 + + + + + 遞迴地取得例外狀況訊息 (包含所有內部例外狀況 + 的訊息) + + 要為其取得訊息的例外狀況 + 含有錯誤訊息資訊的字串 + + + + 逾時的列舉,可以與 類別搭配使用。 + 列舉的類型必須相符 + + + + + 無限。 + + + + + 測試類別屬性。 + + + + + 取得可讓您執行此測試的測試方法屬性。 + + 此方法上所定義的測試方法屬性執行個體。 + 要用來執行此測試。 + Extensions can override this method to customize how all methods in a class are run. + + + + 測試方法屬性。 + + + + + 執行測試方法。 + + 要執行的測試方法。 + 代表測試結果的 TestResult 物件陣列。 + Extensions can override this method to customize running a TestMethod. + + + + 測試初始化屬性。 + + + + + 測試清除屬性。 + + + + + Ignore 屬性。 + + + + + 測試屬性 (property) 屬性 (attribute)。 + + + + + 初始化 類別的新執行個體。 + + + 名稱。 + + + 值。 + + + + + 取得名稱。 + + + + + 取得值。 + + + + + 類別會將屬性初始化。 + + + + + 類別清除屬性。 + + + + + 組件會將屬性初始化。 + + + + + 組件清除屬性。 + + + + + 測試擁有者 + + + + + 初始化 類別的新執行個體。 + + + 擁有者。 + + + + + 取得擁有者。 + + + + + Priority 屬性; 用來指定單元測試的優先順序。 + + + + + 初始化 類別的新執行個體。 + + + 優先順序。 + + + + + 取得優先順序。 + + + + + 測試描述 + + + + + 初始化 類別的新執行個體來描述測試。 + + 描述。 + + + + 取得測試的描述。 + + + + + CSS 專案結構 URI + + + + + 初始化用於 CSS 專案結構 URI 之 類別的新執行個體。 + + CSS 專案結構 URI。 + + + + 取得 CSS 專案結構 URI。 + + + + + CSS 反覆項目 URI + + + + + 初始化用於 CSS 反覆項目 URI 之 類別的新執行個體。 + + CSS 反覆項目 URI。 + + + + 取得 CSS 反覆項目 URI。 + + + + + 工作項目屬性; 用來指定與這個測試相關聯的工作項目。 + + + + + 初始化用於工作項目屬性之 類別的新執行個體。 + + 工作項目的識別碼。 + + + + 取得建立關聯之工作項目的識別碼。 + + + + + Timeout 屬性; 用來指定單元測試的逾時。 + + + + + 初始化 類別的新執行個體。 + + + 逾時。 + + + + + 初始化具有預設逾時之 類別的新執行個體 + + + 逾時 + + + + + 取得逾時。 + + + + + 要傳回給配接器的 TestResult 物件。 + + + + + 初始化 類別的新執行個體。 + + + + + 取得或設定結果的顯示名稱。適用於傳回多個結果時。 + 如果為 null,則使用「方法名稱」當成 DisplayName。 + + + + + 取得或設定測試執行的結果。 + + + + + 取得或設定測試失敗時所擲回的例外狀況。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 透過測試程式碼取得或設定偵錯追蹤。 + + + + + Gets or sets the debug traces by test code. + + + + + 取得或設定測試執行的持續時間。 + + + + + 取得或設定資料來源中的資料列索引。僅針對個別執行資料驅動測試之資料列 + 的結果所設定。 + + + + + 取得或設定測試方法的傳回值 (目前一律為 null)。 + + + + + 取得或設定測試所附加的結果檔案。 + + + + + 指定連接字串、表格名稱和資料列存取方法來進行資料驅動測試。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + 資料來源的預設提供者名稱。 + + + + + 預設資料存取方法。 + + + + + 初始化 類別的新執行個體。將使用資料提供者、連接字串、運算列表和資料存取方法將這個執行個體初始化,以存取資料來源。 + + 非變異資料提供者名稱 (例如 System.Data.SqlClient) + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + 指定資料的存取順序。 + + + + 初始化 類別的新執行個體。此執行個體將使用連接字串和表格名稱進行初始化。 + 指定連接字串和運算列表以存取 OLEDB 資料來源。 + + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + + + + 初始化 類別的新執行個體。將使用與設定名稱相關聯的資料提供者和連接字串將這個執行個體初始化。 + + 在 app.config 檔案的 <microsoft.visualstudio.qualitytools> 區段中找到資料來源名稱。 + + + + 取得值,代表資料來源的資料提供者。 + + + 資料提供者名稱。如果未在物件初始化時指定資料提供者,將會傳回 System.Data.OleDb 的預設提供者。 + + + + + 取得值,代表資料來源的連接字串。 + + + + + 取得值,指出提供資料的表格名稱。 + + + + + 取得用來存取資料來源的方法。 + + + + 下列其中之一: 值。如果 未進行初始化,則這會傳回預設值 。 + + + + + 取得在 app.config 檔案 <microsoft.visualstudio.qualitytools> 區段中找到的資料來源名稱。 + + + + + 可在其中內嵌指定資料之資料驅動測試的屬性。 + + + + + 尋找所有資料列,並執行。 + + + 測試「方法」。 + + + 下列項目的陣列: 。 + + + + + 執行資料驅動測試方法。 + + 要執行的測試方法。 + 資料列。 + 執行結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML new file mode 100644 index 000000000..910f6f624 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML @@ -0,0 +1,5318 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + The assembly cleanup attribute. + + + + + The assembly initialize attribute. + + + + + The class cleanup attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets the Inheritance Behavior + + + + + Gets when to run class cleanup methods. + + + + + When to run ClassCleanup during test execution + + + + + Run at end of assembly + + + + + Run at end of class + + + + + Specification for when to run class cleanup methods. + + + + + Default class cleanup execution + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets when to run class cleanup methods. + + + + + The class initialize attribute. + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + Specifies the ClassInitialize Inheritance Behavior + + + + + Gets the Inheritance Behavior + + + + + CSS Iteration URI + + + + + Initializes a new instance of the class for CSS Iteration URI. + + The CSS Iteration URI. + + + + Gets the CSS Iteration URI. + + + + + CSS Project Structure URI + + + + + Initializes a new instance of the class for CSS Project Structure URI. + + The CSS Project Structure URI. + + + + Gets the CSS Project Structure URI. + + + + + Attribute for data driven test where data can be specified in-line. + + + + + Description of the test + + + + + Initializes a new instance of the class to describe a test. + + The description. + + + + Gets the description of a test. + + + + + The presence of this attribute in a test assembly causes MSTest to discover test classes (i.e. classes having + the "TestClass" attribute) and test methods (i.e. methods having the "TestMethod" attribute) which are declared + internal in addition to test classes and test methods which are declared public. When this attribute is not + present in a test assembly the tests in such classes will not be discovered. + + + + + Specification to disable parallelization. + + + + + Enum to specify whether the data is stored as property or in method. + + + + + Data is declared as property. + + + + + Data is declared in method. + + + + + Attribute to define dynamic data for a test method. + + + + + Initializes a new instance of the class. + + + The name of method or property having test data. + + + Specifies whether the data is stored as property or in method. + + + + + Initializes a new instance of the class when the test data is present in a class different + from test method's class. + + + The name of method or property having test data. + + + The declaring type of property or method having data. Useful in cases when declaring type is present in a class different from + test method's class. If null, declaring type defaults to test method's class type. + + + Specifies whether the data is stored as property or in method. + + + + + Gets or sets the name of method used to customize the display name in test results. + + + + + Gets or sets the declaring type used to customize the display name in test results. + + + + + + + + + + + The ignore attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Message specifies reason for ignoring. + + + + + Gets the owner. + + + + + Enumeration for inheritance behavior, that can be used with both the class + and class. + Defines the behavior of the ClassInitialize and ClassCleanup methods of base classes. + The type of the enumeration must match + + + + + None. + + + + + Before each derived class. + + + + + Test Owner + + + + + Initializes a new instance of the class. + + + The owner. + + + + + Gets the owner. + + + + + Specification for parallelization level for a test run. + + + + + The default scope for the parallel run. Although method level gives maximum parallelization, the default is set to + class level to enable maximum number of customers to easily convert their tests to run in parallel. In most cases within + a class tests aren't thread safe. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the number of workers to be used for the parallel run. + + + + + Gets or sets the scope of the parallel run. + + + To enable all classes to run in parallel set this to . + To get the maximum parallelization level set this to . + + + + + Parallel execution mode. + + + + + Each thread of execution will be handed a TestClass worth of tests to execute. + Within the TestClass, the test methods will execute serially. + + + + + Each thread of execution will be handed TestMethods to execute. + + + + + Priority attribute; used to specify the priority of a unit test. + + + + + Initializes a new instance of the class. + + + The priority. + + + + + Gets the priority. + + + + + The test class attribute. + + + + + Gets a test method attribute that enables running this test. + + The test method attribute instance defined on this method. + The to be used to run this test. + Extensions can override this method to customize how all methods in a class are run. + + + + The test cleanup attribute marks methods that are executed after every test marked with a . + + + + + Specifies how to discover ITestDataSource tests. + + + + + Initializes a new instance of the class. + + + Sets which to use when discovering ITestDataSource tests. + + + + + Gets specified discovery option. + + + + + Supported TestDataSource discovery modes + + + + + Discover tests during execution. + This was the default option on version 2.2.3 and before. + + + + + Discover and expand ITestDataSource based tests. + This is the default behavior after version 2.2.3. + + + + + The test initialize attribute. + + + + + The test method attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Display name for the test. + + + + + Gets display name for the test. + + + + + Executes a test method. + + The test method to execute. + An array of TestResult objects that represent the outcome(s) of the test. + Extensions can override this method to customize running a TestMethod. + + + + The test property attribute. + + + + + Initializes a new instance of the class. + + + The name. + + + The value. + + + + + Gets the name. + + + + + Gets the value. + + + + + TestResult object to be returned to adapter. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the display name of the result. Useful when returning multiple results. + If null then Method name is used as DisplayName. + + + + + Gets or sets the outcome of the test execution. + + + + + Gets or sets the exception thrown when test is failed. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the execution id of the result. + + + + + Gets or sets the parent execution id of the result. + + + + + Gets or sets the inner results count of the result. + + + + + Gets or sets the duration of test execution. + + + + + Gets or sets the data row index in data source. Set only for results of individual + run of data row of a data driven test. + + + + + Gets or sets the return value of the test method. (Currently null always). + + + + + Gets or sets the result files attached by the test. + + + + + Enumeration for timeouts, that can be used with the class. + The type of the enumeration must match + + + + + The infinite. + + + + + Timeout attribute; used to specify the timeout of a unit test. + + + + + Initializes a new instance of the class. + + + The timeout in milliseconds. + + + + + Initializes a new instance of the class with a preset timeout + + + The timeout + + + + + Gets the timeout in milliseconds. + + + + + WorkItem attribute; used to specify a work item associated with this test. + + + + + Initializes a new instance of the class for the WorkItem Attribute. + + The Id to a work item. + + + + Gets the Id to a work item associated. + + + + + Test data source for data driven tests. + + + + + Gets the test data from custom test data source. + + + The method info of test method. + + + Test data for calling test method. + + + + + Gets the display name corresponding to test data row for displaying in TestResults. + + + The method info of test method. + + + The test data which is passed to test method. + + + The . + + + + + TestMethod for execution. + + + + + Gets the name of test method. + + + + + Gets the name of test class. + + + + + Gets the return type of test method. + + + + + Gets the arguments with which test method is invoked. + + + + + Gets the parameters of test method. + + + + + Gets the methodInfo for test method. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invokes the test method. + + + Arguments to pass to test method. (E.g. For data driven) + + + Result of test method invocation. + + + This call handles asynchronous test methods as well. + + + + + Get all attributes of the test method. + + + Whether attribute defined in parent class is valid. + + + All attributes. + + + + + Get attribute of specific type. + + System.Attribute type. + + Whether attribute defined in parent class is valid. + + + The attributes of the specified type. + + + + + The helper. + + + + + The check parameter not null. + + + The parameter. + + + The parameter name. + + + The message. + + Throws argument null exception when parameter is null. + + + + The check parameter not null or empty. + + + The parameter. + + + The parameter name. + + + The message. + + Throws ArgumentException when parameter is null. + + + + Enumeration for how we access data rows in data driven testing. + + + + + Rows are returned in sequential order. + + + + + Rows are returned in random order. + + + + + Attribute to define in-line data for a test method. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The data object. + + + + Initializes a new instance of the class which takes in an array of arguments. + + A data object. + More data. + + + + Gets data for calling test method. + + + + + Gets or sets display name in test results for customization. + + + + + + + + + + + The assert inconclusive exception. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + InternalTestFailureException class. Used to indicate internal failure for a test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initializes a new instance of the class. + + The exception message. + The exception. + + + + Initializes a new instance of the class. + + The exception message. + + + + Initializes a new instance of the class. + + + + + Attribute that specifies to expect an exception of the specified type + + + + + Initializes a new instance of the class with the expected type + + Type of the expected exception + + + + Initializes a new instance of the class with + the expected type and the message to include when no exception is thrown by the test. + + Type of the expected exception + + Message to include in the test result if the test fails due to not throwing an exception + + + + + Gets a value indicating the Type of the expected exception + + + + + Gets or sets a value indicating whether to allow types derived from the type of the expected exception to + qualify as expected + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Verifies that the type of the exception thrown by the unit test is expected + + The exception thrown by the unit test + + + + Base class for attributes that specify to expect an exception from a unit test + + + + + Initializes a new instance of the class with a default no-exception message + + + + + Initializes a new instance of the class with a no-exception message + + + Message to include in the test result if the test fails due to not throwing an + exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the default no-exception message + + The ExpectedException attribute type name + The default no-exception message + + + + Determines whether the exception is expected. If the method returns, then it is + understood that the exception was expected. If the method throws an exception, then it + is understood that the exception was not expected, and the thrown exception's message + is included in the test result. The class can be used for + convenience. If is used and the assertion fails, + then the test outcome is set to Inconclusive. + + The exception thrown by the unit test + + + + Rethrow the exception if it is an AssertFailedException or an AssertInconclusiveException + + The exception to rethrow if it is an assertion exception + + + + This class is designed to help user doing unit testing for types which uses generic types. + GenericParameterHelper satisfies some common generic type constraints + such as: + 1. public default constructor + 2. implements common interface: IComparable, IEnumerable + + + + + Initializes a new instance of the class that + satisfies the 'newable' constraint in C# generics. + + + This constructor initializes the Data property to a random value. + + + + + Initializes a new instance of the class that + initializes the Data property to a user-supplied value. + + Any integer value + + + + Gets or sets the Data + + + + + Do the value comparison for two GenericParameterHelper object + + object to do comparison with + true if obj has the same value as 'this' GenericParameterHelper object. + false otherwise. + + + + Returns a hashcode for this object. + + The hash code. + + + + Compares the data of the two objects. + + The object to compare with. + + A signed number indicating the relative values of this instance and value. + + + Thrown when the object passed in is not an instance of . + + + + + Returns an IEnumerator object whose length is derived from + the Data property. + + The IEnumerator object + + + + Returns a GenericParameterHelper object that is equal to + the current object. + + The cloned object. + + + + Enables users to log/write traces from unit tests for diagnostics. + + + + + Handler for LogMessage. + + Message to log. + + + + Event to listen. Raised when unit test writer writes some message. + Mainly to consume by adapter. + + + + + API for test writer to call to Log messages. + + String format with placeholders. + Parameters for placeholders. + + + + TestCategory attribute; used to specify the category of a unit test. + + + + + Initializes a new instance of the class and applies the category to the test. + + + The test Category. + + + + + Gets the test categories that has been applied to the test. + + + + + Base class for the "Category" attribute + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initializes a new instance of the class. + Applies the category to the test. The strings returned by TestCategories + are used with the /category command to filter tests + + + + + Gets the test category that has been applied to the test. + + + + + AssertFailedException class. Used to indicate failure for a test case + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + A collection of helper classes to test various conditions within + unit tests. If the condition being tested is not met, an exception + is thrown. + + + + + Gets the singleton instance of the Assert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null. + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is not equal to . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Throws an AssertFailedException. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Static equals overloads are used for comparing instances of two types for reference + equality. This method should not be used for comparison of two instances for + equality. This object will always throw with Assert.Fail. Please use + Assert.AreEqual and associated overloads in your unit tests. + + Object A + Object B + False, always. + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Replaces null characters ('\0') with "\\0". + + + The string to search. + + + The converted string with null characters replaced by "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Helper function that creates and throws an AssertionFailedException + + + name of the assertion throwing an exception + + + message describing conditions for assertion failure + + + The parameters. + + + + + Checks the parameter for valid conditions + + + The parameter. + + + The assertion Name. + + + parameter name + + + message for the invalid parameter exception + + + The parameters. + + + + + Safely converts an object to a string, handling null values and null characters. + Null values are converted to "(null)". Null characters are converted to "\\0". + + + The object to convert to a string. + + + The converted string. + + + + + The string assert. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert customAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if does not match + . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if matches . + + + + + A collection of helper classes to test various conditions associated + with collections within unit tests. If the condition being tested is not + met, an exception is thrown. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert customAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if is found in + . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if every element in is also found in + . + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Determines whether the first collection is a subset of the second + collection. If either set contains duplicate elements, the number + of occurrences of the element in the subset must be less than or + equal to the number of occurrences in the superset. + + + The collection the test expects to be contained in . + + + The collection the test expects to contain . + + + True if is a subset of + , false otherwise. + + + + + Constructs a dictionary containing the number of occurrences of each + element in the specified collection. + + + The collection to process. + + + The number of null elements in the collection. + + + A dictionary containing the number of occurrences of each element + in the specified collection. + + + + + Finds a mismatched element between the two collections. A mismatched + element is one that appears a different number of times in the + expected collection than it does in the actual collection. The + collections are assumed to be different non-null references with the + same number of elements. The caller is responsible for this level of + verification. If there is no mismatched element, the function returns + false and the out parameters should not be used. + + + The first collection to compare. + + + The second collection to compare. + + + The expected number of occurrences of + or 0 if there is no mismatched + element. + + + The actual number of occurrences of + or 0 if there is no mismatched + element. + + + The mismatched element (may be null) or null if there is no + mismatched element. + + + true if a mismatched element was found; false otherwise. + + + + + compares the objects using object.Equals + + + + + Base class for Framework Exceptions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Access string has invalid syntax.. + + + + + Looks up a localized string similar to The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0}. + + + + + Looks up a localized string similar to Duplicate item found:<{1}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Case is different for actual value:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected any value except:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0}. + + + + + Looks up a localized string similar to {0} must derive from {1}!. + + + + + Looks up a localized string similar to {0} failed. {1}. + + + + + Looks up a localized string similar to async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute.. + + + + + Looks up a localized string similar to UITestMethodAttribute.DispatcherQueue should not be null. To use UITestMethodAttribute within a WinUI Desktop App, remember to set the static UITestMethodAttribute.DispatcherQueue during the test initialization.. + + + + + Looks up a localized string similar to Both collections are empty. {0}. + + + + + Looks up a localized string similar to Both collection contain same elements.. + + + + + Looks up a localized string similar to Both collection references point to the same collection object. {0}. + + + + + Looks up a localized string similar to Both collections contain the same elements. {0}. + + + + + Looks up a localized string similar to {0}({1}). + + + + + Looks up a localized string similar to (null). + + + + + Looks up a localized string similar to (object). + + + + + Looks up a localized string similar to String '{0}' does not contain string '{1}'. {2}.. + + + + + Looks up a localized string similar to {0} ({1}). + + + + + Looks up a localized string similar to Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead.. + + + + + Looks up a localized string similar to Method {0} must match the expected signature: public static {1} {0}({2}).. + + + + + Looks up a localized string similar to Property or method {0} on {1} returns empty IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Property or method {0} on {1} does not return IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Value returned by property or method {0} shouldn't be null.. + + + + + Looks up a localized string similar to The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0}. + + + + + Looks up a localized string similar to Element at index {0} do not match.. + + + + + Looks up a localized string similar to Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0}. + + + + + Looks up a localized string similar to Element at index {1} is (null). Expected type:<{2}>.{0}. + + + + + Looks up a localized string similar to String '{0}' does not end with string '{1}'. {2}.. + + + + + Looks up a localized string similar to Invalid argument- EqualsTester can't use nulls.. + + + + + Looks up a localized string similar to Cannot convert object of type {0} to {1}.. + + + + + Looks up a localized string similar to The internal object referenced is no longer valid.. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. {1}.. + + + + + Looks up a localized string similar to The property {0} has type {1}; expected type {2}.. + + + + + Looks up a localized string similar to {0} Expected type:<{1}>. Actual type:<{2}>.. + + + + + Looks up a localized string similar to String '{0}' does not match pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to Wrong Type:<{1}>. Actual type:<{2}>. {0}. + + + + + Looks up a localized string similar to String '{0}' matches pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute.. + + + + + Looks up a localized string similar to No exception thrown. {1} exception was expected. {0}. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. The value cannot be null. {1}.. + + + + + Looks up a localized string similar to Different number of elements.. + + + + + Looks up a localized string similar to + The constructor with the specified signature could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to + The member specified ({0}) could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to String '{0}' does not start with string '{1}'. {2}.. + + + + + Looks up a localized string similar to The expected exception type must be System.Exception or a type derived from System.Exception.. + + + + + Looks up a localized string similar to (Failed to get the message for an exception of type {0} due to an exception.). + + + + + Looks up a localized string similar to Test method did not throw expected exception {0}. {1}. + + + + + Looks up a localized string similar to Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method.. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Threw exception {2}, but exception {1} was expected. {0} + Exception Message: {3} + Stack Trace: {4}. + + + + + unit test outcomes + + + + + Test was executed, but there were issues. + Issues may involve exceptions or failed assertions. + + + + + Test has completed, but we can't say if it passed or failed. + May be used for aborted tests. + + + + + Test was executed without any issues. + + + + + Test is currently executing. + + + + + There was a system error while we were trying to execute a test. + + + + + The test timed out. + + + + + Test was aborted by the user. + + + + + Test is in an unknown state + + + + + Test cannot be executed. + + + + + Provides helper functionality for the unit test framework + + + + + Gets the exception messages, including the messages for all inner exceptions + recursively + + Exception to get messages for + string with error message information + + + + Specifies connection string, table name and row access method for data driven testing. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + The default provider name for DataSource. + + + + + The default data access method. + + + + + Initializes a new instance of the class. This instance will be initialized with a data provider, connection string, data table and data access method to access the data source. + + Invariant data provider name, such as System.Data.SqlClient + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + Specifies the order to access data. + + + + Initializes a new instance of the class.This instance will be initialized with a connection string and table name. + Specify connection string and data table to access OLEDB data source. + + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + + + + Initializes a new instance of the class. This instance will be initialized with a data provider and connection string associated with the setting name. + + The name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Gets a value representing the data provider of the data source. + + + The data provider name. If a data provider was not designated at object initialization, the default provider of System.Data.OleDb will be returned. + + + + + Gets a value representing the connection string for the data source. + + + + + Gets a value indicating the table name providing data. + + + + + Gets the method used to access the data source. + + + + One of the values. If the is not initialized, this will return the default value . + + + + + Gets the name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + Specifies that null is disallowed as an input even if the corresponding type allows it. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter may be null. + + + + Gets the return value condition. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that the output will be non-null if the named parameter is non-null. + + + Initializes the attribute with the associated parameter name. + + The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. + + + + Gets the associated parameter name. + + + Applied to a method that will never return under any circumstance. + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + Initializes the attribute with the specified parameter value. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values. + + + Initializes the attribute with a field or property member. + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the list of field and property members. + + The list of field and property members that are promised to be not-null. + + + + Gets field or property member names. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. + + + Initializes the attribute with the specified return value condition and a field or property member. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the specified return value condition and list of field and property members. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The list of field and property members that are promised to be not-null. + + + + Gets the return value condition. + + + Gets field or property member names. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll new file mode 100644 index 000000000..e0ab0d015 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..3f446b4e8 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4197 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atribut TestMethod pro provádění + + + + + Získá název testovací metody. + + + + + Získá název třídy testu. + + + + + Získá návratový typ testovací metody. + + + + + Získá parametry testovací metody. + + + + + Získá methodInfo pro testovací metodu. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Vyvolá testovací metodu. + + + Argumenty pro testovací metodu (např. pro testování řízené daty) + + + Výsledek vyvolání testovací metody + + + This call handles asynchronous test methods as well. + + + + + Získá všechny atributy testovací metody. + + + Jestli je platný atribut definovaný v nadřazené třídě + + + Všechny atributy + + + + + Získá atribut konkrétního typu. + + System.Attribute type. + + Jestli je platný atribut definovaný v nadřazené třídě + + + Atributy zadaného typu + + + + + Pomocná služba + + + + + Kontrolní parametr není null. + + + Parametr + + + Název parametru + + + Zpráva + + Throws argument null exception when parameter is null. + + + + Ověřovací parametr není null nebo prázdný. + + + Parametr + + + Název parametru + + + Zpráva + + Throws ArgumentException when parameter is null. + + + + Výčet způsobů přístupu k datovým řádkům při testování řízeném daty + + + + + Řádky se vrací v sekvenčním pořadí. + + + + + Řádky se vrátí v náhodném pořadí. + + + + + Atribut pro definování vložených dat pro testovací metodu + + + + + Inicializuje novou instanci třídy . + + Datový objekt + + + + Inicializuje novou instanci třídy , která přijímá pole argumentů. + + Datový objekt + Další data + + + + Získá data pro volání testovací metody. + + + + + Získá nebo nastaví zobrazovaný název ve výsledcích testu pro přizpůsobení. + + + + + Výjimka s neprůkazným kontrolním výrazem + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Třída InternalTestFailureException. Používá se pro označení interní chyby testovacího případu. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + + + + Inicializuje novou instanci třídy . + + + + + Atribut, podle kterého se má očekávat výjimka zadaného typu + + + + + Inicializuje novou instanci třídy s očekávaným typem. + + Typ očekávané výjimky + + + + Inicializuje novou instanci třídy + s očekávaným typem a zprávou, která se zahrne v případě, že test nevyvolá žádnou výjimku. + + Typ očekávané výjimky + + Zpráva, která má být zahrnuta do výsledku testu, pokud se test nezdaří z důvodu nevyvolání výjimky + + + + + Načte hodnotu, která označuje typ očekávané výjimky. + + + + + Získá nebo načte hodnotu, která označuje, jestli je možné typy odvozené od typu očekávané výjimky + považovat za očekávané. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Ověří, jestli se očekává typ výjimky vyvolané testem jednotek. + + Výjimka vyvolaná testem jednotek + + + + Základní třída pro atributy, které určují, že se má očekávat výjimka testu jednotek + + + + + Inicializuje novou instanci třídy s výchozí zprávou no-exception. + + + + + Inicializuje novou instanci třídy se zprávou no-exception. + + + Zprávy, které mají být zahrnuty ve výsledku testu, pokud se test nezdaří z důvodu nevyvolání + výjimky + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá výchozí zprávu no-exception. + + Název typu atributu ExpectedException + Výchozí zpráva neobsahující výjimku + + + + Určuje, jestli se daná výjimka očekává. Pokud metoda skončí, rozumí se tomu tak, + že se výjimka očekávala. Pokud metoda vyvolá výjimku, rozumí se tím, + že se výjimka neočekávala a součástí výsledku testu + je zpráva vyvolané výjimky. Pomocí třídy je možné si usnadnit + práci. Pokud se použije a kontrolní výraz selže, + výsledek testu se nastaví na Neprůkazný. + + Výjimka vyvolaná testem jednotek + + + + Znovu vyvolá výjimku, pokud se jedná o atribut AssertFailedException nebo AssertInconclusiveException. + + Výjimka, která se má znovu vyvolat, pokud se jedná výjimku kontrolního výrazu + + + + Tato třída je koncipovaná tak, aby uživatelům pomáhala při testování jednotek typů, které využívá obecné typy. + Atribut GenericParameterHelper řeší některá běžná omezení obecných typů, + jako jsou: + 1. veřejný výchozí konstruktor + 2. implementace společného rozhraní: IComparable, IEnumerable + + + + + Inicializuje novou instanci třídy , která + splňuje omezení newable v obecných typech jazyka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializuje novou instanci třídy , která + inicializuje vlastnost Data na hodnotu zadanou uživatelem. + + Libovolné celé číslo + + + + Získá nebo nastaví data. + + + + + Provede porovnání hodnot pro dva objekty GenericParameterHelper. + + objekt, se kterým chcete porovnávat + pravda, pokud má objekt stejnou hodnotu jako „tento“ objekt GenericParameterHelper. + V opačném případě nepravda. + + + + Vrátí pro tento objekt hodnotu hash. + + Kód hash + + + + Porovná data daných dvou objektů . + + Objekt pro porovnání + + Číslo se znaménkem označující relativní hodnoty této instance a hodnoty + + + Thrown when the object passed in is not an instance of . + + + + + Vrátí objekt IEnumerator, jehož délka je odvozená od + vlastnosti dat. + + Objekt IEnumerator + + + + Vrátí objekt GenericParameterHelper, který se rovná + aktuálnímu objektu. + + Klonovaný objekt + + + + Umožňuje uživatelům protokolovat/zapisovat trasování z testů jednotek pro účely diagnostiky. + + + + + Obslužná rutina pro LogMessage + + Zpráva, kterou chcete zaprotokolovat + + + + Událost pro naslouchání. Dojde k ní, když autor testů jednotek napíše zprávu. + Určeno především pro použití adaptérem. + + + + + Rozhraní API pro volání zpráv protokolu zapisovačem testu + + Formátovací řetězec se zástupnými symboly + Parametry pro zástupné symboly + + + + Atribut TestCategory, používá se pro zadání kategorie testu jednotek. + + + + + Inicializuje novou instanci třídy a zavede pro daný test kategorii. + + + Kategorie testu + + + + + Získá kategorie testu, které se nastavily pro test. + + + + + Základní třída atributu Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializuje novou instanci třídy . + Tuto kategorii zavede pro daný test. Řetězce vrácené z TestCategories + se použijí spolu s příkazem /category k filtrování testů. + + + + + Získá kategorii testu, která se nastavila pro test. + + + + + Třída AssertFailedException. Používá se pro značení chyby testovacího případu. + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Kolekce pomocných tříd pro testování nejrůznějších podmínek v rámci + testů jednotek. Pokud se testovaná podmínka nesplní, vyvolá se + výjimka. + + + + + Získá instanci typu singleton funkce Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is false. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is true. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null. + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Vyvolá výjimku AssertFailedException. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Statická přetížení operátoru rovnosti se používají k porovnání rovnosti odkazů na instance + dvou typů. Tato metoda by se neměla používat k porovnání rovnosti dvou + instancí. Tento objekt vždy vyvolá Assert.Fail. Ve svých testech + jednotek prosím použijte Assert.AreEqual a přidružená přetížení. + + Objekt A + Objekt B + Vždy nepravda. + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Nahradí znaky null ('\0') řetězcem "\\0". + + + Řetězec, který se má hledat + + + Převedený řetězec se znaky Null nahrazený řetězcem "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Pomocná funkce, která vytváří a vyvolává výjimku AssertionFailedException + + + název kontrolního výrazu, který vyvolává výjimku + + + zpráva popisující podmínky neplatnosti kontrolního výrazu + + + Parametry + + + + + Ověří parametr pro platné podmínky. + + + Parametr + + + Název kontrolního výrazu + + + název parametru + + + zpráva pro neplatnou výjimku parametru + + + Parametry + + + + + Bezpečně převede objekt na řetězec, včetně zpracování hodnot null a znaků null. + Hodnoty null se převádějí na formát (null). Znaky null se převádějí na \\0. + + + Objekt, který chcete převést na řetězec + + + Převedený řetězec + + + + + Kontrolní výraz řetězce + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not end with + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if matches . + + + + + Kolekce tříd pomocných služeb pro ověřování nejrůznějších podmínek vztahujících se + na kolekce v rámci testů jednotek. Pokud se testovaná podmínka + nesplní, vyvolá se výjimka. + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is found in + . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a null element is found in . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Určuje, jestli první kolekce je podmnožinou druhé + kolekce. Pokud některá z množin obsahuje duplicitní prvky, musí počet + výskytů prvku v podmnožině být menší, nebo + se musí rovnat počtu výskytů v nadmnožině. + + + Kolekce, která podle testu má být obsažena v nadmnožině . + + + Kolekce, která podle testu má obsahovat . + + + Pravda, pokud je podmnožinou + , jinak nepravda. + + + + + Vytvoří slovník obsahující počet výskytů jednotlivých + prvků v zadané kolekci. + + + Kolekce, kterou chcete zpracovat + + + Počet prvků Null v kolekci + + + Slovník obsahující počet výskytů jednotlivých prvků + v zadané kolekci. + + + + + Najde mezi dvěma kolekcemi neshodný prvek. Neshodný + prvek je takový, který má v očekávané kolekci + odlišný počet výskytů ve srovnání se skutečnou kolekcí. Kolekce + se považují za rozdílné reference bez hodnoty null se + stejným počtem prvků. Za tuto úroveň ověření odpovídá + volající. Pokud neexistuje žádný neshodný prvek, funkce vrátí + false a neměli byste použít parametry Out. + + + První kolekce, která se má porovnat + + + Druhá kolekce k porovnání + + + Očekávaný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Skutečný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Neshodný prvek (může být Null) nebo Null, pokud neexistuje žádný + neshodný prvek. + + + pravda, pokud je nalezen nevyhovující prvek; v opačném případě nepravda. + + + + + Porovná objekt pomocí atributu object.Equals. + + + + + Základní třída pro výjimky architektury + + + + + Inicializuje novou instanci třídy . + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Třída prostředků se silnými typy pro vyhledávání lokalizovaných řetězců atd. + + + + + Vrátí v mezipaměti uloženou instanci ResourceManager použitou touto třídou. + + + + + Přepíše vlastnost CurrentUICulture aktuálního vlákna pro všechna + vyhledávání prostředků pomocí této třídy prostředků silného typu. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Přístupový řetězec má neplatnou syntaxi. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekávaná kolekce obsahuje počet výskytů {1} <{2}>. Skutečná kolekce obsahuje tento počet výskytů: {3}. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Našla se duplicitní položka:<{1}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekáváno:<{1}>. Případ je rozdílný pro skutečnou hodnotu:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekává rozdíl maximálně <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekáváno:<{1} ({2})>. Skutečnost:<{3} ({4})>. {0}. + + + + + Vyhledá řetězec podobný řetězci Očekáváno:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekával rozdíl větší než <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávala se libovolná hodnota s výjimkou:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevkládejte hodnotu typů do AreSame(). Hodnoty převedené na typ Object nebudou nikdy stejné. Zvažte možnost použít AreEqual(). {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Chyba {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: async TestMethod s atributem UITestMethodAttribute se nepodporují. Buď odeberte async, nebo použijte TestMethodAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce jsou prázdné. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejný prvek. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě reference kolekce odkazují na stejný objekt kolekce. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejné prvky. {0}. + + + + + Vyhledá řetězec podobný řetězci {0}({1}). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (null). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (objekt). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} neobsahuje řetězec {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} ({1}). + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Atribut Assert.Equals by se neměl používat pro kontrolní výrazy. Použijte spíše Assert.AreEqual a přetížení. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Počet prvků v kolekci se neshoduje. Očekáváno:<{1}>. Skutečnost:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {0} se neshoduje. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Prvek indexu {1} je neočekávaného typu. Očekávaný typ:<{2}>. Skutečný typ:<{3}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {1} je (null). Očekávaný typ:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nekončí řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Neplatný argument: EqualsTester nemůže použít hodnoty null. + + + + + Vyhledá řetězec podobný řetězci Nejde převést objekt typu {0} na {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Interní odkazovaný objekt už není platný. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Parametr {0} je neplatný. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Vlastnost {0} má typ {1}; očekávaný typ {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} Očekávaný typ:<{1}>. Skutečný typ:<{2}>. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se neshoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Nesprávný typ:<{1}>. Skutečný typ:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se shoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nezadal se žádný atribut DataRowAttribute. K atributu DataTestMethodAttribute se vyžaduje aspoň jeden atribut DataRowAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevyvolala se žádná výjimka. Očekávala se výjimka {1}. {0}. + + + + + Vyhledá lokalizované řetězce podobné tomuto: Parametr {0} je neplatný. Hodnota nemůže být null. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Rozdílný počet prvků. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Konstruktor se zadaným podpisem se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru objektu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Zadaný člen ({0}) se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru atributu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nezačíná řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávaný typ výjimky musí být System.Exception nebo typ odvozený od System.Exception. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (Z důvodu výjimky se nepodařilo získat zprávu pro výjimku typu {0}.). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Testovací metoda nevyvolala očekávanou výjimku {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda nevyvolala výjimku. Atribut {0} definovaný testovací metodou očekával výjimku. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, ale očekávala se výjimka {1}. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, očekávala se ale odvozená výjimka {1} nebo typ. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Vyvolala se výjimka {2}, ale očekávala se výjimka {1}. {0} + Zpráva o výjimce: {3} + Trasování zásobníku: {4} + + + + + Výsledky testu jednotek + + + + + Test se provedl, ale došlo k problémům. + Problémy se můžou týkat výjimek nebo neúspěšných kontrolních výrazů. + + + + + Test se dokončil, ale není možné zjistit, jestli byl úspěšný, nebo ne. + Dá se použít pro zrušené testy. + + + + + Test se provedl zcela bez problémů. + + + + + V tuto chvíli probíhá test. + + + + + Při provádění testu došlo k chybě systému. + + + + + Časový limit testu vypršel. + + + + + Test byl zrušen uživatelem. + + + + + Test je v neznámém stavu. + + + + + Poskytuje pomocnou funkci pro systém pro testy jednotek. + + + + + Rekurzivně získá zprávy o výjimce, včetně zpráv pro všechny vnitřní + výjimky. + + Výjimka pro načítání zpráv pro + řetězec s informacemi v chybové zprávě + + + + Výčet pro časové limity, který se dá použít spolu s třídou . + Typ výčtu musí odpovídat + + + + + Nekonečno + + + + + Atribut třídy testu + + + + + Získá atribut testovací metody, který umožní spustit tento test. + + Instance atributu testovací metody definované v této metodě. + Typ Použije se ke spuštění tohoto testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atribut testovací metody + + + + + Spustí testovací metodu. + + Testovací metoda, která se má spustit. + Pole objektů TestResult, které představuje výsledek (nebo výsledky) daného testu. + Extensions can override this method to customize running a TestMethod. + + + + Atribut inicializace testu + + + + + Atribut vyčištění testu + + + + + Atribut ignore + + + + + Atribut vlastnosti testu + + + + + Inicializuje novou instanci třídy . + + + Název + + + Hodnota + + + + + Získá název. + + + + + Získá hodnotu. + + + + + Atribut inicializace třídy + + + + + Atribut vyčištění třídy + + + + + Atribut inicializace sestavení + + + + + Atribut vyčištění sestavení + + + + + Vlastník testu + + + + + Inicializuje novou instanci třídy . + + + Vlastník + + + + + Získá vlastníka. + + + + + Atribut priority, používá se pro určení priority testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Priorita + + + + + Získá prioritu. + + + + + Popis testu + + + + + Inicializuje novou instanci třídy , která popíše test. + + Popis + + + + Získá popis testu. + + + + + Identifikátor URI struktury projektů CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI struktury projektů CSS. + + Identifikátor URI struktury projektů CSS + + + + Získá identifikátor URI struktury projektů CSS. + + + + + Identifikátor URI iterace CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI iterace CSS. + + Identifikátor URI iterace CSS + + + + Získá identifikátor URI iterace CSS. + + + + + Atribut WorkItem, používá se pro zadání pracovní položky přidružené k tomuto testu. + + + + + Inicializuje novou instanci třídy pro atribut WorkItem. + + ID pro pracovní položku + + + + Získá ID k přidružené pracovní položce. + + + + + Atribut časového limitu, používá se pro zadání časového limitu testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Časový limit + + + + + Inicializuje novou instanci třídy s předem nastaveným časovým limitem. + + + Časový limit + + + + + Získá časový limit. + + + + + Objekt TestResult, který se má vrátit adaptéru + + + + + Inicializuje novou instanci třídy . + + + + + Získá nebo nastaví zobrazovaný název výsledku. Vhodné pro vrácení většího počtu výsledků. + Pokud je null, jako DisplayName se použije název metody. + + + + + Získá nebo nastaví výsledek provedení testu. + + + + + Získá nebo nastaví výjimku vyvolanou při chybě testu. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo načte trasování ladění testovacího kódu. + + + + + Gets or sets the debug traces by test code. + + + + + Získá nebo nastaví délku trvání testu. + + + + + Získá nebo nastaví index řádku dat ve zdroji dat. Nastavte pouze pro výsledky jednoho + spuštění řádku dat v testu řízeném daty. + + + + + Získá nebo nastaví návratovou hodnotu testovací metody. (Aktuálně vždy null) + + + + + Získá nebo nastaví soubory s výsledky, které připojil test. + + + + + Určuje připojovací řetězec, název tabulky a metodu přístupu řádku pro testování řízené daty. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Název výchozího poskytovatele pro DataSource + + + + + Výchozí metoda pro přístup k datům + + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat, připojovacím řetězcem, tabulkou dat a přístupovou metodou k datům, pomocí kterých se získá přístup ke zdroji dat. + + Název poskytovatele neutrálních dat, jako je System.Data.SqlClient + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + Určuje pořadí přístupu k datům. + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s připojovacím řetězcem a názvem tabulky. + Zadejte připojovací řetězec a tabulku dat, pomocí kterých se získá přístup ke zdroji dat OLEDB. + + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat a připojovacím řetězcem přidruženým k názvu nastavení. + + Název zdroje dat nalezený v oddílu <microsoft.visualstudio.qualitytools> souboru app.config. + + + + Získá hodnotu představující poskytovatele dat zdroje dat. + + + Název poskytovatele dat. Pokud poskytovatel dat nebyl při inicializaci objektu zadán, bude vrácen výchozí poskytovatel System.Data.OleDb. + + + + + Získá hodnotu představující připojovací řetězec zdroje dat. + + + + + Získá hodnotu označující název tabulky poskytující data. + + + + + Získá metodu používanou pro přístup ke zdroji dat. + + + + Jedna z těchto položek: . Pokud není inicializován, vrátí výchozí hodnotu . + + + + + Získá název zdroje dat nalezeného v části <microsoft.visualstudio.qualitytools> v souboru app.config. + + + + + Atribut testu řízeného daty, kde se data dají zadat jako vložená. + + + + + Vyhledá všechny datové řádky a spustí je. + + + Testovací metoda + + + Pole . + + + + + Spustí testovací metodu řízenou daty. + + Testovací metoda, kterou chcete provést. + Datový řádek + Výsledek provedení + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..ae6802605 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod für die Ausführung. + + + + + Ruft den Namen der Testmethode ab. + + + + + Ruft den Namen der Testklasse ab. + + + + + Ruft den Rückgabetyp der Testmethode ab. + + + + + Ruft die Parameter der Testmethode ab. + + + + + Ruft die methodInfo der Testmethode ab. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Ruft die Testmethode auf. + + + An die Testmethode zu übergebende Argumente (z. B. für datengesteuerte Tests). + + + Das Ergebnis des Testmethodenaufrufs. + + + This call handles asynchronous test methods as well. + + + + + Ruft alle Attribute der Testmethode ab. + + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Alle Attribute. + + + + + Ruft ein Attribut eines bestimmten Typs ab. + + System.Attribute type. + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Die Attribute des angegebenen Typs. + + + + + Das Hilfsprogramm. + + + + + Der check-Parameter ungleich null. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws argument null exception when parameter is null. + + + + Der check-Parameter ungleich null oder leer. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws ArgumentException when parameter is null. + + + + Enumeration für die Art des Zugriffs auf Datenzeilen in datengesteuerten Tests. + + + + + Zeilen werden in sequenzieller Reihenfolge zurückgegeben. + + + + + Zeilen werden in zufälliger Reihenfolge zurückgegeben. + + + + + Attribut zum Definieren von Inlinedaten für eine Testmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Das Datenobjekt. + + + + Initialisiert eine neue Instanz der -Klasse, die ein Array aus Argumenten akzeptiert. + + Ein Datenobjekt. + Weitere Daten. + + + + Ruft Daten für den Aufruf der Testmethode ab. + + + + + Ruft den Anzeigenamen in den Testergebnissen für die Anpassung ab. + + + + + Die nicht eindeutige Assert-Ausnahme. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Die InternalTestFailureException-Klasse. Wird zum Angeben eines internen Fehlers für einen Testfall verwendet. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ein Attribut, das angibt, dass eine Ausnahme des angegebenen Typs erwartet wird + + + + + Initialisiert eine neue Instanz der -Klasse mit dem erwarteten Typ + + Der Typ der erwarteten Ausnahme. + + + + Initialisiert eine neue Instanz der-Klasse mit + dem erwarteten Typ und der einzuschließenden Meldung, wenn vom Test keine Ausnahme ausgelöst wurde. + + Der Typ der erwarteten Ausnahme. + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft einen Wert ab, der den Typ der erwarteten Ausnahme angibt. + + + + + Ruft einen Wert ab, der angibt, ob es zulässig ist, dass vom Typ der erwarteten Ausnahme abgeleitete Typen + als erwartet qualifiziert werden. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Überprüft, ob der Typ der vom Komponententest ausgelösten Ausnahme erwartet wird. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Basisklasse für Attribute, die angeben, dass eine Ausnahme aus einem Komponententest erwartet wird. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer standardmäßigen "no-exception"-Meldung. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer 2no-exception"-Meldung + + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, + weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die standardmäßige Nichtausnahmemeldung ab. + + Der Typname des ExpectedException-Attributs. + Die standardmäßige Nichtausnahmemeldung. + + + + Ermittelt, ob die Annahme erwartet ist. Wenn die Methode zurückkehrt, wird davon ausgegangen, + dass die Annahme erwartet war. Wenn die Methode eine Ausnahme auslöst, + wird davon ausgegangen, dass die Ausnahme nicht erwartet war, und die Meldung + der ausgelösten Ausnahme wird in das Testergebnis eingeschlossen. Die -Klasse wird aus Gründen der + Zweckmäßigkeit bereitgestellt. Wenn verwendet wird und ein Fehler der Assertion auftritt, + wird das Testergebnis auf Inconclusive festgelegt. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Löst die Ausnahme erneut aus, wenn es sich um eine AssertFailedException oder eine AssertInconclusiveException handelt. + + Die Ausnahme, die erneut ausgelöst werden soll, wenn es sich um eine Assertionausnahme handelt. + + + + Diese Klasse unterstützt Benutzer beim Ausführen von Komponententests für Typen, die generische Typen verwenden. + GenericParameterHelper erfüllt einige allgemeine generische Typeinschränkungen, + beispielsweise: + 1. öffentlicher Standardkonstruktor + 2. implementiert allgemeine Schnittstellen: IComparable, IEnumerable + + + + + Initialisiert eine neue Instanz der -Klasse, die + die Einschränkung "newable" in C#-Generika erfüllt. + + + This constructor initializes the Data property to a random value. + + + + + Initialisiert eine neue Instanz der-Klasse, die + die Data-Eigenschaft mit einem vom Benutzer bereitgestellten Wert initialisiert. + + Ein Integerwert + + + + Ruft die Daten ab oder legt sie fest. + + + + + Führt den Wertvergleich für zwei GenericParameterHelper-Objekte aus. + + Das Objekt, mit dem der Vergleich ausgeführt werden soll. + TRUE, wenn das Objekt den gleichen Wert wie "dieses" GenericParameterHelper-Objekt aufweist. + Andernfalls FALSE. + + + + Gibt einen Hashcode für diese Objekt zurück. + + Der Hash. + + + + Vergleicht die Daten der beiden -Objekte. + + Das Objekt, mit dem verglichen werden soll. + + Eine signierte Zahl, die die relativen Werte dieser Instanz und dieses Werts angibt. + + + Thrown when the object passed in is not an instance of . + + + + + Gibt ein IEnumerator-Objekt zurück, dessen Länge aus + der Data-Eigenschaft abgeleitet ist. + + Das IEnumerator-Objekt + + + + Gibt ein GenericParameterHelper-Objekt zurück, das gleich + dem aktuellen Objekt ist. + + Das geklonte Objekt. + + + + Ermöglicht Benutzern das Protokollieren/Schreiben von Ablaufverfolgungen aus Komponententests für die Diagnose. + + + + + Handler für LogMessage. + + Die zu protokollierende Meldung. + + + + Zu überwachendes Ereignis. Wird ausgelöst, wenn der Komponententestwriter eine Meldung schreibt. + Wird hauptsächlich von Adaptern verwendet. + + + + + Vom Testwriter aufzurufende API zum Protokollieren von Meldungen. + + Das Zeichenfolgenformat mit Platzhaltern. + Parameter für Platzhalter. + + + + Das TestCategory-Attribut. Wird zum Angeben der Kategorie eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse und wendet die Kategorie auf den Test an. + + + Die test-Kategorie. + + + + + Ruft die Testkategorien ab, die auf den Test angewendet wurden. + + + + + Die Basisklasse für das Category-Attribut. + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialisiert eine neue Instanz der -Klasse. + Wendet die Kategorie auf den Test an. Die von TestCategories + zurückgegebenen Zeichenfolgen werden mit dem Befehl "/category" zum Filtern von Tests verwendet. + + + + + Ruft die Testkategorie ab, die auf den Test angewendet wurde. + + + + + Die AssertFailedException-Klasse. Wird zum Angeben eines Fehlers für einen Testfall verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen in + Komponententests. Wenn die getestete Bedingung nicht erfüllt wird, wird eine Ausnahme + ausgelöst. + + + + + Ruft die Singleton-Instanz der Assert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is true. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null. + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Löst eine AssertFailedException aus. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Statische equals-Überladungen werden zum Vergleichen von Instanzen zweier Typen für + Verweisgleichheit verwendet. Diese Methode sollte nicht zum Vergleichen von zwei Instanzen auf + Gleichheit verwendet werden. Dieses Objekt löst immer einen Assert.Fail aus. Verwenden Sie + Assert.AreEqual und zugehörige Überladungen in Ihren Komponententests. + + Objekt A + Objekt B + Immer FALSE. + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Ersetzt Nullzeichen ("\0") durch "\\0". + + + Die Zeichenfolge, nach der gesucht werden soll. + + + Die konvertierte Zeichenfolge, in der Nullzeichen durch "\\0" ersetzt wurden. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Eine Hilfsfunktion, die eine AssertionFailedException erstellt und auslöst. + + + Der Name der Assertion, die eine Ausnahme auslöst. + + + Eine Meldung, die Bedingungen für den Assertionfehler beschreibt. + + + Die Parameter. + + + + + Überprüft den Parameter auf gültige Bedingungen. + + + Der Parameter. + + + Der Name der Assertion. + + + Parametername + + + Meldung für die ungültige Parameterausnahme. + + + Die Parameter. + + + + + Konvertiert ein Objekt sicher in eine Zeichenfolge und verarbeitet dabei NULL-Werte und Nullzeichen. + NULL-Werte werden in "(null)" konvertiert. Nullzeichen werden in "\\0" konvertiert". + + + Das Objekt, das in eine Zeichenfolge konvertiert werden soll. + + + Die konvertierte Zeichenfolge. + + + + + Die Zeichenfolgenassertion. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if matches . + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen, die + Sammlungen in Komponententests zugeordnet sind. Wenn die getestete Bedingung nicht + erfüllt wird, wird eine Ausnahme ausgelöst. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if every element in is also found in + . + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Ermittelt, ob die erste Sammlung eine Teilmenge der zweiten + Sammlung ist. Wenn eine der Mengen Elementduplikate enthält, muss die Anzahl + der Vorkommen des Elements in der Teilmenge kleiner oder + gleich der Anzahl der Vorkommen in der Obermenge sein. + + + Die Sammlung, von der der Test erwartet, dass sie enthalten ist in . + + + Die Sammlung, von der der Test erwartet, dass sie Folgendes enthält: . + + + TRUE, wenn: eine Teilmenge ist von + , andernfalls FALSE. + + + + + Generiert ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + Die zu verarbeitende Sammlung. + + + Die Anzahl der Nullelemente in der Sammlung. + + + Ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + + + Findet ein nicht übereinstimmendes Element in den beiden Sammlungen. Ein nicht übereinstimmendes + Element ist ein Element, für das sich die Anzahl der Vorkommen in der + erwarteten Sammlung von der Anzahl der Vorkommen in der tatsächlichen Sammlung unterscheidet. Von den + Sammlungen wird angenommen, dass unterschiedliche Verweise ungleich null mit der + gleichen Anzahl von Elementen vorhanden sind. Der Aufrufer ist für diese Ebene + der Überprüfung verantwortlich. Wenn kein nicht übereinstimmendes Element vorhanden ist, gibt die Funktion FALSE + zurück, und die out-Parameter sollten nicht verwendet werden. + + + Die erste zu vergleichende Sammlung. + + + Die zweite zu vergleichende Sammlung. + + + Die erwartete Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Die tatsächliche Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Das nicht übereinstimmende Element (kann NULL sein) oder NULL, wenn kein nicht + übereinstimmendes Element vorhanden ist. + + + TRUE, wenn ein nicht übereinstimmendes Element gefunden wurde, andernfalls FALSE. + + + + + vergleicht die Objekte mithilfe von object.Equals + + + + + Basisklasse für Frameworkausnahmen. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Eine stark typisierte Ressourcenklasse zum Suchen nach lokalisierten Zeichenfolgen usw. + + + + + Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + + + + + Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + Ressourcensuchen mithilfe dieser stark typisierten Ressourcenklasse. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zugriffszeichenfolge weist ungültige Syntax auf." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartete Sammlung enthält {1} Vorkommen von <{2}>. Die tatsächliche Sammlung enthält {3} Vorkommen. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Elementduplikat gefunden: <{1}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Groß-/Kleinschreibung unterscheidet sich für den tatsächlichen Wert: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz nicht größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1} ({2})>. Tatsächlich: <{3} ({4})>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beliebiger Wert erwartet, ausgenommen: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Übergeben Sie keine Werttypen an AreSame(). In Object konvertierte Werte sind nie gleich. Verwenden Sie ggf. AreEqual(). {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Fehler von {0}. {1}" nach. + + + + + Sucht nach einer lokalisierten Zeichenfolge ähnlich der folgenden: "async TestMethod" wird mit UITestMethodAttribute nicht unterstützt. Entfernen Sie "async", oder verwenden Sie TestMethodAttribute. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen sind leer. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungsverweise zeigen auf das gleiche Sammlungsobjekt. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0}({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(null)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(object)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' enthält nicht Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} ({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Assert.Equals sollte für Assertionen nicht verwendet werden. Verwenden Sie stattdessen Assert.AreEqual & Überladungen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Anzahl der Elemente in den Sammlungen stimmt nicht überein. Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {0} stimmt nicht überein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} weist nicht den erwarteten Typ auf. Erwarteter Typ: <{2}>. Tatsächlicher Typ: <{3}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} ist (null). Erwarteter Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' endet nicht mit Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ungültiges Argument: EqualsTester darf keine NULL-Werte verwenden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Objekt vom Typ {0} kann nicht in {1} konvertiert werden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Das referenzierte interne Objekt ist nicht mehr gültig." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Eigenschaft {0} weist den Typ {1} auf. Erwartet wurde der Typ {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} Erwarteter Typ: <{1}>. Tatsächlicher Typ: <{2}>." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt nicht mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Falscher Typ: <{1}>. Tatsächlicher Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Kein DataRowAttribute angegeben. Mindestens ein DataRowAttribute ist mit DataTestMethodAttribute erforderlich." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Keine Ausnahme ausgelöst. {1}-Ausnahme wurde erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. Der Wert darf nicht NULL sein. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Unterschiedliche Anzahl von Elementen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der Konstruktor mit der angegebenen Signatur wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der angegebene Member ({0}) wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Zeichenfolge '{0}' beginnt nicht mit der Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der erwartete Ausnahmetyp muss System.Exception oder ein von System.Exception abgeleiteter Typ sein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(Fehler beim Abrufen der Meldung vom Typ {0} aufgrund einer Ausnahme.)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat erwartete Ausnahme {0} nicht ausgelöst. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Testmethode hat keine Ausnahme ausgelöst. Vom Attribut {0}, das für die Testmethode definiert ist, wurde eine Ausnahme erwartet." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} oder ein davon abgeleiteter Typ wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ausnahme {2} wurde ausgelöst, aber Ausnahme {1} wurde erwartet. {0} + Ausnahmemeldung: {3} + Stapelüberwachung: {4}" nach. + + + + + Ergebnisse des Komponententests + + + + + Der Test wurde ausgeführt, aber es gab Probleme. + Möglicherweise liegen Ausnahmen oder Assertionsfehler vor. + + + + + Der Test wurde abgeschlossen, es lässt sich aber nicht sagen, ob er bestanden wurde oder fehlerhaft war. + Kann für abgebrochene Tests verwendet werden. + + + + + Der Test wurde ohne Probleme ausgeführt. + + + + + Der Test wird zurzeit ausgeführt. + + + + + Systemfehler beim Versuch, einen Test auszuführen. + + + + + Timeout des Tests. + + + + + Der Test wurde vom Benutzer abgebrochen. + + + + + Der Test weist einen unbekannten Zustand auf. + + + + + Stellt Hilfsfunktionen für das Komponententestframework bereit. + + + + + Ruft die Ausnahmemeldungen (einschließlich der Meldungen für alle inneren Ausnahmen) + rekursiv ab. + + Ausnahme, für die Meldungen abgerufen werden sollen + Zeichenfolge mit Fehlermeldungsinformationen + + + + Enumeration für Timeouts, die mit der -Klasse verwendet werden kann. + Der Typ der Enumeration muss entsprechen: + + + + + Unendlich. + + + + + Das Testklassenattribut. + + + + + Erhält ein Testmethodenattribut, das die Ausführung des Tests ermöglicht. + + Die für diese Methode definierte Attributinstanz der Testmethode. + Diezum Ausführen dieses Tests + Extensions can override this method to customize how all methods in a class are run. + + + + Das Testmethodenattribut. + + + + + Führt eine Testmethode aus. + + Die auszuführende Textmethode. + Ein Array aus TestResult-Objekten, die für die Ergebnisses des Tests stehen. + Extensions can override this method to customize running a TestMethod. + + + + Das Testinitialisierungsattribut. + + + + + Das Testbereinigungsattribut. + + + + + Das Ignorierattribut. + + + + + Das Testeigenschaftattribut. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Der Name. + + + Der Wert. + + + + + Ruft den Namen ab. + + + + + Ruft den Wert ab. + + + + + Das Klasseninitialisierungsattribut. + + + + + Das Klassenbereinigungsattribut. + + + + + Das Assemblyinitialisierungsattribut. + + + + + Das Assemblybereinigungsattribut. + + + + + Der Testbesitzer. + + + + + Initialisiert eine neue Instanz der-Klasse. + + + Der Besitzer. + + + + + Ruft den Besitzer ab. + + + + + Prioritätsattribut. Wird zum Angeben der Priorität eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Die Priorität. + + + + + Ruft die Priorität ab. + + + + + Die Beschreibung des Tests. + + + + + Initialisiert eine neue Instanz der -Klasse zum Beschreiben eines Tests. + + Die Beschreibung. + + + + Ruft die Beschreibung eines Tests ab. + + + + + Der URI der CSS-Projektstruktur. + + + + + Initialisiert eine neue Instanz der -Klasse der CSS Projektstruktur-URI. + + Der CSS-Projektstruktur-URI. + + + + Ruft den CSS-Projektstruktur-URI ab. + + + + + Der URI der CSS-Iteration. + + + + + Initialisiert eine neue Instanz der-Klasse für den CSS Iterations-URI. + + Der CSS-Iterations-URI. + + + + Ruft den CSS-Iterations-URI ab. + + + + + WorkItem-Attribut. Wird zum Angeben eines Arbeitselements verwendet, das diesem Test zugeordnet ist. + + + + + Initialisiert eine neue Instanz der-Klasse für das WorkItem-Attribut. + + Die ID eines Arbeitselements. + + + + Ruft die ID für ein zugeordnetes Arbeitselement ab. + + + + + Timeoutattribut. Wird zum Angeben des Timeouts eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Das Timeout. + + + + + Initialisiert eine neue Instanz der -Klasse mit einem voreingestellten Timeout. + + + Das Timeout. + + + + + Ruft das Timeout ab. + + + + + Das TestResult-Objekt, das an den Adapter zurückgegeben werden soll. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ruft den Anzeigenamen des Ergebnisses ab oder legt ihn fest. Hilfreich, wenn mehrere Ergebnisse zurückgegeben werden. + Wenn NULL, wird der Methodenname als DisplayName verwendet. + + + + + Ruft das Ergebnis der Testausführung ab oder legt es fest. + + + + + Ruft die Ausnahme ab, die bei einem Testfehler ausgelöst wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Debugablaufverfolgungen nach Testcode fest oder legt sie fest. + + + + + Gets or sets the debug traces by test code. + + + + + Ruft die Dauer der Testausführung ab oder legt sie fest. + + + + + Ruft den Datenzeilenindex in der Datenquelle ab, oder legt ihn fest. Nur festgelegt für Ergebnisse einer individuellen + Ausführung einer Datenzeile eines datengesteuerten Tests. + + + + + Ruft den Rückgabewert der Testmethode ab (zurzeit immer NULL). + + + + + Ruft die vom Test angehängten Ergebnisdateien ab, oder legt sie fest. + + + + + Gibt die Verbindungszeichenfolge, den Tabellennamen und die Zeilenzugriffsmethode für datengesteuerte Tests an. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Der Standardanbietername für DataSource. + + + + + Die standardmäßige Datenzugriffsmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter, einer Verbindungszeichenfolge, einer Datentabelle und einer Datenzugriffsmethode für den Zugriff auf die Daten initialisiert. + + Invarianter Datenanbietername, z. B. "System.Data.SqlClient" + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + Gibt die Reihenfolge für den Datenzugriff an. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einer Verbindungszeichenfolge und einem Tabellennamen initialisiert. + Geben Sie eine Verbindungszeichenfolge und Datentabelle an, um auf die OLEDB-Datenquelle zuzugreifen. + + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter und einer Verbindungszeichenfolge mit dem Namen der Einstellung initialisiert. + + Der Name einer Datenquelle, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + Ruft einen Wert ab, der den Datenanbieter der Datenquelle darstellt. + + + Der Name des Datenanbieters. Wenn kein Datenanbieter während der Objektinitialisierung festgelegt wurde, wird der Standardanbieter "System.Data.OleDb" zurückgegeben. + + + + + Ruft einen Wert ab, der die Verbindungszeichenfolge für die Datenquelle darstellt. + + + + + Ruft einen Wert ab, der den Tabellennamen angibt, der Daten bereitstellt. + + + + + Ruft die Methode ab, die für den Zugriff auf die Datenquelle verwendet wird. + + + + Einer der-Werte. Wenn das nicht initialisiert wurde, wird der Standardwert zurückgegeben. . + + + + + Ruft den Namen einer Datenquelle ab, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + + Ein Attribut für datengesteuerte Tests, in denen Daten inline angegeben werden können. + + + + + Ermittelt alle Datenzeilen und beginnt mit der Ausführung. + + + Die test-Methode. + + + Ein Array aus . + + + + + Führt die datengesteuerte Testmethode aus. + + Die auszuführende Testmethode. + Die Datenzeile. + Ergebnisse der Ausführung. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..5b05af931 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4199 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atributo TestMethod para la ejecución. + + + + + Obtiene el nombre del método de prueba. + + + + + Obtiene el nombre de la clase de prueba. + + + + + Obtiene el tipo de valor devuelto del método de prueba. + + + + + Obtiene los parámetros del método de prueba. + + + + + Obtiene el valor de methodInfo para el método de prueba. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca el método de prueba. + + + Argumentos que se pasan al método de prueba (por ejemplo, controlada por datos) + + + Resultado de la invocación del método de prueba. + + + This call handles asynchronous test methods as well. + + + + + Obtiene todos los atributos del método de prueba. + + + Indica si el atributo definido en la clase primaria es válido. + + + Todos los atributos. + + + + + Obtiene un atributo de un tipo específico. + + System.Attribute type. + + Indica si el atributo definido en la clase primaria es válido. + + + Atributos del tipo especificado. + + + + + Elemento auxiliar. + + + + + Parámetro de comprobación no NULL. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws argument null exception when parameter is null. + + + + Parámetro de comprobación no NULL o vacío. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws ArgumentException when parameter is null. + + + + Enumeración de cómo se accede a las filas de datos en las pruebas controladas por datos. + + + + + Las filas se devuelven en orden secuencial. + + + + + Las filas se devuelven en orden aleatorio. + + + + + Atributo para definir los datos insertados de un método de prueba. + + + + + Inicializa una nueva instancia de la clase . + + Objeto de datos. + + + + Inicializa una nueva instancia de la clase , que toma una matriz de argumentos. + + Objeto de datos. + Más datos. + + + + Obtiene datos para llamar al método de prueba. + + + + + Obtiene o establece el nombre para mostrar en los resultados de pruebas para personalizarlo. + + + + + Excepción de aserción no concluyente. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Clase InternalTestFailureException. Se usa para indicar un error interno de un caso de prueba. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + + + + Inicializa una nueva instancia de la clase . + + + + + Atributo que indica que debe esperarse una excepción del tipo especificado. + + + + + Inicializa una nueva instancia de la clase con el tipo esperado. + + Tipo de la excepción esperada + + + + Inicializa una nueva instancia de la clase + con el tipo esperado y el mensaje para incluir cuando la prueba no produce una excepción. + + Tipo de la excepción esperada + + Mensaje que se incluye en el resultado de la prueba si esta no se supera debido a que no se inicia una excepción + + + + + Obtiene un valor que indica el tipo de la excepción esperada. + + + + + Obtiene o establece un valor que indica si se permite que los tipos derivados del tipo de la excepción esperada + se consideren también como esperados. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Comprueba que el tipo de la excepción producida por la prueba unitaria es el esperado. + + Excepción que inicia la prueba unitaria + + + + Clase base para atributos que especifican que se espere una excepción de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción predeterminado. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción. + + + Mensaje para incluir en el resultado de la prueba si esta no se supera debido a que no se inicia una + excepción + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje de ausencia de excepción predeterminado. + + Nombre del tipo de atributo ExpectedException + Mensaje de ausencia de excepción predeterminado + + + + Determina si se espera la excepción. Si el método devuelve un valor, se entiende + que se esperaba la excepción. Si el método produce una excepción, + se entiende que no se esperaba la excepción y se incluye el mensaje + de la misma en el resultado de la prueba. Se puede usar para mayor + comodidad. Si se utiliza y la aserción no funciona, + el resultado de la prueba se establece como No concluyente. + + Excepción que inicia la prueba unitaria + + + + Produce de nuevo la excepción si es de tipo AssertFailedException o AssertInconclusiveException. + + La excepción que se va a reiniciar si es una excepción de aserción + + + + Esta clase está diseñada para ayudar al usuario a realizar pruebas unitarias para tipos con tipos genéricos. + GenericParameterHelper satisface algunas de las restricciones de tipo genérico comunes, + como: + 1. Constructor predeterminado público. + 2. Implementa una interfaz común: IComparable, IEnumerable. + + + + + Inicializa una nueva instancia de la clase que + satisface la restricción "renovable" en genéricos de C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa una nueva instancia de la clase que + inicializa la propiedad Data con un valor proporcionado por el usuario. + + Cualquier valor entero + + + + Obtiene o establece los datos. + + + + + Compara el valor de dos objetos GenericParameterHelper. + + objeto con el que hacer la comparación + Es true si el objeto tiene el mismo valor que el objeto GenericParameterHelper "this". + De lo contrario, false. + + + + Devuelve un código hash para este objeto. + + El código hash. + + + + Compara los datos de los dos objetos . + + Objeto con el que se va a comparar. + + Número con signo que indica los valores relativos de esta instancia y valor. + + + Thrown when the object passed in is not an instance of . + + + + + Devuelve un objeto IEnumerator cuya longitud se deriva de + la propiedad Data. + + El objeto IEnumerator + + + + Devuelve un objeto GenericParameterHelper que es igual al + objeto actual. + + El objeto clonado. + + + + Permite a los usuarios registrar o escribir el seguimiento de las pruebas unitarias con fines de diagnóstico. + + + + + Controlador para LogMessage. + + Mensaje para registrar. + + + + Evento que se debe escuchar. Se genera cuando el autor de las pruebas unitarias escribe algún mensaje. + Lo consume principalmente el adaptador. + + + + + API del escritor de la prueba para llamar a los mensajes de registro. + + Formato de cadena con marcadores de posición. + Parámetros para los marcadores de posición. + + + + Atributo TestCategory. Se usa para especificar la categoría de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase y le aplica la categoría a la prueba. + + + Categoría de prueba. + + + + + Obtiene las categorías que se le han aplicado a la prueba. + + + + + Clase base del atributo "Category". + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa una nueva instancia de la clase . + Aplica la categoría a la prueba. Las cadenas que devuelve TestCategories + se usan con el comando /category para filtrar las pruebas. + + + + + Obtiene la categoría que se le ha aplicado a la prueba. + + + + + Clase AssertFailedException. Se usa para indicar el error de un caso de prueba. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Colección de clases auxiliares para probar varias condiciones en las + pruebas unitarias. Si la condición que se está probando no se cumple, se produce + una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad de Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is false. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is true. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null. + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is not equal to . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Produce una excepción AssertFailedException. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Las sobrecargas de igualdad estáticas se usan para comparar la igualdad de referencia de + instancias de dos tipos. Este método no debe usarse para comparar la igualdad de dos instancias. + Este objeto se devolverá siempre con Assert.Fail. Utilice + Assert.AreEqual y las sobrecargas asociadas en pruebas unitarias. + + Objeto A + Objeto B + False, siempre. + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Reemplaza los caracteres NULL "\0" por "\\0". + + + Cadena para buscar. + + + La cadena convertida con los caracteres NULL reemplazados por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Función auxiliar que produce una excepción AssertionFailedException. + + + nombre de la aserción que inicia una excepción + + + mensaje que describe las condiciones del error de aserción + + + Los parámetros. + + + + + Comprueba el parámetro para las condiciones válidas. + + + El parámetro. + + + Nombre de la aserción. + + + nombre de parámetro + + + mensaje de la excepción de parámetro no válido + + + Los parámetros. + + + + + Convierte un objeto en cadena de forma segura, con control de los valores y caracteres NULL. + Los valores NULL se convierten en "NULL". Los caracteres NULL se convierten en "\\0". + + + Objeto que se va a convertir en cadena. + + + La cadena convertida. + + + + + Aserción de cadena. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if matches . + + + + + Colección de clases auxiliares para probar varias condiciones asociadas + a las colecciones en las pruebas unitarias. Si la condición que se está probando no se + cumple, se produce una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is found in + . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a null element is found in . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if every element in is also found in + . + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Determina si la primera colección es un subconjunto de la + segunda. Si cualquiera de los conjuntos contiene elementos duplicados, el número + de repeticiones del elemento en el subconjunto debe ser inferior o + igual al número de repeticiones en el superconjunto. + + + Colección que la prueba espera que esté incluida en . + + + Colección que la prueba espera que contenga . + + + True si es un subconjunto de + , de lo contrario false. + + + + + Construye un diccionario que contiene el número de repeticiones de cada + elemento en la colección especificada. + + + Colección que se va a procesar. + + + Número de elementos NULL de la colección. + + + Diccionario que contiene el número de repeticiones de cada elemento + en la colección especificada. + + + + + Encuentra un elemento no coincidente entre ambas colecciones. Un elemento + no coincidente es aquel que aparece un número distinto de veces en la + colección esperada de lo que aparece en la colección real. Se + supone que las colecciones son referencias no NULL diferentes con el + mismo número de elementos. El autor de la llamada es el responsable de + este nivel de comprobación. Si no hay ningún elemento no coincidente, + la función devuelve false y no deben usarse parámetros out. + + + La primera colección para comparar. + + + La segunda colección para comparar. + + + Número esperado de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El número real de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El elemento no coincidente (puede ser nulo) o NULL si no hay ningún + elemento no coincidente. + + + Es true si se encontró un elemento no coincidente. De lo contrario, false. + + + + + compara los objetos con object.Equals. + + + + + Clase base para las excepciones de marco. + + + + + Inicializa una nueva instancia de la clase . + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Clase de recurso fuertemente tipado para buscar cadenas traducidas, etc. + + + + + Devuelve la instancia de ResourceManager almacenada en caché que usa esta clase. + + + + + Invalida la propiedad CurrentUICulture del subproceso actual para todas + las búsquedas de recursos que usan esta clase de recursos fuertemente tipados. + + + + + Busca una cadena traducida similar a "La cadena de acceso tiene una sintaxis no válida". + + + + + Busca una cadena traducida similar a "La colección esperada contiene {1} repeticiones de <{2}>. La colección actual contiene {3} repeticiones. {0}". + + + + + Busca una cadena traducida similar a "Se encontró un elemento duplicado: <{1}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>. El caso es distinto para el valor real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia no superior a <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1} ({2})>, pero es: <{3} ({4})>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia mayor que <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba cualquier valor excepto: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "No pase tipos de valor a AreSame(). Los valores convertidos a Object no serán nunca iguales. Considere el uso de AreEqual(). {0}". + + + + + Busca una cadena traducida similar a "Error de {0}. {1}". + + + + + Busca una cadena traducida similar a "No se admite un método de prueba asincrónico con UITestMethodAttribute. Quite el método asincrónico o use TestMethodAttribute. + + + + + Busca una cadena traducida similar a "Ambas colecciones están vacías". {0}. + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos". + + + + + Busca una cadena traducida similar a "Las referencias de ambas colecciones apuntan al mismo objeto de colección. {0}". + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos. {0}". + + + + + Busca una cadena traducida similar a "{0}({1})". + + + + + Busca una cadena traducida similar a "(NULL)". + + + + + Busca una cadena traducida similar a "(objeto)". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no contiene la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "{0} ({1})". + + + + + Busca una cadena traducida similar a "No se debe usar Assert.Equals para aserciones. Use Assert.AreEqual y Overloads en su lugar". + + + + + Busca una cadena traducida similar a "El número de elementos de las colecciones no coincide. Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {0} no coincide". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} no es del tipo esperado. Tipo esperado: <{2}>, tipo real: <{3}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} es (NULL). Se esperaba el tipo: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no termina con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "Argumento no válido: EqualsTester no puede utilizar valores NULL". + + + + + Busca una cadena traducida similar a "El objeto de tipo {0} no se puede convertir en {1}". + + + + + Busca una cadena traducida similar a "El objeto interno al que se hace referencia ya no es válido". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. {1}". + + + + + Busca una cadena traducida similar a "La propiedad {0} tiene el tipo {1}; se esperaba el tipo {2}". + + + + + Busca una cadena traducida similar a "{0} Tipo esperado: <{1}>. Tipo real: <{2}>". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "Tipo incorrecto: <{1}>. Tipo real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "No se especificó ningún atributo DataRowAttribute. Se requiere al menos un elemento DataRowAttribute con DataTestMethodAttribute". + + + + + Busca una cadena traducida similar a "No se produjo ninguna excepción. Se esperaba la excepción {1}. {0}". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. El valor no puede ser NULL. {1}". + + + + + Busca una cadena traducida similar a "Número diferente de elementos". + + + + + Busca una cadena traducida similar a + "No se encontró el constructor con la signatura especificada. Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a + "No se encontró el miembro especificado ({0}). Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no empieza con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "El tipo de excepción esperado debe ser System.Exception o un tipo derivado de System.Exception". + + + + + Busca una cadena traducida similar a "No se pudo obtener el mensaje para una excepción del tipo {0} debido a una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba no inició la excepción esperada {0}. {1}". + + + + + Busca una cadena traducida similar a "El método de prueba no inició una excepción. El atributo {0} definido en el método de prueba esperaba una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1}. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1} o un tipo derivado de ella. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "Se produjo la excepción {2}, pero se esperaba la excepción {1}. {0} + Mensaje de excepción: {3} + Seguimiento de la pila: {4}". + + + + + Resultados de la prueba unitaria. + + + + + La prueba se ejecutó, pero hubo problemas. + Entre estos, puede haber excepciones o aserciones con errores. + + + + + La prueba se completó, pero no podemos determinar si el resultado fue correcto o no. + Se puede usar para pruebas anuladas. + + + + + La prueba se ejecutó sin problemas. + + + + + La prueba se está ejecutando. + + + + + Error del sistema al intentar ejecutar una prueba. + + + + + Se agotó el tiempo de espera de la prueba. + + + + + El usuario anuló la prueba. + + + + + La prueba tiene un estado desconocido + + + + + Proporciona funcionalidad auxiliar para el marco de pruebas unitarias. + + + + + Obtiene los mensajes de excepción, incluidos los mensajes de todas las excepciones internas, + de forma recursiva. + + Excepción para la que se obtienen los mensajes + la cadena con información del mensaje de error + + + + Enumeración para cuando se agota el tiempo de espera que se puede usar con el atributo . + El tipo de la enumeración debe coincidir. + + + + + Infinito. + + + + + Atributo de la clase de prueba. + + + + + Obtiene un atributo de método de prueba que habilita la ejecución de esta prueba. + + La instancia de atributo de método de prueba definida en este método. + Tipo que se utilizará para ejecutar esta prueba. + Extensions can override this method to customize how all methods in a class are run. + + + + Atributo del método de prueba. + + + + + Ejecuta un método de prueba. + + El método de prueba para ejecutar. + Una matriz de objetos de TestResult que representan los resultados de la prueba. + Extensions can override this method to customize running a TestMethod. + + + + Atributo para inicializar la prueba. + + + + + Atributo de limpieza de la prueba. + + + + + Atributo de omisión. + + + + + Atributo de propiedad de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El nombre. + + + El valor. + + + + + Obtiene el nombre. + + + + + Obtiene el valor. + + + + + Atributo de inicialización de la clase. + + + + + Atributo de limpieza de la clase. + + + + + Atributo de inicialización del ensamblado. + + + + + Atributo de limpieza del ensamblado. + + + + + Propietario de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El propietario. + + + + + Obtiene el propietario. + + + + + Atributo de prioridad. Se usa para especificar la prioridad de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + La prioridad. + + + + + Obtiene la prioridad. + + + + + Descripción de la prueba. + + + + + Inicializa una nueva instancia de la clase para describir una prueba. + + La descripción. + + + + Obtiene la descripción de una prueba. + + + + + URI de estructura de proyectos de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de estructura de proyecto de CSS. + + URI de estructura de proyectos de CSS. + + + + Obtiene el URI de estructura de proyectos de CSS. + + + + + URI de iteración de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de iteración de CSS. + + URI de iteración de CSS. + + + + Obtiene el URI de iteración de CSS. + + + + + Atributo WorkItem. Se usa para especificar un elemento de trabajo asociado a esta prueba. + + + + + Inicializa una nueva instancia de la clase para el atributo WorkItem. + + Identificador de un elemento de trabajo. + + + + Obtiene el identificador de un elemento de trabajo asociado. + + + + + Atributo de tiempo de espera. Se usa para especificar el tiempo de espera de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + Tiempo de espera. + + + + + Inicializa una nueva instancia de la clase con un tiempo de espera preestablecido. + + + Tiempo de espera + + + + + Obtiene el tiempo de espera. + + + + + Objeto TestResult que debe devolverse al adaptador. + + + + + Inicializa una nueva instancia de la clase . + + + + + Obtiene o establece el nombre para mostrar del resultado. Es útil cuando se devuelven varios resultados. + Si es NULL, se utiliza el nombre del método como nombre para mostrar. + + + + + Obtiene o establece el resultado de la ejecución de pruebas. + + + + + Obtiene o establece la excepción que se inicia cuando la prueba da error. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece el seguimiento de depuración que realiza el código de la prueba. + + + + + Gets or sets the debug traces by test code. + + + + + Obtiene o establece la duración de la ejecución de la prueba. + + + + + Obtiene o establece el índice de la fila de datos en el origen de datos. Se establece solo para resultados + de ejecuciones individuales de filas de datos de una prueba controlada por datos. + + + + + Obtiene o establece el valor devuelto del método de prueba. Actualmente es siempre NULL. + + + + + Obtiene o establece los archivos de resultados que adjunta la prueba. + + + + + Especifica la cadena de conexión, el nombre de tabla y el método de acceso a fila para las pruebas controladas por datos. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nombre de proveedor predeterminado del origen de datos. + + + + + Método de acceso a datos predeterminado. + + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos, una cadena de conexión, una tabla de datos y un método de acceso a datos para acceder al origen de datos. + + Nombre invariable del proveedor de datos, como System.Data.SqlClient + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + Especifica el orden de acceso a los datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con una cadena de conexión y un nombre de tabla. + Especifique la cadena de conexión y la tabla de datos para acceder al origen de datos OLEDB. + + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos y una cadena de conexión asociada al nombre del valor de configuración. + + El nombre de un origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + Obtiene un valor que representa el proveedor de datos del origen de datos. + + + Nombre del proveedor de datos. Si no se designó un proveedor de datos al inicializar el objeto, se devolverá el proveedor predeterminado de System.Data.OleDb. + + + + + Obtiene un valor que representa la cadena de conexión para el origen de datos. + + + + + Obtiene un valor que indica el nombre de la tabla que proporciona los datos. + + + + + Obtiene el método usado para tener acceso al origen de datos. + + + + Uno de los . Si no se ha inicializado, devolverá el valor predeterminado . + + + + + Obtiene el nombre del origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + + Atributo para una prueba controlada por datos donde los datos pueden especificarse insertados. + + + + + Busca todas las filas de datos y las ejecuta. + + + El método de prueba. + + + Una matriz de . + + + + + Ejecuta el método de prueba controlada por datos. + + Método de prueba para ejecutar. + Fila de datos. + Resultados de la ejecución. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2d63dc056 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod pour exécution. + + + + + Obtient le nom de la méthode de test. + + + + + Obtient le nom de la classe de test. + + + + + Obtient le type de retour de la méthode de test. + + + + + Obtient les paramètres de la méthode de test. + + + + + Obtient le methodInfo de la méthode de test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Appelle la méthode de test. + + + Arguments à passer à la méthode de test. (Exemple : pour un test piloté par les données) + + + Résultat de l'appel de la méthode de test. + + + This call handles asynchronous test methods as well. + + + + + Obtient tous les attributs de la méthode de test. + + + Indique si l'attribut défini dans la classe parente est valide. + + + Tous les attributs. + + + + + Obtient l'attribut du type spécifique. + + System.Attribute type. + + Indique si l'attribut défini dans la classe parente est valide. + + + Attributs du type spécifié. + + + + + Assistance. + + + + + Paramètre de vérification non null. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws argument null exception when parameter is null. + + + + Paramètre de vérification non null ou vide. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws ArgumentException when parameter is null. + + + + Énumération liée à la façon dont nous accédons aux lignes de données dans les tests pilotés par les données. + + + + + Les lignes sont retournées dans un ordre séquentiel. + + + + + Les lignes sont retournées dans un ordre aléatoire. + + + + + Attribut permettant de définir les données inline d'une méthode de test. + + + + + Initialise une nouvelle instance de la classe . + + Objet de données. + + + + Initialise une nouvelle instance de la classe qui accepte un tableau d'arguments. + + Objet de données. + Plus de données. + + + + Obtient les données permettant d'appeler la méthode de test. + + + + + Obtient ou définit le nom d'affichage dans les résultats des tests à des fins de personnalisation. + + + + + Exception d'assertion non concluante. + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Classe InternalTestFailureException. Sert à indiquer l'échec interne d'un cas de test + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + + + + Initialise une nouvelle instance de la classe . + + + + + Attribut indiquant d'attendre une exception du type spécifié + + + + + Initialise une nouvelle instance de la classe avec le type attendu + + Type de l'exception attendue + + + + Initialise une nouvelle instance de la classe avec + le type attendu et le message à inclure quand aucune exception n'est levée par le test. + + Type de l'exception attendue + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient une valeur indiquant le type de l'exception attendue + + + + + Obtient ou définit une valeur indiquant si les types dérivés du type de l'exception attendue peuvent + être éligibles comme prévu + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Vérifie que le type de l'exception levée par le test unitaire est bien attendu + + Exception levée par le test unitaire + + + + Classe de base des attributs qui spécifient d'attendre une exception d'un test unitaire + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception par défaut + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception + + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une + exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message d'absence d'exception par défaut + + Nom du type de l'attribut ExpectedException + Message d'absence d'exception par défaut + + + + Détermine si l'exception est attendue. Si la méthode est retournée, cela + signifie que l'exception est attendue. Si la méthode lève une exception, cela + signifie que l'exception n'est pas attendue, et que le message de l'exception levée + est inclus dans le résultat de test. La classe peut être utilisée par + commodité. Si est utilisé et si l'assertion est un échec, + le résultat de test a la valeur Non concluant. + + Exception levée par le test unitaire + + + + Lève à nouveau l'exception, s'il s'agit de AssertFailedException ou de AssertInconclusiveException + + Exception à lever de nouveau, s'il s'agit d'une exception d'assertion + + + + Cette classe permet à l'utilisateur d'effectuer des tests unitaires pour les types basés sur des types génériques. + GenericParameterHelper répond à certaines contraintes usuelles des types génériques, + exemple : + 1. constructeur par défaut public + 2. implémentation d'une interface commune : IComparable, IEnumerable + + + + + Initialise une nouvelle instance de la classe qui + répond à la contrainte 'newable' dans les génériques C#. + + + This constructor initializes the Data property to a random value. + + + + + Initialise une nouvelle instance de la classe qui + initialise la propriété Data en lui assignant une valeur fournie par l'utilisateur. + + Valeur entière + + + + Obtient ou définit les données + + + + + Compare la valeur de deux objets GenericParameterHelper + + objet à comparer + true si obj a la même valeur que l'objet GenericParameterHelper de 'this'. + sinon false. + + + + Retourne un code de hachage pour cet objet. + + Code de hachage. + + + + Compare les données des deux objets . + + Objet à comparer. + + Nombre signé indiquant les valeurs relatives de cette instance et de cette valeur. + + + Thrown when the object passed in is not an instance of . + + + + + Retourne un objet IEnumerator dont la longueur est dérivée de + la propriété Data. + + Objet IEnumerator + + + + Retourne un objet GenericParameterHelper égal à + l'objet actuel. + + Objet cloné. + + + + Permet aux utilisateurs de journaliser/d'écrire des traces de tests unitaires à des fins de diagnostic. + + + + + Gestionnaire de LogMessage. + + Message à journaliser. + + + + Événement à écouter. Déclenché quand le writer de test unitaire écrit un message. + Sert principalement à être consommé par un adaptateur. + + + + + API à appeler par le writer de test pour journaliser les messages. + + Format de chaîne avec des espaces réservés. + Paramètres des espaces réservés. + + + + Attribut TestCategory utilisé pour spécifier la catégorie d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe et applique la catégorie au test. + + + Catégorie de test. + + + + + Obtient les catégories de test appliquées au test. + + + + + Classe de base de l'attribut "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialise une nouvelle instance de la classe . + Applique la catégorie au test. Les chaînes retournées par TestCategories + sont utilisées avec la commande /category pour filtrer les tests + + + + + Obtient la catégorie de test appliquée au test. + + + + + Classe AssertFailedException. Sert à indiquer l'échec d'un cas de test + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Collection de classes d'assistance permettant de tester diverses conditions dans + des tests unitaires. Si la condition testée n'est pas remplie, une exception + est levée. + + + + + Obtient l'instance singleton de la fonctionnalité Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is true. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null. + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if refers to the same object + as . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is not equal to . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Lève AssertFailedException. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Les surcharges statiques d'equals comparent les instances de deux types pour déterminer si leurs références sont + égales entre elles. Cette méthode ne doit pas être utilisée pour évaluer si deux instances sont + égales entre elles. Cet objet est toujours levé avec Assert.Fail. Utilisez + Assert.AreEqual et les surcharges associées dans vos tests unitaires. + + Objet A + Objet B + False, toujours. + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Remplace les caractères Null ('\0') par "\\0". + + + Chaîne à rechercher. + + + Chaîne convertie où les caractères null sont remplacés par "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Fonction d'assistance qui crée et lève AssertionFailedException + + + nom de l'assertion levant une exception + + + message décrivant les conditions de l'échec d'assertion + + + Paramètres. + + + + + Vérifie la validité des conditions du paramètre + + + Paramètre. + + + Nom de l'assertion. + + + nom du paramètre + + + message d'exception liée à un paramètre non valide + + + Paramètres. + + + + + Convertit en toute sécurité un objet en chaîne, en gérant les valeurs null et les caractères Null. + Les valeurs null sont converties en "(null)". Les caractères Null sont convertis en "\\0". + + + Objet à convertir en chaîne. + + + Chaîne convertie. + + + + + Assertion de chaîne. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if matches . + + + + + Collection de classes d'assistance permettant de tester diverses conditions associées + à des collections dans les tests unitaires. Si la condition testée n'est pas + remplie, une exception est levée. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is found in + . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is not found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if every element in is also found in + . + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Détermine si la première collection est un sous-ensemble de la seconde + collection. Si l'un des deux ensembles contient des éléments dupliqués, le nombre + d'occurrences de l'élément dans le sous-ensemble doit être inférieur ou + égal au nombre d'occurrences dans le sur-ensemble. + + + Collection dans laquelle le test est censé être contenu . + + + Collection que le test est censé contenir . + + + True si est un sous-ensemble de + , sinon false. + + + + + Construit un dictionnaire contenant le nombre d'occurrences de chaque + élément dans la collection spécifiée. + + + Collection à traiter. + + + Nombre d'éléments de valeur null dans la collection. + + + Dictionnaire contenant le nombre d'occurrences de chaque élément + dans la collection spécifiée. + + + + + Recherche un élément incompatible parmi les deux collections. Un élément incompatible + est un élément qui n'apparaît pas avec la même fréquence dans la + collection attendue et dans la collection réelle. Les + collections sont supposées être des références non null distinctes ayant le + même nombre d'éléments. L'appelant est responsable de ce niveau de + vérification. S'il n'existe aucun élément incompatible, la fonction retourne + la valeur false et les paramètres out ne doivent pas être utilisés. + + + Première collection à comparer. + + + Seconde collection à comparer. + + + Nombre attendu d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Nombre réel d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Élément incompatible (pouvant avoir une valeur null), ou valeur null s'il n'existe aucun + élément incompatible. + + + true si un élément incompatible est trouvé ; sinon, false. + + + + + compare les objets via object.Equals + + + + + Classe de base pour les exceptions de framework. + + + + + Initialise une nouvelle instance de la classe . + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. + + + + + Retourne l'instance ResourceManager mise en cache utilisée par cette classe. + + + + + Remplace la propriété CurrentUICulture du thread actuel pour toutes + les recherches de ressources à l'aide de cette classe de ressource fortement typée. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne Access comporte une syntaxe non valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : La collection attendue contient {1} occurrence(s) de <{2}>. La collection réelle contient {3} occurrence(s). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Un élément dupliqué a été trouvé : <{1}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. La casse est différente pour la valeur réelle : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue non supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1} ({2})>. Réel : <{3} ({4})>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Toute valeur attendue sauf : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Ne passez pas de types valeur à AreSame(). Les valeurs converties en Object ne seront plus jamais les mêmes. Si possible, utilisez AreEqual(). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Échec de {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : async TestMethod utilisé avec UITestMethodAttribute n'est pas pris en charge. Supprimez async ou utilisez TestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections sont vides. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent des éléments identiques. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections Reference pointent vers le même objet Collection. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent les mêmes éléments. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0}({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : (null). + + + + + Recherche une chaîne localisée semblable à celle-ci : (objet). + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne contient pas la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} ({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : Assert.Equals ne doit pas être utilisé pour les assertions. Utilisez Assert.AreEqual et des surcharges à la place. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le nombre d'éléments dans les collections ne correspond pas. Attendu : <{1}>. Réel : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les éléments à l'index {0} ne correspondent pas. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} n'est pas du type attendu. Type attendu : <{2}>. Type réel : <{3}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} est (null). Type attendu : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne se termine pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Argument non valide - EqualsTester ne peut pas utiliser de valeurs null. + + + + + Recherche une chaîne localisée semblable à celle-ci : Impossible de convertir un objet de type {0} en {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'objet interne référencé n'est plus valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La propriété {0} a le type {1} ; type attendu {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} Type attendu : <{1}>. Type réel : <{2}>. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne correspond pas au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Type incorrect : <{1}>. Type réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' correspond au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucun DataRowAttribute spécifié. Au moins un DataRowAttribute est nécessaire avec DataTestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucune exception levée. Exception {1} attendue. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. La valeur ne peut pas être null. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Nombre d'éléments différent. + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le constructeur doté de la signature spécifiée est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le membre spécifié ({0}) est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne commence pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le type de l'exception attendue doit être System.Exception ou un type dérivé de System.Exception. + + + + + Recherche une chaîne localisée semblable à celle-ci : (Échec de la réception du message pour une exception de type {0} en raison d'une exception.). + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé l'exception attendue {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé d'exception. Une exception était attendue par l'attribut {0} défini sur la méthode de test. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} (ou un type dérivé de cette dernière) était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'exception {2} a été levée, mais l'exception {1} était attendue. {0} + Message d'exception : {3} + Arborescence des appels de procédure : {4}. + + + + + résultats du test unitaire + + + + + Le test a été exécuté mais des problèmes se sont produits. + Il peut s'agir de problèmes liés à des exceptions ou des échecs d'assertion. + + + + + Test effectué, mais nous ne pouvons pas dire s'il s'agit d'une réussite ou d'un échec. + Utilisable éventuellement pour les tests abandonnés. + + + + + Le test a été exécuté sans problème. + + + + + Le test est en cours d'exécution. + + + + + Une erreur système s'est produite pendant que nous tentions d'exécuter un test. + + + + + Délai d'expiration du test. + + + + + Test abandonné par l'utilisateur. + + + + + Le test est dans un état inconnu + + + + + Fournit une fonctionnalité d'assistance pour le framework de tests unitaires + + + + + Obtient les messages d'exception, notamment les messages de toutes les exceptions internes + de manière récursive + + Exception pour laquelle les messages sont obtenus + chaîne avec les informations du message d'erreur + + + + Énumération des délais d'expiration, qui peut être utilisée avec la classe . + Le type de l'énumération doit correspondre + + + + + Infini. + + + + + Attribut de la classe de test. + + + + + Obtient un attribut de méthode de test qui permet d'exécuter ce test. + + Instance d'attribut de méthode de test définie sur cette méthode. + Le à utiliser pour exécuter ce test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attribut de la méthode de test. + + + + + Exécute une méthode de test. + + Méthode de test à exécuter. + Tableau d'objets TestResult qui représentent le ou les résultats du test. + Extensions can override this method to customize running a TestMethod. + + + + Attribut d'initialisation du test. + + + + + Attribut de nettoyage du test. + + + + + Attribut ignore. + + + + + Attribut de la propriété de test. + + + + + Initialise une nouvelle instance de la classe . + + + Nom. + + + Valeur. + + + + + Obtient le nom. + + + + + Obtient la valeur. + + + + + Attribut d'initialisation de la classe. + + + + + Attribut de nettoyage de la classe. + + + + + Attribut d'initialisation de l'assembly. + + + + + Attribut de nettoyage de l'assembly. + + + + + Propriétaire du test + + + + + Initialise une nouvelle instance de la classe . + + + Propriétaire. + + + + + Obtient le propriétaire. + + + + + Attribut Priority utilisé pour spécifier la priorité d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Priorité. + + + + + Obtient la priorité. + + + + + Description du test + + + + + Initialise une nouvelle instance de la classe pour décrire un test. + + Description. + + + + Obtient la description d'un test. + + + + + URI de structure de projet CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI de structure de projet CSS. + + URI de structure de projet CSS. + + + + Obtient l'URI de structure de projet CSS. + + + + + URI d'itération CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI d'itération CSS. + + URI d'itération CSS. + + + + Obtient l'URI d'itération CSS. + + + + + Attribut WorkItem permettant de spécifier un élément de travail associé à ce test. + + + + + Initialise une nouvelle instance de la classe pour l'attribut WorkItem. + + ID d'un élément de travail. + + + + Obtient l'ID d'un élément de travail associé. + + + + + Attribut Timeout utilisé pour spécifier le délai d'expiration d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Délai d'expiration. + + + + + Initialise une nouvelle instance de la classe avec un délai d'expiration prédéfini + + + Délai d'expiration + + + + + Obtient le délai d'attente. + + + + + Objet TestResult à retourner à l'adaptateur. + + + + + Initialise une nouvelle instance de la classe . + + + + + Obtient ou définit le nom d'affichage du résultat. Utile pour retourner plusieurs résultats. + En cas de valeur null, le nom de la méthode est utilisé en tant que DisplayName. + + + + + Obtient ou définit le résultat de l'exécution du test. + + + + + Obtient ou définit l'exception levée en cas d'échec du test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit les traces de débogage du code de test. + + + + + Gets or sets the debug traces by test code. + + + + + Obtient ou définit la durée de l'exécution du test. + + + + + Obtient ou définit l'index de ligne de données dans la source de données. Défini uniquement pour les résultats de + l'exécution individuelle de la ligne de données d'un test piloté par les données. + + + + + Obtient ou définit la valeur renvoyée de la méthode de test. (Toujours null). + + + + + Obtient ou définit les fichiers de résultats attachés par le test. + + + + + Spécifie la chaîne de connexion, le nom de la table et la méthode d'accès aux lignes pour les tests pilotés par les données. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nom du fournisseur par défaut de DataSource. + + + + + Méthode d'accès aux données par défaut. + + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données, une chaîne de connexion, une table de données et une méthode d'accès aux données pour accéder à la source de données. + + Nom du fournisseur de données invariant, par exemple System.Data.SqlClient + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + Spécifie l'ordre d'accès aux données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec une chaîne de connexion et un nom de table. + Spécifiez la chaîne de connexion et la table de données permettant d'accéder à la source de données OLEDB. + + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données et une chaîne de connexion associés au nom du paramètre. + + Nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + Obtient une valeur représentant le fournisseur de données de la source de données. + + + Nom du fournisseur de données. Si aucun fournisseur de données n'a été désigné au moment de l'initialisation de l'objet, le fournisseur par défaut de System.Data.OleDb est retourné. + + + + + Obtient une valeur représentant la chaîne de connexion de la source de données. + + + + + Obtient une valeur indiquant le nom de la table qui fournit les données. + + + + + Obtient la méthode utilisée pour accéder à la source de données. + + + + Une des valeurs possibles. Si n'est pas initialisé, ce qui entraîne le retour de la valeur par défaut . + + + + + Obtient le nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + + Attribut du test piloté par les données, où les données peuvent être spécifiées inline. + + + + + Recherche toutes les lignes de données et les exécute. + + + Méthode de test. + + + Tableau des . + + + + + Exécute la méthode de test piloté par les données. + + Méthode de test à exécuter. + Ligne de données. + Résultats de l'exécution. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..d3540c8e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metodo di test per l'esecuzione. + + + + + Ottiene il nome del metodo di test. + + + + + Ottiene il nome della classe di test. + + + + + Ottiene il tipo restituito del metodo di test. + + + + + Ottiene i parametri del metodo di test. + + + + + Ottiene l'oggetto methodInfo per il metodo di test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Richiama il metodo di test. + + + Argomenti da passare al metodo di test, ad esempio per test basati sui dati + + + Risultato della chiamata del metodo di test. + + + This call handles asynchronous test methods as well. + + + + + Ottiene tutti gli attributi del metodo di test. + + + Indica se l'attributo definito nella classe padre è valido. + + + Tutti gli attributi. + + + + + Ottiene l'attributo di tipo specifico. + + System.Attribute type. + + Indica se l'attributo definito nella classe padre è valido. + + + Attributi del tipo specificato. + + + + + Helper. + + + + + Parametro check non Null. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws argument null exception when parameter is null. + + + + Parametro check non Null o vuoto. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws ArgumentException when parameter is null. + + + + Enumerazione relativa alla modalità di accesso alle righe di dati nei test basati sui dati. + + + + + Le righe vengono restituite in ordine sequenziale. + + + + + Le righe vengono restituite in ordine casuale. + + + + + Attributo per definire i dati inline per un metodo di test. + + + + + Inizializza una nuova istanza della classe . + + Oggetto dati. + + + + Inizializza una nuova istanza della classe che accetta una matrice di argomenti. + + Oggetto dati. + Altri dati. + + + + Ottiene i dati per chiamare il metodo di test. + + + + + Ottiene o imposta il nome visualizzato nei risultati del test per la personalizzazione. + + + + + Eccezione senza risultati dell'asserzione. + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Classe InternalTestFailureException. Usata per indicare un errore interno per un test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + + + + Inizializza una nuova istanza della classe . + + + + + Attributo che specifica di presupporre un'eccezione del tipo specificato + + + + + Inizializza una nuova istanza della classe con il tipo previsto + + Tipo dell'eccezione prevista + + + + Inizializza una nuova istanza della classe con + il tipo previsto e il messaggio da includere quando il test non genera alcuna eccezione. + + Tipo dell'eccezione prevista + + Messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene un valore che indica il tipo dell'eccezione prevista + + + + + Ottiene o imposta un valore che indica se consentire a tipi derivati dal tipo dell'eccezione prevista + di qualificarsi come previsto + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Verifica che il tipo dell'eccezione generata dallo unit test sia prevista + + Eccezione generata dallo unit test + + + + Classe di base per attributi che specificano se prevedere che uno unit test restituisca un'eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio per indicare nessuna eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio che indica nessuna eccezione + + + Messaggio da includere nel risultato del test se il test non riesce perché non + viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio predefinito per indicare nessuna eccezione + + Nome del tipo di attributo di ExpectedException + Messaggio predefinito per indicare nessuna eccezione + + + + Determina se l'eccezione è prevista. Se il metodo viene completato, si + presuppone che l'eccezione era prevista. Se il metodo genera un'eccezione, si + presuppone che l'eccezione non era prevista e il messaggio dell'eccezione generata + viene incluso nel risultato del test. Si può usare la classe per + comodità. Se si usa e l'asserzione non riesce, + il risultato del test viene impostato su Senza risultati. + + Eccezione generata dallo unit test + + + + Genera di nuovo l'eccezione se si tratta di un'eccezione AssertFailedException o AssertInconclusiveException + + Eccezione da generare di nuovo se si tratta di un'eccezione di asserzione + + + + Questa classe consente all'utente di eseguire testing unità per tipi che usano tipi generici. + GenericParameterHelper soddisfa alcuni dei vincoli di tipo generici più comuni, + ad esempio: + 1. costruttore predefinito pubblico + 2. implementa l'interfaccia comune: IComparable, IEnumerable + + + + + Inizializza una nuova istanza della classe che + soddisfa il vincolo 'newable' nei generics C#. + + + This constructor initializes the Data property to a random value. + + + + + Inizializza una nuova istanza della classe che + inizializza la proprietà Data con un valore fornito dall'utente. + + Qualsiasi valore Integer + + + + Ottiene o imposta i dati + + + + + Esegue il confronto dei valori di due oggetti GenericParameterHelper + + oggetto con cui eseguire il confronto + true se il valore di obj è uguale a quello dell'oggetto GenericParameterHelper 'this'; + in caso contrario, false. + + + + Restituisce un codice hash per questo oggetto. + + Codice hash. + + + + Confronta i dati dei due oggetti . + + Oggetto con cui eseguire il confronto. + + Numero con segno che indica i valori relativi di questa istanza e di questo valore. + + + Thrown when the object passed in is not an instance of . + + + + + Restituisce un oggetto IEnumerator la cui lunghezza viene derivata dalla + proprietà Data. + + L'oggetto IEnumerator + + + + Restituisce un oggetto GenericParameterHelper uguale a + quello corrente. + + Oggetto clonato. + + + + Consente agli utenti di registrare/scrivere tracce degli unit test per la diagnostica. + + + + + Gestore per LogMessage. + + Messaggio da registrare. + + + + Evento di cui rimanere in ascolto. Generato quando il writer di unit test scrive alcuni messaggi. + Utilizzato principalmente dall'adattatore. + + + + + API del writer di test da chiamare per registrare i messaggi. + + Formato stringa con segnaposto. + Parametri per segnaposto. + + + + Attributo TestCategory; usato per specificare la categoria di uno unit test. + + + + + Inizializza una nuova istanza della classe e applica la categoria al test. + + + Categoria di test. + + + + + Ottiene le categorie di test applicate al test. + + + + + Classe di base per l'attributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inizializza una nuova istanza della classe . + Applica la categoria al test. Le stringhe restituite da TestCategories + vengono usate con il comando /category per filtrare i test + + + + + Ottiene la categoria di test applicata al test. + + + + + Classe AssertFailedException. Usata per indicare un errore per un test case + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Raccolta di classi helper per testare diverse condizioni + negli unit test. Se la condizione da testare non viene soddisfatta, + viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is false. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is true. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null. + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if refers to the same object + as . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is not equal to . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Genera un'eccezione AssertFailedException. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Gli overload di uguaglianza statici vengono usati per confrontare istanze di due tipi e stabilire se + i riferimenti sono uguali. Questo metodo non deve essere usato per il confronto di uguaglianza tra due + istanze. Questo oggetto verrà sempre generato con Assert.Fail. Usare + Assert.AreEqual e gli overload associati negli unit test. + + Oggetto A + Oggetto B + Sempre false. + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Sostituisce caratteri Null ('\0') con "\\0". + + + Stringa da cercare. + + + Stringa convertita con caratteri Null sostituiti da "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funzione helper che crea e genera un'eccezione AssertionFailedException + + + nome dell'asserzione che genera un'eccezione + + + messaggio che descrive le condizioni per l'errore di asserzione + + + Parametri. + + + + + Verifica la validità delle condizioni nel parametro + + + Parametro. + + + Nome dell'asserzione. + + + nome del parametro + + + messaggio per l'eccezione di parametro non valido + + + Parametri. + + + + + Converte in modo sicuro un oggetto in una stringa, gestendo valori e caratteri Null. + I valori Null vengono convertiti in "(null)". I caratteri Null vengono convertiti in "\\0". + + + Oggetto da convertire in una stringa. + + + Stringa convertita. + + + + + Asserzione della stringa. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if matches . + + + + + Raccolta di classi helper per testare diverse condizioni associate + alle raccolte negli unit test. Se la condizione da testare non viene + soddisfatta, viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if every element in is also found in + . + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Determina se la prima raccolta è un subset della seconda raccolta. + Se entrambi i set contengono elementi duplicati, il numero delle + occorrenze dell'elemento nel subset deve essere minore o uguale + a quello delle occorrenze nel superset. + + + Raccolta che il test presuppone debba essere contenuta in . + + + Raccolta che il test presuppone debba contenere . + + + True se è un subset di + ; in caso contrario, false. + + + + + Costruisce un dizionario contenente il numero di occorrenze di ogni + elemento nella raccolta specificata. + + + Raccolta da elaborare. + + + Numero di elementi Null presenti nella raccolta. + + + Dizionario contenente il numero di occorrenze di ogni elemento + nella raccolta specificata. + + + + + Trova un elemento senza corrispondenza tra le due raccolte. Per elemento + senza corrispondenza si intende un elemento che appare nella raccolta prevista + un numero di volte diverso rispetto alla raccolta effettiva. Si presuppone + che le raccolte siano riferimenti non Null diversi con lo stesso + numero di elementi. Il chiamante è responsabile di questo livello di + verifica. Se non ci sono elementi senza corrispondenza, la funzione + restituisce false e i parametri out non devono essere usati. + + + Prima raccolta da confrontare. + + + Seconda raccolta da confrontare. + + + Numero previsto di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Numero effettivo di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Elemento senza corrispondenza (può essere Null) o Null se non ci sono elementi + senza corrispondenza. + + + true se è stato trovato un elemento senza corrispondenza; in caso contrario, false. + + + + + confronta gli oggetti usando object.Equals + + + + + Classe di base per le eccezioni del framework. + + + + + Inizializza una nuova istanza della classe . + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + + + + + Restituisce l'istanza di ResourceManager nella cache usata da questa classe. + + + + + Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte + le ricerche di risorse eseguite usando questa classe di risorse fortemente tipizzata. + + + + + Cerca una stringa localizzata simile a La sintassi della stringa di accesso non è valida. + + + + + Cerca una stringa localizzata simile a La raccolta prevista contiene {1} occorrenza/e di <{2}>, mentre quella effettiva ne contiene {3}. {0}. + + + + + Cerca una stringa localizzata simile a È stato trovato un elemento duplicato:<{1}>. {0}. + + + + + Cerca una stringa localizzata simile a Il valore previsto è <{1}>, ma la combinazione di maiuscole/minuscole è diversa per il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza minore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1} ({2})>. Valore effettivo: <{3} ({4})>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza maggiore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È previsto un valore qualsiasi eccetto <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Non passare tipi valore a AreSame(). I valori convertiti in Object non saranno mai uguali. Usare AreEqual(). {0}. + + + + + Cerca una stringa localizzata simile a {0} non riuscita. {1}. + + + + + Cerca una stringa localizzata simile ad async TestMethod con UITestMethodAttribute non supportata. Rimuovere async o usare TestMethodAttribute. + + + + + Cerca una stringa localizzata simile a Le raccolte sono entrambe vuote. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. + + + + + Cerca una stringa localizzata simile a I riferimenti a raccolte puntano entrambi allo stesso oggetto Collection. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. {0}. + + + + + Cerca una stringa localizzata simile a {0}({1}). + + + + + Cerca una stringa localizzata simile a (Null). + + + + + Cerca una stringa localizzata simile a (oggetto). + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non contiene la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a {0} ({1}). + + + + + Cerca una stringa localizzata simile a Per le asserzioni non usare Assert.Equals, ma preferire Assert.AreEqual e gli overload. + + + + + Cerca una stringa localizzata simile a Il numero di elementi nelle raccolte non corrisponde. Valore previsto: <{1}>. Valore effettivo: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {0} non corrisponde. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} non è del tipo previsto. Tipo previsto: <{2}>. Tipo effettivo: <{3}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} è (Null). Tipo previsto: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non termina con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Argomento non valido: EqualsTester non può usare valori Null. + + + + + Cerca una stringa localizzata simile a Non è possibile convertire un oggetto di tipo {0} in {1}. + + + + + Cerca una stringa localizzata simile a L'oggetto interno a cui si fa riferimento non è più valido. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. {1}. + + + + + Cerca una stringa localizzata simile a Il tipo della proprietà {0} è {1}, ma quello previsto è {2}. + + + + + Cerca una stringa localizzata simile a Tipo previsto di {0}: <{1}>. Tipo effettivo: <{2}>. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Tipo errato: <{1}>. Tipo effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Non è stato specificato alcun elemento DataRowAttribute. Con DataTestMethodAttribute è necessario almeno un elemento DataRowAttribute. + + + + + Cerca una stringa localizzata simile a Non è stata generata alcuna eccezione. Era prevista un'eccezione {1}. {0}. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. Il valore non può essere Null. {1}. + + + + + Cerca una stringa localizzata simile a Il numero di elementi è diverso. + + + + + Cerca una stringa localizzata simile a + Il costruttore con la firma specificata non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a + Il membro specificato ({0}) non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non inizia con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Il tipo di eccezione previsto deve essere System.Exception o un tipo derivato da System.Exception. + + + + + Cerca una stringa localizzata simile a Non è stato possibile ottenere il messaggio per un'eccezione di tipo {0} a causa di un'eccezione. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato l'eccezione prevista {0}. {1}. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato un'eccezione. È prevista un'eccezione dall'attributo {0} definito nel metodo di test. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1}. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1} o un tipo derivato da essa. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a È stata generata l'eccezione {2}, ma era prevista un'eccezione {1}. {0} + Messaggio dell'eccezione: {3} + Analisi dello stack: {4}. + + + + + risultati degli unit test + + + + + Il test è stato eseguito, ma si sono verificati errori. + Gli errori possono implicare eccezioni o asserzioni non riuscite. + + + + + Il test è stato completato, ma non è possibile determinare se è stato o meno superato. + Può essere usato per test interrotti. + + + + + Il test è stato eseguito senza problemi. + + + + + Il test è attualmente in corso. + + + + + Si è verificato un errore di sistema durante il tentativo di eseguire un test. + + + + + Timeout del test. + + + + + Il test è stato interrotto dall'utente. + + + + + Il test si trova in uno stato sconosciuto + + + + + Fornisce la funzionalità di helper per il framework degli unit test + + + + + Ottiene i messaggi di eccezione in modo ricorsivo, inclusi quelli relativi a + tutte le eccezioni interne + + Eccezione per cui ottenere i messaggi + stringa con le informazioni sul messaggio di errore + + + + Enumerazione per i timeout, che può essere usata con la classe . + Il tipo dell'enumerazione deve corrispondere + + + + + Valore infinito. + + + + + Attributo della classe di test. + + + + + Ottiene un attributo di metodo di test che consente di eseguire questo test. + + Istanza di attributo del metodo di test definita in questo metodo. + Oggetto da usare per eseguire questo test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attributo del metodo di test. + + + + + Esegue un metodo di test. + + Metodo di test da eseguire. + Matrice di oggetti TestResult che rappresentano il risultato o i risultati del test. + Extensions can override this method to customize running a TestMethod. + + + + Attributo di inizializzazione test. + + + + + Attributo di pulizia dei test. + + + + + Attributo ignore. + + + + + Attributo della proprietà di test. + + + + + Inizializza una nuova istanza della classe . + + + Nome. + + + Valore. + + + + + Ottiene il nome. + + + + + Ottiene il valore. + + + + + Attributo di inizializzazione classi. + + + + + Attributo di pulizia delle classi. + + + + + Attributo di inizializzazione assembly. + + + + + Attributo di pulizia degli assembly. + + + + + Proprietario del test + + + + + Inizializza una nuova istanza della classe . + + + Proprietario. + + + + + Ottiene il proprietario. + + + + + Attributo Priority; usato per specificare la priorità di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Priorità. + + + + + Ottiene la priorità. + + + + + Descrizione del test + + + + + Inizializza una nuova istanza della classe per descrivere un test. + + Descrizione. + + + + Ottiene la descrizione di un test. + + + + + URI della struttura di progetto CSS + + + + + Inizializza una nuova istanza della classe per l'URI della struttura di progetto CSS. + + URI della struttura di progetto CSS. + + + + Ottiene l'URI della struttura di progetto CSS. + + + + + URI dell'iterazione CSS + + + + + Inizializza una nuova istanza della classe per l'URI dell'iterazione CSS. + + URI dell'iterazione CSS. + + + + Ottiene l'URI dell'iterazione CSS. + + + + + Attributo WorkItem; usato per specificare un elemento di lavoro associato a questo test. + + + + + Inizializza una nuova istanza della classe per l'attributo WorkItem. + + ID di un elemento di lavoro. + + + + Ottiene l'ID di un elemento di lavoro associato. + + + + + Attributo Timeout; usato per specificare il timeout di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Timeout. + + + + + Inizializza una nuova istanza della classe con un timeout preimpostato + + + Timeout + + + + + Ottiene il timeout. + + + + + Oggetto TestResult da restituire all'adattatore. + + + + + Inizializza una nuova istanza della classe . + + + + + Ottiene o imposta il nome visualizzato del risultato. Utile quando vengono restituiti più risultati. + Se è Null, come nome visualizzato viene usato il nome del metodo. + + + + + Ottiene o imposta il risultato dell'esecuzione dei test. + + + + + Ottiene o imposta l'eccezione generata quando il test non viene superato. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta le tracce di debug in base al codice del test. + + + + + Gets or sets the debug traces by test code. + + + + + Ottiene o imposta la durata dell'esecuzione dei test. + + + + + Ottiene o imposta l'indice della riga di dati nell'origine dati. Impostare solo per risultati di singole + esecuzioni della riga di dati di un test basato sui dati. + + + + + Ottiene o imposta il valore restituito del metodo di test. Attualmente è sempre Null. + + + + + Ottiene o imposta i file di risultati allegati dal test. + + + + + Specifica la stringa di connessione, il nome tabella e il metodo di accesso alle righe per test basati sui dati. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nome del provider predefinito per DataSource. + + + + + Metodo predefinito di accesso ai dati. + + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati, la stringa di connessione, la tabella dati e il metodo di accesso ai dati per accedere all'origine dati. + + Nome del provider di dati non dipendente da paese/area geografica, ad esempio System.Data.SqlClient + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + Specifica l'ordine per l'accesso ai dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con una stringa di connessione e un nome tabella. + Specificare la stringa di connessione e la tabella dati per accedere all'origine dati OLEDB. + + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati e la stringa di connessione associata al nome dell'impostazione. + + Nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + Ottiene un valore che rappresenta il provider di dati dell'origine dati. + + + Nome del provider di dati. Se non è stato designato un provider di dati durante l'inizializzazione dell'oggetto, verrà restituito il provider predefinito di System.Data.OleDb. + + + + + Ottiene un valore che rappresenta la stringa di connessione per l'origine dati. + + + + + Ottiene un valore che indica il nome della tabella che fornisce i dati. + + + + + Ottiene il metodo usato per accedere all'origine dati. + + + + Uno dei valori di . Se non è inizializzato, restituirà il valore predefinito . + + + + + Ottiene il nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + + Attributo per il test basato sui dati in cui è possibile specificare i dati inline. + + + + + Trova tutte le righe di dati e le esegue. + + + Metodo di test. + + + Matrice di istanze di . + + + + + Esegue il metodo di test basato sui dati. + + Metodo di test da eseguire. + Riga di dati. + Risultati dell'esecuzione. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..922b5b17d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 実行用の TestMethod。 + + + + + テスト メソッドの名前を取得します。 + + + + + テスト クラスの名前を取得します。 + + + + + テスト メソッドの戻り値の型を取得します。 + + + + + テスト メソッドのパラメーターを取得します。 + + + + + テスト メソッドの methodInfo を取得します。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + テスト メソッドを呼び出します。 + + + テスト メソッドに渡す引数。(データ ドリブンの場合など) + + + テスト メソッド呼び出しの結果。 + + + This call handles asynchronous test methods as well. + + + + + テスト メソッドのすべての属性を取得します。 + + + 親クラスで定義されている属性が有効かどうか。 + + + すべての属性。 + + + + + 特定の型の属性を取得します。 + + System.Attribute type. + + 親クラスで定義されている属性が有効かどうか。 + + + 指定した種類の属性。 + + + + + ヘルパー。 + + + + + null でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws argument null exception when parameter is null. + + + + null または空でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws ArgumentException when parameter is null. + + + + データ ドリブン テストのデータ行にアクセスする方法の列挙型。 + + + + + 行は順番に返されます。 + + + + + 行はランダムに返されます。 + + + + + テスト メソッドのインライン データを定義する属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + + + + 引数の配列を受け入れる クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + 追加のデータ。 + + + + テスト メソッドを呼び出すデータを取得します。 + + + + + カスタマイズするために、テスト結果の表示名を取得または設定します。 + + + + + assert inconclusive 例外。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + InternalTestFailureException クラス。テスト ケースの内部エラーを示すために使用されます + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 指定した型の例外を予期するよう指定する属性 + + + + + 予期される型を指定して、 クラスの新しいインスタンスを初期化する + + 予期される例外の型 + + + + 予期される型と、テストで例外がスローされない場合に含めるメッセージとを指定して + クラスの新しいインスタンスを初期化します。 + + 予期される例外の型 + + 例外がスローされなかったことが原因でテストが失敗した場合に、テスト結果に含まれるメッセージ + + + + + 予期される例外の型を示す値を取得する + + + + + 予期される例外の型から派生した型を予期される型として使用できるかどうかを示す値を + 取得または設定する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 単体テストでスローされる例外の型が予期される型であることを検証する + + 単体テストでスローされる例外 + + + + 単体テストからの例外を予期するように指定する属性の基底クラス + + + + + 既定の例外なしメッセージを指定して クラスの新しいインスタンスを初期化する + + + + + 例外なしメッセージを指定して クラスの新しいインスタンスを初期化します + + + 例外がスローされなかったことが原因でテストが失敗した場合に、 + テスト結果に含まれるメッセージ + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 既定の例外なしメッセージを取得する + + ExpectedException 属性の型名 + 既定の例外なしメッセージ + + + + 例外が予期されているかどうかを判断します。メソッドが戻る場合は、 + 例外が予期されていたと解釈されます。メソッドが例外をスローする場合は、 + 例外が予期されていなかったと解釈され、スローされた例外のメッセージが + テスト結果に含められます。便宜上、 クラスを使用できます。 + が使用され、アサーションが失敗すると、 + テスト成果は [結果不確定] に設定されます。 + + 単体テストでスローされる例外 + + + + AssertFailedException または AssertInconclusiveException である場合に、例外を再スローする + + アサーション例外である場合に再スローされる例外 + + + + このクラスは、ジェネリック型を使用する型の単体テストを実行するユーザーを支援するように設計されています。 + GenericParameterHelper は、次のようないくつかの共通ジェネリック型制約を + 満たしています: + 1. パブリックの既定のコンストラクター + 2. 共通インターフェイスを実装します: IComparable、IEnumerable + + + + + C# ジェネリックの 'newable' 制約を満たす + クラスの新しいインスタンスを初期化します。 + + + This constructor initializes the Data property to a random value. + + + + + Data プロパティをユーザー指定の値に初期化する クラスの + 新しいインスタンスを初期化します。 + + 任意の整数値 + + + + データを取得または設定する + + + + + 2 つの GenericParameterHelper オブジェクトの値の比較を実行する + + 次との比較を実行するオブジェクト + オブジェクトの値が 'this' GenericParameterHelper オブジェクトと同じ値である場合は true。 + それ以外の場合は、false。 + + + + このオブジェクトのハッシュコードを返します。 + + ハッシュ コード。 + + + + 2 つの オブジェクトのデータを比較します。 + + 比較対象のオブジェクト。 + + このインスタンスと値の相対値を示す符号付きの数値。 + + + Thrown when the object passed in is not an instance of . + + + + + 長さが Data プロパティから派生している IEnumerator オブジェクト + を返します。 + + IEnumerator オブジェクト + + + + 現在のオブジェクトに相当する GenericParameterHelper + オブジェクトを返します。 + + 複製されたオブジェクト。 + + + + ユーザーが診断用に単体テストからトレースをログ記録/書き込みできるようにします。 + + + + + LogMessage のハンドラー。 + + ログに記録するメッセージ。 + + + + リッスンするイベント。単体テスト ライターがメッセージを書き込むときに発生します。 + 主にアダプターによって消費されます。 + + + + + テスト ライターがメッセージをログ記録するために呼び出す API。 + + プレースホルダーを含む文字列形式。 + プレースホルダーのパラメーター。 + + + + TestCategory 属性。単体テストのカテゴリを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化し、カテゴリをテストに適用します。 + + + テスト カテゴリ。 + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + "Category" 属性の基底クラス + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + クラスの新しいインスタンスを初期化します。 + カテゴリをテストに適用します。TestCategories で返される文字列は + テストをフィルター処理する /category コマンドで使用されます + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + AssertFailedException クラス。テスト ケースのエラーを示すために使用されます + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 単体テスト内のさまざまな条件をテストするヘルパー クラスの + コレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + Assert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is false. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is true. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null. + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not refer to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if refers to the same object + as . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is not equal to . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException をスローします。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + 静的な Equals オーバーロードは、2 つの型のインスタンスを比較して参照の等価性を調べる + ために使用されます。2 つのインスタンスを比較して等価性を調べるためにこのメソッドを使用 + することはできません。このオブジェクトは常に Assert.Fail を使用してスロー + します。単体テストでは、Assert.AreEqual および関連するオーバーロードをご使用ください。 + + オブジェクト A + オブジェクト B + 常に false。 + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + null 文字 ('\0') を "\\0" に置き換えます。 + + + 検索する文字列。 + + + "\\0" で置き換えられた null 文字を含む変換された文字列。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException を作成して、スローするヘルパー関数 + + + 例外をスローするアサーションの名前 + + + アサーション エラーの条件を記述するメッセージ + + + パラメーター。 + + + + + 有効な条件であるかパラメーターを確認します + + + パラメーター。 + + + アサーション名。 + + + パラメーター名 + + + 無効なパラメーター例外のメッセージ + + + パラメーター。 + + + + + 安全にオブジェクトを文字列に変換し、null 値と null 文字を処理します。 + null 値は "(null)" に変換されます。null 文字は "\\0" に変換されます。 + + + 文字列に変換するオブジェクト。 + + + 変換された文字列。 + + + + + 文字列のアサート。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if matches . + + + + + 単体テスト内のコレクションと関連付けられている + さまざまな条件をテストするヘルパー クラスのコレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is found in + . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a two or more equal elements are found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if every element in is also found in + . + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 最初のコレクションが 2 番目のコレクションのサブセットであるかどうかを + 決定します。いずれかのセットに重複する要素が含まれている場合は、 + サブセット内の要素の出現回数は + スーパーセット内の出現回数以下である必要があります。 + + + テストで次に含まれると予期されるコレクション 。 + + + テストで次を含むと予期されるコレクション 。 + + + 次の場合は true 次のサブセットの場合 + 、それ以外の場合は false。 + + + + + 指定したコレクションの各要素の出現回数を含む + 辞書を構築します。 + + + 処理するコレクション。 + + + コレクション内の null 要素の数。 + + + 指定したコレクション内の各要素の + 出現回数を含むディレクトリ。 + + + + + 2 つのコレクション間で一致しない要素を検索します。 + 一致しない要素とは、予期されるコレクションでの出現回数が + 実際のコレクションでの出現回数と異なる要素のことです。 + コレクションは、同じ数の要素を持つ、null ではない + さまざまな参照と見なされます。このレベルの検証を行う責任は + 呼び出し側にあります。一致しない要素がない場合、 + 関数は false を返し、out パラメーターは使用されません。 + + + 比較する最初のコレクション。 + + + 比較する 2 番目のコレクション。 + + + 次の予期される発生回数 + または一致しない要素がない場合は + 0 です。 + + + 次の実際の発生回数 + または一致しない要素がない場合は + 0 です。 + + + 一致しない要素 (null の場合があります)、または一致しない要素がない場合は + null です。 + + + 一致しない要素が見つかった場合は true、それ以外の場合は false。 + + + + + object.Equals を使用してオブジェクトを比較する + + + + + フレームワーク例外の基底クラス。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラス。 + + + + + このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 + + + + + 厳密に型指定されたこのリソース クラスを使用して、現在のスレッドの + CurrentUICulture プロパティをすべてのリソース ルックアップで無視します。 + + + + + "アクセス文字列は無効な構文を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "予期されたコレクションでは、<{2}> が {1} 回発生します。実際のコレクションでは、{3} 回発生します。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "重複する項目が見つかりました:<{1}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要です。実際の値: <{2}> では大文字と小文字が異なります。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> 以内の差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1} ({2})> が必要ですが、<{3} ({4})> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要ですが、<{2}> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> を超える差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> 以外の任意の値が必要ですが、<{2}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "AreSame() に値型を渡すことはできません。オブジェクトに変換された値は同じになりません。AreEqual() を使用することを検討してください。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0} に失敗しました。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "UITestMethodAttribute が指定された非同期の TestMethod はサポートされていません。非同期を削除するか、TestMethodAttribute を使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが空です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションの参照が、同じコレクション オブジェクトにポイントしています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0}({1})" に類似したローカライズされた文字列を検索します。 + + + + + "(null)" に類似したローカライズされた文字列を検索します。 + + + + + Looks up a localized string similar to (object). + + + + + "文字列 '{0}' は文字列 '{1}' を含んでいません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} ({1})" に類似したローカライズされた文字列を検索します。 + + + + + "アサーションには Assert.Equals を使用せずに、Assert.AreEqual とオーバーロードを使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "コレクション内の要素数が一致しません。<{1}> が必要ですが <{2}> が指定されています。{0}。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {0} の要素が一致しません。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は、必要な型ではありません。<{2}> が必要ですが、<{3}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は null です。必要な型:<{2}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は文字列 '{1}' で終わりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "無効な引数 - EqualsTester は null を使用することはできません。" に類似したローカライズされた文字列を検索します。 + + + + + "型 {0} のオブジェクトを {1} に変換できません。" に類似したローカライズされた文字列を検索します。 + + + + + "参照された内部オブジェクトは、現在有効ではありません。" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "プロパティ {0} は型 {1} を含んでいますが、型 {2} が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} には型 <{1}> が必要ですが、型 <{2}> が指定されました。" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は、パターン '{1}' と一致しません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "正しくない型は <{1}> であり、実際の型は <{2}> です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' はパターン '{1}' と一致します。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "DataRowAttribute が指定されていません。DataTestMethodAttribute では少なくとも 1 つの DataRowAttribute が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "例外がスローされませんでした。{1} の例外が予期されていました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。値を null にすることはできません。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "要素数が異なります。" に類似したローカライズされた文字列を検索します。 + + + + + "指定されたシグネチャを使用するコンストラクターが見つかりませんでした。 + プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + PrivateObject のコンストラクターに定義する型を渡す必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + + "指定されたメンバー ({0}) が見つかりませんでした。プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + 定義する型を PrivateObject のコンストラクターに渡す必要があります。" + に類似したローカライズされた文字列を検索します。 + + + + + + "文字列 '{0}' は文字列 '{1}' で始まりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "予期される例外の型は System.Exception または System.Exception の派生型である必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + "(例外が発生したため、型 {0} の例外のメッセージを取得できませんでした。)" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは予期された例外 {0} をスローしませんでした。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは例外をスローしませんでした。テスト メソッドで定義されている属性 {0} で例外が予期されていました。" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} またはその派生型が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "例外 {2} がスローされましたが、例外 {1} が予期されていました。{0} + 例外メッセージ: {3} + スタック トレース: {4}" に類似したローカライズされた文字列を検索します。 + + + + + 単体テストの成果 + + + + + テストを実行しましたが、問題が発生しました。 + 問題には例外または失敗したアサーションが関係している可能性があります。 + + + + + テストが完了しましたが、成功したか失敗したかは不明です。 + 中止したテストに使用される場合があります。 + + + + + 問題なくテストが実行されました。 + + + + + 現在テストを実行しています。 + + + + + テストを実行しようとしているときにシステム エラーが発生しました。 + + + + + テストがタイムアウトしました。 + + + + + ユーザーによってテストが中止されました。 + + + + + テストは不明な状態です + + + + + 単体テストのフレームワークのヘルパー機能を提供する + + + + + すべての内部例外のメッセージなど、例外メッセージを + 再帰的に取得します + + 次のメッセージを取得する例外 + エラー メッセージ情報を含む文字列 + + + + クラスで使用できるタイムアウトの列挙型。 + 列挙型の型は一致している必要があります + + + + + 無限。 + + + + + テスト クラス属性。 + + + + + このテストの実行を可能するテスト メソッド属性を取得します。 + + このメソッドで定義されているテスト メソッド属性インスタンス。 + The 。このテストを実行するために使用されます。 + Extensions can override this method to customize how all methods in a class are run. + + + + テスト メソッド属性。 + + + + + テスト メソッドを実行します。 + + 実行するテスト メソッド。 + テストの結果を表す TestResult オブジェクトの配列。 + Extensions can override this method to customize running a TestMethod. + + + + テスト初期化属性。 + + + + + テスト クリーンアップ属性。 + + + + + Ignore 属性。 + + + + + テストのプロパティ属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 名前。 + + + 値。 + + + + + 名前を取得します。 + + + + + 値を取得します。 + + + + + クラス初期化属性。 + + + + + クラス クリーンアップ属性。 + + + + + アセンブリ初期化属性。 + + + + + アセンブリ クリーンアップ属性。 + + + + + テストの所有者 + + + + + クラスの新しいインスタンスを初期化します。 + + + 所有者。 + + + + + 所有者を取得します。 + + + + + 優先順位属性。単体テストの優先順位を指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 優先順位。 + + + + + 優先順位を取得します。 + + + + + テストの説明 + + + + + テストを記述する クラスの新しいインスタンスを初期化します。 + + 説明。 + + + + テストの説明を取得します。 + + + + + CSS プロジェクト構造の URI + + + + + CSS プロジェクト構造の URI の クラスの新しいインスタンスを初期化します。 + + CSS プロジェクト構造の URI。 + + + + CSS プロジェクト構造の URI を取得します。 + + + + + CSS イテレーション URI + + + + + CSS イテレーション URI の クラスの新しいインスタンスを初期化します。 + + CSS イテレーション URI。 + + + + CSS イテレーション URI を取得します。 + + + + + WorkItem 属性。このテストに関連付けられている作業項目の指定に使用されます。 + + + + + WorkItem 属性の クラスの新しいインスタンスを初期化します。 + + 作業項目に対する ID。 + + + + 関連付けられている作業項目に対する ID を取得します。 + + + + + タイムアウト属性。単体テストのタイムアウトを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + タイムアウト。 + + + + + 事前設定するタイムアウトを指定して クラスの新しいインスタンスを初期化する + + + タイムアウト + + + + + タイムアウトを取得します。 + + + + + アダプターに返される TestResult オブジェクト。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + 結果の表示名を取得または設定します。複数の結果が返される場合に便利です。 + null の場合は、メソッド名が DisplayName として使用されます。 + + + + + テスト実行の成果を取得または設定します。 + + + + + テストが失敗した場合にスローされる例外を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでデバッグ トレースを取得または設定します。 + + + + + Gets or sets the debug traces by test code. + + + + + テスト実行の期間を取得または設定します。 + + + + + データ ソース内のデータ行インデックスを取得または設定します。データ ドリブン テストの一続きのデータ行の + それぞれの結果に対してのみ設定されます。 + + + + + テスト メソッドの戻り値を取得または設定します。(現在は、常に null です)。 + + + + + テストで添付された結果ファイルを取得または設定します。 + + + + + データ ドリブン テストの接続文字列、テーブル名、行アクセス方法を指定します。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource の既定のプロバイダー名。 + + + + + 既定のデータ アクセス方法。 + + + + + クラスの新しいインスタンスを初期化します。このインスタンスは、データ ソースにアクセスするためのデータ プロバイダー、接続文字列、データ テーブル、データ アクセス方法を指定して初期化されます。 + + System.Data.SqlClient などデータ プロバイダーの不変名 + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + データにアクセスする順番をしています。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは接続文字列とテーブル名を指定して初期化されます。 + OLEDB データ ソースにアクセスするには接続文字列とデータ テーブルを指定します。 + + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは設定名に関連付けられているデータ プロバイダーと接続文字列を使用して初期化されます。 + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションにあるデータ ソースの名前。 + + + + データ ソースのデータ プロバイダーを表す値を取得します。 + + + データ プロバイダー名。データ プロバイダーがオブジェクトの初期化時に指定されていなかった場合は、System.Data.OleDb の既定のプロバイダーが返されます。 + + + + + データ ソースの接続文字列を表す値を取得します。 + + + + + データを提供するテーブル名を示す値を取得します。 + + + + + データ ソースへのアクセスに使用するメソッドを取得します。 + + + + 次のいずれか 値。以下の場合 初期化されていない場合は、これは既定値を返します 。 + + + + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションで見つかるデータ ソースの名前を取得します。 + + + + + データをインラインで指定できるデータ ドリブン テストの属性。 + + + + + すべてのデータ行を検索して、実行します。 + + + テスト メソッド。 + + + 次の配列 。 + + + + + データ ドリブン テスト メソッドを実行します。 + + 実行するテスト メソッド。 + データ行. + 実行の結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..22e769ac3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 실행을 위한 TestMethod입니다. + + + + + 테스트 메서드의 이름을 가져옵니다. + + + + + 테스트 클래스의 이름을 가져옵니다. + + + + + 테스트 메서드의 반환 형식을 가져옵니다. + + + + + 테스트 메서드의 매개 변수를 가져옵니다. + + + + + 테스트 메서드에 대한 methodInfo를 가져옵니다. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 테스트 메서드를 호출합니다. + + + 테스트 메서드에 전달할 인수(예: 데이터 기반의 경우) + + + 테스트 메서드 호출의 결과. + + + This call handles asynchronous test methods as well. + + + + + 테스트 메서드의 모든 특성을 가져옵니다. + + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 모든 특성. + + + + + 특정 형식의 특성을 가져옵니다. + + System.Attribute type. + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 지정한 형식의 특성입니다. + + + + + 도우미입니다. + + + + + 검사 매개 변수가 Null이 아닙니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws argument null exception when parameter is null. + + + + 검사 매개 변수가 Null이 아니거나 비어 있습니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws ArgumentException when parameter is null. + + + + 데이터 기반 테스트에서 데이터 행에 액세스하는 방법에 대한 열거형입니다. + + + + + 행이 순차적인 순서로 반환됩니다. + + + + + 행이 임의의 순서로 반환됩니다. + + + + + 테스트 메서드에 대한 인라인 데이터를 정의하는 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + + + + 인수 배열을 사용하는 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + 추가 데이터. + + + + 테스트 메서드 호출을 위한 데이터를 가져옵니다. + + + + + 사용자 지정을 위한 테스트 결과에서 표시 이름을 가져오거나 설정합니다. + + + + + 어설션 불확실 예외입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + InternalTestFailureException 클래스. 테스트 사례에 대한 내부 실패를 나타내는 데 사용됩니다. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 지정된 형식의 예외를 예상하도록 지정하는 특성 + + + + + 예상 형식이 있는 클래스의 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + + + 테스트에서 예외를 throw하지 않을 때 포함할 메시지 및 예상 형식이 있는 클래스의 + 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + 예외를 throw하지 않아 테스트가 실패할 경우 테스트 결과에 포함할 메시지 + + + + + 예상되는 예외의 형식을 나타내는 값을 가져옵니다. + + + + + 예상 예외의 형식에서 파생된 형식이 예상대로 자격을 얻도록 허용할지 여부를 나타내는 값을 가져오거나 + 설정합니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 단위 테스트에 의해 throw되는 예외의 형식이 예상되는지를 확인합니다. + + 단위 테스트에서 throw한 예외 + + + + 단위 테스트에서 예외를 예상하도록 지정하는 특성에 대한 기본 클래스 + + + + + 기본 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + + + 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + 예외를 throw하지 않아서 테스트가 실패할 경우 테스트 결과에 포함할 + 메시지 + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 기본 예외 없음 메시지를 가져옵니다. + + ExpectedException 특성 형식 이름 + 기본 예외 없음 메시지 + + + + 예외가 예상되는지 여부를 확인합니다. 메서드가 반환되면 예외가 + 예상되는 것으로 이해됩니다. 메서드가 예외를 throw하면 예외가 + 예상되지 않는 것으로 이해되고, throw된 예외의 메시지가 + 테스트 결과에 포함됩니다. 클래스는 편의를 위해 사용될 수 + 있습니다. 이(가) 사용되는 경우 어설션에 실패하며, + 테스트 결과가 [결과 불충분]으로 설정됩니다. + + 단위 테스트에서 throw한 예외 + + + + AssertFailedException 또는 AssertInconclusiveException인 경우 예외를 다시 throw합니다. + + 어설션 예외인 경우 예외를 다시 throw + + + + 이 클래스는 제네릭 형식을 사용하는 형식에 대한 사용자의 유닛 테스트를 지원하도록 설계되었습니다. + GenericParameterHelper는 몇 가지 공통된 제네릭 형식 제약 조건을 충족합니다. + 예: + 1. public 기본 생성자 + 2. 공통 인터페이스 구현: IComparable, IEnumerable + + + + + C# 제네릭의 '새로 입력할 수 있는' 제약 조건을 충족하는 클래스의 + 새 인스턴스를 초기화합니다. + + + This constructor initializes the Data property to a random value. + + + + + 데이터 속성을 사용자가 제공한 값으로 초기화하는 클래스의 + 새 인스턴스를 초기화합니다. + + 임의의 정수 값 + + + + 데이터를 가져오거나 설정합니다. + + + + + 두 GenericParameterHelper 개체의 값을 비교합니다. + + 비교할 개체 + 개체의 값이 '이' GenericParameterHelper 개체와 동일한 경우에는 true이고, + 동일하지 않은 경우에는 false입니다. + + + + 이 개체의 해시 코드를 반환합니다. + + 해시 코드입니다. + + + + 두 개체의 데이터를 비교합니다. + + 비교할 개체입니다. + + 이 인스턴스 및 값의 상대 값을 나타내는 부호 있는 숫자입니다. + + + Thrown when the object passed in is not an instance of . + + + + + 길이가 데이터 속성에서 파생된 IEnumerator 개체를 + 반환합니다. + + IEnumerator 개체 + + + + 현재 개체와 동일한 GenericParameterHelper 개체를 + 반환합니다. + + 복제된 개체입니다. + + + + 사용자가 진단을 위해 단위 테스트에서 추적을 로그하거나 쓸 수 있습니다. + + + + + LogMessage용 처리기입니다. + + 로깅할 메시지. + + + + 수신할 이벤트입니다. 단위 테스트 기록기에서 메시지를 기록할 때 발생합니다. + 주로 어댑터에서 사용합니다. + + + + + 메시지를 로그하기 위해 테스트 작성자가 호출하는 API입니다. + + 자리 표시자가 있는 문자열 형식. + 자리 표시자에 대한 매개 변수. + + + + TestCategory 특성 - 단위 테스트의 범주 지정에 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화하고 범주를 테스트에 적용합니다. + + + 테스트 범주. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + "Category" 특성을 위한 기본 클래스 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 클래스의 새 인스턴스를 초기화합니다. + 범주를 테스트에 적용합니다. TestCategories에 의해 반환된 문자열은 + 테스트 필터링을 위한 /category 명령과 함께 사용됩니다. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + AssertFailedException 클래스 - 테스트 사례에 대한 실패를 나타내는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 단위 테스트 내에서 다양한 조건을 테스트하기 위한 도우미 + 클래스의 컬렉션입니다. 테스트 중인 조건이 충족되지 않으면 예외가 + throw됩니다. + + + + + Assert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is false. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is true. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null. + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not refer to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if refers to the same object + as . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is not equal to . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException을 throw합니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + 참조 같음에 대해 두 형식의 인스턴스를 비교하는 데 정적 equals 오버로드가 + 사용됩니다. 이 메서드는 같음에 대해 두 인스턴스를 비교하는 데 사용되지 않습니다. + 이 개체는 항상 Assert.Fail과 함께 throw됩니다. 단위 테스트에서 + Assert.AreEqual 및 관련 오버로드를 사용하세요. + + 개체 A + 개체 B + 항상 False. + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + Null 문자('\0')를 "\\0"으로 바꿉니다. + + + 검색할 문자열. + + + Null 문자가 "\\0"으로 교체된 변환된 문자열. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException을 만들고 throw하는 도우미 함수 + + + 예외를 throw하는 어설션의 이름 + + + 어설션 실패에 대한 조건을 설명하는 메시지 + + + 매개 변수. + + + + + 유효한 조건의 매개 변수를 확인합니다. + + + 매개 변수. + + + 어셜선 이름. + + + 매개 변수 이름 + + + 잘못된 매개 변수 예외에 대한 메시지 + + + 매개 변수. + + + + + 개체를 문자열로 안전하게 변환하고, Null 값 및 Null 문자를 처리합니다. + Null 값은 "(null)"로 변환됩니다. Null 문자는 "\\0"으로 변환됩니다. + + + 문자열로 변환될 개체. + + + 변환된 문자열. + + + + + 문자열 어셜션입니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if matches . + + + + + 단위 테스트 내에서 컬렉션과 연결된 다양한 조건을 테스트하기 + 위한 도우미 클래스의 컬렉션. 테스트 중인 조건이 충족되지 않으면 + 예외가 throw됩니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is found in + . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a two or more equal elements are found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지입니다.. + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 모든 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if every element in is also found in + . + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 첫 번째 컬렉션이 두 번째 컬렉션의 하위 집합인지를 + 확인합니다. 한 집합에 중복된 요소가 포함된 경우, 하위 집합에 있는 요소의 + 발생 횟수는 상위 집합에 있는 발생 횟수와 같거나 + 작아야 합니다. + + + 테스트가 다음에 포함될 것으로 예상하는 컬렉션: . + + + 테스트가 다음을 포함할 것으로 예상하는 컬렉션: . + + + 다음의 경우 True 이(가) + 의 하위 집합인 경우 참, 나머지 경우는 거짓. + + + + + 지정된 컬렉션에서 각 요소의 발생 횟수를 포함하는 + 사전을 생성합니다. + + + 처리할 컬렉션. + + + 컬렉션에 있는 null 요소의 수. + + + 지정된 컬렉션에 있는 각 요소의 발생 횟수를 포함하는 + 딕셔너리. + + + + + 두 컬렉션 간의 불일치 요소를 찾습니다. 불일치 요소란 + 예상 컬렉션에 나타나는 횟수가 실제 컬렉션에 + 나타나는 횟수와 다른 요소를 말합니다. 컬렉션은 + 같은 수의 요소가 있는 Null이 아닌 다른 참조로 + 간주됩니다. 이 수준에서의 확인 작업은 호출자의 + 책임입니다. 불일치 요소가 없으면 함수는 false를 + 반환하고 출력 매개 변수가 사용되지 않습니다. + + + 비교할 첫 번째 컬렉션. + + + 비교할 두 번째 컬렉션. + + + 다음의 예상 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 다음의 실제 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 불일치 요소(null일 수 있음) 또는 불일치 요소가 없는 경우 + null. + + + 불일치 요소가 발견되면 참, 발견되지 않으면 거짓. + + + + + object.Equals를 사용하여 개체 비교합니다. + + + + + 프레임워크 예외에 대한 기본 클래스입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + + + + + 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + + + + + 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 + 대한 현재 스레드의 CurrentUICulture 속성을 재정의합니다. + + + + + [액세스 문자열의 구문이 잘못되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 컬렉션에 <{2}>은(는) {1}개가 포함되어야 하는데 실제 컬렉션에는 {3}개가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [중복된 항목이 있습니다. <{1}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 대/소문자가 다른 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 크지 않아야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}({2})>. 실제 값: <{3}({4})>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 커야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>을(를) 제외한 모든 값. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [AreSame()에 값 형식을 전달하면 안 됩니다. Object로 변환된 값은 동일한 값으로 간주되지 않습니다. AreEqual()을 사용해 보세요. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}이(가) 실패했습니다. {1}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [async TestMethod with UITestMethodAttribute는 지원되지 않습니다. async를 제거하거나 TestMethodAttribute를 사용하세요.]와 유사한 지역화된 문자열 조회합니다. + + + + + [두 컬렉션이 모두 비어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션 참조가 동일한 컬렉션 개체를 가리킵니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [(null)]과 유사한 지역화된 문자열을 조회합니다. + + + + + Looks up a localized string similar to (object). + + + + + ['{0}' 문자열이 '{1}' 문자열을 포함하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [어설션에 Assert.Equals를 사용할 수 없습니다. 대신 Assert.AreEqual 및 오버로드를 사용하세요.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [컬렉션의 요소 수가 일치하지 않습니다. 예상 값: <{1}>. 실제 값: <{2}>.{0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {0}에 있는 요소가 일치하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소는 예상 형식이 아닙니다. 예상 형식: <{2}>. 실제 형식: <{3}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소가 (null)입니다. 예상 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 문자열로 끝나지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 인수 - EqualsTester에는 Null을 사용할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 형식의 개체를 {1} 형식의 개체로 변환할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [참조된 내부 개체가 더 이상 유효하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. {1}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 속성의 형식은 {2}이어야 하는데 실제로는 {1}입니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 예상 형식: <{1}>. 실제 형식: <{2}>.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 형식: <{1}>. 실제 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치합니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [DataRowAttribute가 지정되지 않았습니다. DataTestMethodAttribute에는 하나 이상의 DataRowAttribute가 필요합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 예외가 throw되지 않았습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. 이 값은 Null일 수 없습니다. {1}.](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [요소 수가 다릅니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 시그니처를 가진 생성자를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 멤버({0})를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + ['{0}' 문자열이 '{1}' 문자열로 시작되지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 예외 형식은 System.Exception이거나 System.Exception에서 파생된 형식이어야 합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [(예외로 인해 {0} 형식의 예외에 대한 메시지를 가져오지 못했습니다.)]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외 {0}을(를) throw하지 않았습니다. {1}](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외를 throw하지 않았습니다. 예외는 테스트 메서드에 정의된 {0} 특성에 의해 예상되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외를 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외 또는 해당 예외에서 파생된 형식을 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 {2} 예외를 throw했습니다. {0} + 예외 메시지: {3} + 스택 추적: {4}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + 단위 테스트 결과 + + + + + 테스트가 실행되었지만 문제가 있습니다. + 예외 또는 실패한 어설션과 관련된 문제일 수 있습니다. + + + + + 테스트가 완료되었지만, 성공인지 실패인지를 알 수 없습니다. + 중단된 테스트에 사용된 것일 수 있습니다. + + + + + 아무 문제 없이 테스트가 실행되었습니다. + + + + + 테스트가 현재 실행 중입니다. + + + + + 테스트를 실행하려고 시도하는 동안 시스템 오류가 발생했습니다. + + + + + 테스트가 시간 초과되었습니다. + + + + + 테스트가 사용자에 의해 중단되었습니다. + + + + + 테스트의 상태를 알 수 없습니다. + + + + + 단위 테스트 프레임워크에 대한 도우미 기능을 제공합니다. + + + + + 재귀적으로 모든 내부 예외에 대한 메시지를 포함하여 예외 메시지를 + 가져옵니다. + + 오류 메시지 정보가 포함된 + 문자열에 대한 메시지 가져오기의 예외 + + + + 클래스와 함께 사용할 수 있는 시간 제한에 대한 열거형입니다. + 열거형의 형식은 일치해야 합니다. + + + + + 무제한입니다. + + + + + 테스트 클래스 특성입니다. + + + + + 이 테스트를 실행할 수 있는 테스트 메서드 특성을 가져옵니다. + + 이 메서드에 정의된 테스트 메서드 특성 인스턴스입니다. + 이 테스트를 실행하는 데 사용됩니다. + Extensions can override this method to customize how all methods in a class are run. + + + + 테스트 메서드 특성입니다. + + + + + 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드입니다. + 테스트 결과를 나타내는 TestResult 개체의 배열입니다. + Extensions can override this method to customize running a TestMethod. + + + + 테스트 초기화 특성입니다. + + + + + 테스트 정리 특성입니다. + + + + + 무시 특성입니다. + + + + + 테스트 속성 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 이름. + + + 값. + + + + + 이름을 가져옵니다. + + + + + 값을 가져옵니다. + + + + + 클래스 초기화 특성입니다. + + + + + 클래스 정리 특성입니다. + + + + + 어셈블리 초기화 특성입니다. + + + + + 어셈블리 정리 특성입니다. + + + + + 테스트 소유자 + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 소유자. + + + + + 소유자를 가져옵니다. + + + + + Priority 특성 - 단위 테스트의 우선 순위를 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 우선 순위. + + + + + 우선 순위를 가져옵니다. + + + + + 테스트의 설명 + + + + + 테스트를 설명하는 클래스의 새 인스턴스를 초기화합니다. + + 설명입니다. + + + + 테스트의 설명을 가져옵니다. + + + + + CSS 프로젝트 구조 URI + + + + + CSS 프로젝트 구조 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 프로젝트 구조 URI입니다. + + + + CSS 프로젝트 구조 URI를 가져옵니다. + + + + + CSS 반복 URI + + + + + CSS 반복 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 반복 URI입니다. + + + + CSS 반복 URI를 가져옵니다. + + + + + WorkItem 특성 - 이 테스트와 연결된 작업 항목을 지정하는 데 사용됩니다. + + + + + WorkItem 특성에 대한 클래스의 새 인스턴스를 초기화합니다. + + 작업 항목에 대한 ID입니다. + + + + 연결된 작업 항목에 대한 ID를 가져옵니다. + + + + + Timeout 특성 - 단위 테스트의 시간 제한을 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한. + + + + + 미리 설정된 시간 제한이 있는 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한 + + + + + 시간 제한을 가져옵니다. + + + + + 어댑터에 반환할 TestResult 개체입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 결과의 표시 이름을 가져오거나 설정합니다. 여러 결과를 반환할 때 유용합니다. + Null인 경우 메서드 이름은 DisplayName으로 사용됩니다. + + + + + 테스트 실행의 결과를 가져오거나 설정합니다. + + + + + 테스트 실패 시 throw할 예외를 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에 의한 디버그 추적을 가져오거나 설정합니다. + + + + + Gets or sets the debug traces by test code. + + + + + 테스트 실행의 지속 시간을 가져오거나 설정합니다. + + + + + 데이터 소스에서 데이터 행 인덱스를 가져오거나 설정합니다. 데이터 기반 테스트에서 + 개별 데이터 행 실행의 결과에 대해서만 설정합니다. + + + + + 테스트 메서드의 반환 값을 가져오거나 설정합니다(현재 항상 Null). + + + + + 테스트로 첨부한 결과 파일을 가져오거나 설정합니다. + + + + + 데이터 기반 테스트에 대한 연결 문자열, 테이블 이름 및 행 액세스 방법을 지정합니다. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource의 기본 공급자 이름입니다. + + + + + 기본 데이터 액세스 방법입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 데이터 소스에 액세스할 데이터 공급자, 연결 문자열, 데이터 테이블 및 데이터 액세스 방법으로 초기화됩니다. + + 고정 데이터 공급자 이름(예: System.Data.SqlClient) + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + 데이터에 액세스할 순서를 지정합니다. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 연결 문자열 및 테이블 이름으로 초기화됩니다. + OLEDB 데이터 소스에 액세스하기 위한 연결 문자열 및 데이터 테이블을 지정하세요. + + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 설정 이름과 연결된 연결 문자열 및 데이터 공급자로 초기화됩니다. + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에 있는 데이터 소스의 이름. + + + + 데이터 소스의 데이터 공급자를 나타내는 값을 가져옵니다. + + + 데이터 공급자 이름. 데이터 공급자를 개체 초기화에서 지정하지 않은 경우 System.Data.OleDb의 기본 공급자가 반환됩니다. + + + + + 데이터 소스의 연결 문자열을 나타내는 값을 가져옵니다. + + + + + 데이터를 제공하는 테이블 이름을 나타내는 값을 가져옵니다. + + + + + 데이터 소스에 액세스하는 데 사용되는 메서드를 가져옵니다. + + + + 값 중 하나입니다. 이(가) 초기화되지 않은 경우 다음 기본값이 반환됩니다. . + + + + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에서 찾은 데이터 소스의 이름을 가져옵니다. + + + + + 데이터를 인라인으로 지정할 수 있는 데이터 기반 테스트의 특성입니다. + + + + + 모든 데이터 행을 찾고 실행합니다. + + + 테스트 메서드. + + + 배열 . + + + + + 데이터 기반 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드. + 데이터 행. + 실행 결과. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..559338436 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metoda TestMethod do wykonania. + + + + + Pobiera nazwę metody testowej. + + + + + Pobiera nazwę klasy testowej. + + + + + Pobiera zwracany typ metody testowej. + + + + + Pobiera parametry metody testowej. + + + + + Pobiera element methodInfo dla metody testowej. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Wywołuje metodę testową. + + + Argumenty przekazywane do metody testowej (np. w przypadku opartej na danych) + + + Wynik wywołania metody testowej. + + + This call handles asynchronous test methods as well. + + + + + Pobierz wszystkie atrybuty metody testowej. + + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Wszystkie atrybuty. + + + + + Pobierz atrybut określonego typu. + + System.Attribute type. + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Atrybuty określonego typu. + + + + + Element pomocniczy. + + + + + Sprawdzany parametr nie ma wartości null. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws argument null exception when parameter is null. + + + + Sprawdzany parametr nie ma wartości null i nie jest pusty. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws ArgumentException when parameter is null. + + + + Wyliczenie dotyczące sposobu dostępu do wierszy danych w teście opartym na danych. + + + + + Wiersze są zwracane po kolei. + + + + + Wiersze są zwracane w kolejności losowej. + + + + + Atrybut do definiowania danych wbudowanych dla metody testowej. + + + + + Inicjuje nowe wystąpienie klasy . + + Obiekt danych. + + + + Inicjuje nowe wystąpienie klasy , które pobiera tablicę argumentów. + + Obiekt danych. + Więcej danych. + + + + Pobiera dane do wywoływania metody testowej. + + + + + Pobiera lub ustawia nazwę wyświetlaną w wynikach testu do dostosowania. + + + + + Wyjątek niejednoznacznej asercji. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Klasa InternalTestFailureException. Używana do określenia wewnętrznego błędu przypadku testowego + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Atrybut określający, że jest oczekiwany wyjątek określonego typu + + + + + Inicjuje nowe wystąpienie klasy z oczekiwanym typem + + Typ oczekiwanego wyjątku + + + + Inicjuje nowe wystąpienie klasy z + oczekiwanym typem i komunikatem do uwzględnienia, gdy test nie zgłasza żadnego wyjątku. + + Typ oczekiwanego wyjątku + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ nie zostanie zgłoszony wyjątek + + + + + Pobiera wartość wskazującą typ oczekiwanego wyjątku + + + + + Pobiera lub ustawia wartość wskazującą, czy typy pochodne typu oczekiwanego wyjątku + są traktowane jako oczekiwane + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Weryfikuje, czy typ wyjątku zgłoszonego przez test jednostkowy jest oczekiwany + + Wyjątek zgłoszony przez test jednostkowy + + + + Klasa podstawowa dla atrybutów, które określają, że jest oczekiwany wyjątek z testu jednostkowego + + + + + Inicjuje nowe wystąpienie klasy z domyślnym komunikatem o braku wyjątku + + + + + Inicjuje nowe wystąpienie klasy z komunikatem o braku wyjątku + + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ + nie zostanie zgłoszony wyjątek + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera domyślny komunikat bez wyjątku + + Nazwa typu atrybutu ExpectedException + Domyślny komunikat bez wyjątku + + + + Określa, czy wyjątek jest oczekiwany. Jeśli wykonanie metody zakończy się normalnie, oznacza to, + że wyjątek był oczekiwany. Jeśli metoda zgłosi wyjątek, oznacza to, + że wyjątek nie był oczekiwany, a komunikat zgłoszonego wyjątku + jest dołączony do wyniku testu. Klasy można użyć dla + wygody. Jeśli zostanie użyta klasa i asercja nie powiedzie się, + wynik testu zostanie ustawiony jako Niejednoznaczny. + + Wyjątek zgłoszony przez test jednostkowy + + + + Zgłoś ponownie wyjątek, jeśli jest to wyjątek AssertFailedException lub AssertInconclusiveException + + Wyjątek do ponownego zgłoszenia, jeśli jest to wyjątek asercji + + + + Ta klasa jest zaprojektowana w taki sposób, aby pomóc użytkownikowi wykonującemu testy jednostkowe dla typów używających typów ogólnych. + Element GenericParameterHelper zachowuje niektóre typowe ograniczenia typów ogólnych, + takie jak: + 1. publiczny konstruktor domyślny + 2. implementuje wspólny interfejs: IComparable, IEnumerable + + + + + Inicjuje nowe wystąpienie klasy , które + spełnia ograniczenie „newable” w typach ogólnych języka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicjuje nowe wystąpienie klasy , które + inicjuje właściwość Data wartością dostarczoną przez użytkownika. + + Dowolna liczba całkowita + + + + Pobiera lub ustawia element Data + + + + + Wykonuje porównanie wartości dwóch obiektów GenericParameterHelper + + obiekt, z którym ma zostać wykonane porównanie + Wartość true, jeśli obiekt ma tę samą wartość co obiekt „this” typu GenericParameterHelper. + W przeciwnym razie wartość false. + + + + Zwraca wartość skrótu tego obiektu. + + Kod skrótu. + + + + Porównuje dane dwóch obiektów . + + Obiekt do porównania. + + Liczba ze znakiem, która wskazuje wartości względne tego wystąpienia i wartości. + + + Thrown when the object passed in is not an instance of . + + + + + Zwraca obiekt IEnumerator, którego długość jest określona na podstawie + właściwości Data. + + Obiekt IEnumerator + + + + Zwraca obiekt GenericParameterHelper równy + bieżącemu obiektowi. + + Sklonowany obiekt. + + + + Umożliwia użytkownikom rejestrowanie/zapisywanie śladów z testów jednostek w celach diagnostycznych. + + + + + Procedura obsługi elementu LogMessage. + + Komunikat do zarejestrowania. + + + + Zdarzenie, które ma być nasłuchiwane. Zgłaszane, gdy składnik zapisywania testu jednostkowego zapisze jakiś komunikat. + Zwykle zużywane przez adapter. + + + + + Interfejs API składnika zapisywania testu do wywołania na potrzeby rejestrowania komunikatów. + + Format ciągu z symbolami zastępczymi. + Parametry dla symboli zastępczych. + + + + Atrybut TestCategory używany do określenia kategorii testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy i stosuje kategorię do testu. + + + Kategoria testu. + + + + + Pobiera kategorie testu, które zostały zastosowane do testu. + + + + + Klasa podstawowa atrybutu „Category” + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicjuje nowe wystąpienie klasy . + Stosuje kategorię do testu. Ciągi zwrócone przez element TestCategories + są używane w poleceniu /category do filtrowania testów + + + + + Pobiera kategorię testu, która została zastosowana do testu. + + + + + Klasa AssertFailedException. Używana do wskazania niepowodzenia przypadku testowego + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków w ramach + testów jednostkowych. Jeśli testowany warunek nie zostanie spełniony, zostanie zgłoszony + wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is true. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null. + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Zgłasza wyjątek AssertFailedException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Statyczne przeciążenia metody equals są używane do porównywania wystąpień dwóch typów pod kątem + równości odwołań. Ta metoda nie powinna być używana do porównywania dwóch wystąpień pod kątem + równości. Ten obiekt zawsze będzie zgłaszał wyjątek za pomocą metody Assert.Fail. Użyj metody + Assert.AreEqual i skojarzonych przeciążeń w testach jednostkowych. + + Obiekt A + Obiekt B + Zawsze wartość false. + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Zastępuje znaki null („\0”) ciągiem „\\0”. + + + Ciąg do wyszukania. + + + Przekonwertowany ciąg ze znakami null zastąpionymi ciągiem „\\0”. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funkcja pomocnicza, która tworzy i zgłasza wyjątek AssertionFailedException + + + nazwa asercji zgłaszającej wyjątek + + + komunikat opisujący warunki dla błędu asercji + + + Parametry. + + + + + Sprawdza parametry pod kątem prawidłowych warunków + + + Parametr. + + + Nazwa asercji. + + + nazwa parametru + + + komunikat dla wyjątku nieprawidłowego parametru + + + Parametry. + + + + + Bezpiecznie konwertuje obiekt na ciąg, obsługując wartości null i znaki null. + Wartości null są konwertowane na ciąg „(null)”. Znaki null są konwertowane na ciąg „\\0”. + + + Obiekt do przekonwertowania na ciąg. + + + Przekonwertowany ciąg. + + + + + Asercja ciągu. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if matches . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków skojarzonych + z kolekcjami w ramach testów jednostkowych. Jeśli testowany warunek + nie jest spełniony, zostanie zgłoszony wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is not found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if every element in is also found in + . + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Określa, czy pierwsza kolekcja jest podzbiorem drugiej kolekcji. + Jeśli któryś zbiór zawiera zduplikowane elementy, liczba wystąpień + elementu w podzbiorze musi być mniejsza lub równa liczbie + wystąpień w nadzbiorze. + + + Kolekcja, co do której test oczekuje, że powinna być zawarta w . + + + Kolekcja, co do której test oczekuje, że powinna zawierać . + + + Wartość true, jeśli jest podzbiorem kolekcji + , w przeciwnym razie wartość false. + + + + + Tworzy słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + Kolekcja do przetworzenia. + + + Liczba elementów o wartości null w kolekcji. + + + Słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + + + Znajduje niezgodny element w dwóch kolekcjach. Niezgodny + element to ten, którego liczba wystąpień w oczekiwanej kolekcji + jest inna niż w rzeczywistej kolekcji. Kolekcje + są uznawane za różne odwołania o wartości innej niż null z tą samą + liczbą elementów. Obiekt wywołujący jest odpowiedzialny za ten poziom weryfikacji. + Jeśli nie ma żadnego niezgodnego elementu, funkcja zwraca wynik + false i parametry wyjściowe nie powinny być używane. + + + Pierwsza kolekcja do porównania. + + + Druga kolekcja do porównania. + + + Oczekiwana liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Rzeczywista liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Niezgodny element (może mieć wartość null) lub wartość null, jeśli + nie ma żadnego niezgodnego elementu. + + + wartość true, jeśli znaleziono niezgodny element; w przeciwnym razie wartość false. + + + + + porównuje obiekty przy użyciu funkcji object.Equals + + + + + Klasa podstawowa dla wyjątków struktury. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itp. + + + + + Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę. + + + + + Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich + przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg dostępu ma nieprawidłową składnię. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana kolekcja zawiera następującą liczbę wystąpień elementu <{2}>: {1}. Rzeczywista kolekcja zawiera następującą liczbę wystąpień: {3}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Znaleziono zduplikowany element: <{1}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano: <{1}>. Przypadek jest inny w wartości rzeczywistej: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy nie większej niż <{3}> między oczekiwaną wartością <{1}> i wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1} ({2})>. Rzeczywista wartość: <{3} ({4})>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1}>. Rzeczywista wartość: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy większej niż <{3}> między oczekiwaną wartością <{1}> a wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano dowolnej wartości z wyjątkiem: <{1}>. Wartość rzeczywista: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie przekazuj typów wartości do metody AreSame(). Wartości przekonwertowane na typ Object nigdy nie będą takie same. Rozważ użycie metody AreEqual(). {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} — niepowodzenie. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do asynchronicznej metody TestMethod z elementem UITestMethodAttribute, które nie są obsługiwane. Usuń element asynchroniczny lub użyj elementu TestMethodAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje są puste. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Odwołania do obu kolekcji wskazują ten sam obiekt kolekcji. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0}({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (null). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (object). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie zawiera ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} ({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można użyć metody Assert.Equals dla asercji. Zamiast tego użyj metody Assert.AreEqual i przeciążeń. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Liczba elementów w kolekcjach nie jest zgodna. Oczekiwana wartość: <{1}>. Wartość rzeczywista: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {0} nie jest zgodny. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} nie ma oczekiwanego typu. Oczekiwany typ: <{2}>. Rzeczywisty typ: <{3}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} ma wartość (null). Oczekiwany typ: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie kończy się ciągiem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nieprawidłowy argument. Element EqualsTester nie może używać wartości null. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można przekonwertować obiektu typu {0} na typ {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Przywoływany obiekt wewnętrzny nie jest już prawidłowy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Właściwość {0} ma typ {1}. Oczekiwano typu {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} Oczekiwany typ: <{1}>. Rzeczywisty typ: <{2}>. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Niepoprawny typ: <{1}>. Rzeczywisty typ: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie określono atrybutu DataRowAttribute. Atrybut DataTestMethodAttribute wymaga co najmniej jednego atrybutu DataRowAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie zgłoszono wyjątku. Oczekiwany wyjątek: {1}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. Wartość nie może być równa null. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Inna liczba elementów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć konstruktora z określoną sygnaturą. Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć określonego elementu członkowskiego ({0}). Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie rozpoczyna się od ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwanym typem wyjątku musi być typ System.Exception lub typ pochodzący od typu System.Exception. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (Nie można pobrać komunikatu dotyczącego wyjątku typu {0} z powodu wyjątku). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła oczekiwanego wyjątku {0}. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła wyjątku. Wyjątek był oczekiwany przez atrybut {0} zdefiniowany w metodzie testowej. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1}. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1} lub typu, który od niego pochodzi. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Zgłoszono wyjątek {2}, ale oczekiwano wyjątku {1}. {0} + Komunikat o wyjątku: {3} + Ślad stosu: {4}. + + + + + wyniki testu jednostkowego + + + + + Test został wykonany, ale wystąpiły problemy. + Problemy mogą obejmować wyjątki lub asercje zakończone niepowodzeniem. + + + + + Test został ukończony, ale nie można stwierdzić, czy zakończył się powodzeniem, czy niepowodzeniem. + Może być używany dla przerwanych testów. + + + + + Test został wykonany bez żadnych problemów. + + + + + Test jest obecnie wykonywany. + + + + + Wystąpił błąd systemu podczas próby wykonania testu. + + + + + Upłynął limit czasu testu. + + + + + Test został przerwany przez użytkownika. + + + + + Stan testu jest nieznany + + + + + Udostępnia funkcjonalność pomocnika dla platformy testów jednostkowych + + + + + Pobiera komunikaty wyjątku, w tym rekursywnie komunikaty wszystkich wewnętrznych + wyjątków + + Wyjątek, dla którego mają zostać pobrane komunikaty + ciąg z informacjami o komunikacie o błędzie + + + + Wyliczenie dla limitów czasu, które może być używane z klasą . + Typ wyliczenia musi być zgodny + + + + + Nieskończone. + + + + + Atrybut klasy testowej. + + + + + Pobiera atrybut metody testowej, który umożliwia uruchomienie tego testu. + + Wystąpienie atrybutu metody testowej zdefiniowane w tej metodzie. + do użycia do uruchamiania tego testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atrybut metody testowej. + + + + + Wykonuje metodę testową. + + Metoda testowa do wykonania. + Tablica obiektów TestResult reprezentujących wyniki testu. + Extensions can override this method to customize running a TestMethod. + + + + Atrybut inicjowania testu. + + + + + Atrybut oczyszczania testu. + + + + + Atrybut ignorowania. + + + + + Atrybut właściwości testu. + + + + + Inicjuje nowe wystąpienie klasy . + + + Nazwa. + + + Wartość. + + + + + Pobiera nazwę. + + + + + Pobiera wartość. + + + + + Atrybut inicjowania klasy. + + + + + Atrybut oczyszczania klasy. + + + + + Atrybut inicjowania zestawu. + + + + + Atrybut oczyszczania zestawu. + + + + + Właściciel testu + + + + + Inicjuje nowe wystąpienie klasy . + + + Właściciel. + + + + + Pobiera właściciela. + + + + + Atrybut priorytetu służący do określania priorytetu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Priorytet. + + + + + Pobiera priorytet. + + + + + Opis testu + + + + + Inicjuje nowe wystąpienie klasy do opisu testu. + + Opis. + + + + Pobiera opis testu. + + + + + Identyfikator URI struktury projektu CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI struktury projektu CSS. + + Identyfikator URI struktury projektu CSS. + + + + Pobiera identyfikator URI struktury projektu CSS. + + + + + Identyfikator URI iteracji CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI iteracji CSS. + + Identyfikator URI iteracji CSS. + + + + Pobiera identyfikator URI iteracji CSS. + + + + + Atrybut elementu roboczego służący do określania elementu roboczego skojarzonego z tym testem. + + + + + Inicjuje nowe wystąpienie klasy dla atrybutu WorkItem. + + Identyfikator dla elementu roboczego. + + + + Pobiera identyfikator dla skojarzonego elementu roboczego. + + + + + Atrybut limitu czasu służący do określania limitu czasu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Limit czasu. + + + + + Inicjuje nowe wystąpienie klasy ze wstępnie ustawionym limitem czasu + + + Limit czasu + + + + + Pobiera limit czasu. + + + + + Obiekt TestResult zwracany do adaptera. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Pobiera lub ustawia nazwę wyświetlaną wyniku. Przydatny w przypadku zwracania wielu wyników. + Jeśli ma wartość null, nazwa metody jest używana jako nazwa wyświetlana. + + + + + Pobiera lub ustawia wynik wykonania testu. + + + + + Pobiera lub ustawia wyjątek zgłoszony, gdy test kończy się niepowodzeniem. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia ślady debugowania przez kod testu. + + + + + Gets or sets the debug traces by test code. + + + + + Pobiera lub ustawia czas trwania wykonania testu. + + + + + Pobiera lub ustawia indeks wiersza danych w źródle danych. Ustawia tylko dla wyników oddzielnych + uruchomień wiersza danych w teście opartym na danych. + + + + + Pobiera lub ustawia wartość zwracaną metody testowej. (Obecnie zawsze wartość null). + + + + + Pobiera lub ustawia pliki wyników dołączone przez test. + + + + + Określa parametry połączenia, nazwę tabeli i metodę dostępu do wiersza w przypadku testowania opartego na danych. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nazwa domyślnego dostawcy dla źródła danych. + + + + + Domyślna metoda uzyskiwania dostępu do danych. + + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych, parametrami połączenia, tabelą danych i metodą dostępu do danych w celu uzyskania dostępu do źródła danych. + + Niezmienna nazwa dostawcy danych, taka jak System.Data.SqlClient + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + Określa kolejność dostępu do danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z parametrami połączenia i nazwą tabeli. + Określ parametry połączenia i tabelę danych w celu uzyskania dostępu do źródła danych OLEDB. + + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych i parametrami połączenia skojarzonymi z nazwą ustawienia. + + Nazwa źródła danych znaleziona w sekcji <microsoft.visualstudio.qualitytools> pliku app.config. + + + + Pobiera wartość reprezentującą dostawcę danych źródła danych. + + + Nazwa dostawcy danych. Jeśli dostawca danych nie został wyznaczony w czasie inicjowania obiektu, zostanie zwrócony domyślny dostawca obiektu System.Data.OleDb. + + + + + Pobiera wartość reprezentującą parametry połączenia dla źródła danych. + + + + + Pobiera wartość wskazującą nazwę tabeli udostępniającej dane. + + + + + Pobiera metodę używaną do uzyskiwania dostępu do źródła danych. + + + + Jedna z . Jeśli nie zainicjowano , zwróci wartość domyślną . + + + + + Pobiera nazwę źródła danych znajdującego się w sekcji <microsoft.visualstudio.qualitytools> w pliku app.config. + + + + + Atrybut dla testu opartego na danych, w którym dane można określić bezpośrednio. + + + + + Znajdź wszystkie wiersze danych i wykonaj. + + + Metoda testowa. + + + Tablica elementów . + + + + + Uruchamianie metody testowej dla testu opartego na danych. + + Metoda testowa do wykonania. + Wiersz danych. + Wyniki wykonania. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2b63dd5e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + O TestMethod para a execução. + + + + + Obtém o nome do método de teste. + + + + + Obtém o nome da classe de teste. + + + + + Obtém o tipo de retorno do método de teste. + + + + + Obtém os parâmetros do método de teste. + + + + + Obtém o methodInfo para o método de teste. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca o método de teste. + + + Argumentos a serem passados ao método de teste. (Por exemplo, para testes controlados por dados) + + + Resultado da invocação do método de teste. + + + This call handles asynchronous test methods as well. + + + + + Obter todos os atributos do método de teste. + + + Se o atributo definido na classe pai é válido. + + + Todos os atributos. + + + + + Obter atributo de tipo específico. + + System.Attribute type. + + Se o atributo definido na classe pai é válido. + + + Os atributos do tipo especificado. + + + + + O auxiliar. + + + + + O parâmetro de verificação não nulo. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws argument null exception when parameter is null. + + + + O parâmetro de verificação não nulo nem vazio. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws ArgumentException when parameter is null. + + + + Enumeração para como acessamos as linhas de dados no teste controlado por dados. + + + + + As linhas são retornadas em ordem sequencial. + + + + + As linhas são retornadas em ordem aleatória. + + + + + O atributo para definir dados embutidos para um método de teste. + + + + + Inicializa uma nova instância da classe . + + O objeto de dados. + + + + Inicializa a nova instância da classe que ocupa uma matriz de argumentos. + + Um objeto de dados. + Mais dados. + + + + Obtém Dados para chamar o método de teste. + + + + + Obtém ou define o nome de exibição nos resultados de teste para personalização. + + + + + A exceção inconclusiva da asserção. + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Classe InternalTestFailureException. Usada para indicar falha interna de um caso de teste + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + + + + Inicializa uma nova instância da classe . + + + + + Atributo que especifica que uma exceção do tipo especificado é esperada + + + + + Inicializa uma nova instância da classe com o tipo especificado + + Tipo da exceção esperada + + + + Inicializa uma nova instância da classe com + o tipo esperado e a mensagem a ser incluída quando nenhuma exceção é gerada pelo teste. + + Tipo da exceção esperada + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma exceção + + + + + Obtém um valor que indica o Tipo da exceção esperada + + + + + Obtém ou define um valor que indica se é para permitir tipos derivados do tipo da exceção esperada para + qualificá-la como esperada + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Verifica se o tipo da exceção gerada pelo teste de unidade é esperado + + A exceção gerada pelo teste de unidade + + + + Classe base para atributos que especificam que uma exceção de um teste de unidade é esperada + + + + + Inicializa uma nova instância da classe com uma mensagem de não exceção padrão + + + + + Inicializa a nova instância da classe com uma mensagem de não exceção + + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma + exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem de não exceção padrão + + O nome do tipo de atributo ExpectedException + A mensagem de não exceção padrão + + + + Determina se uma exceção é esperada. Se o método é retornado, entende-se + que a exceção era esperada. Se o método gera uma exceção, entende-se + que a exceção não era esperada e a mensagem de exceção gerada + é incluída no resultado do teste. A classe pode ser usada para + conveniência. Se é usada e há falha de asserção, + o resultado do teste é definido como Inconclusivo. + + A exceção gerada pelo teste de unidade + + + + Gerar a exceção novamente se for uma AssertFailedException ou uma AssertInconclusiveException + + A exceção a ser gerada novamente se for uma exceção de asserção + + + + Essa classe é projetada para ajudar o usuário a executar o teste de unidade para os tipos que usam tipos genéricos. + GenericParameterHelper satisfaz algumas restrições comuns de tipos genéricos, + como: + 1. construtor público padrão + 2. implementa interface comum: IComparable, IEnumerable + + + + + Inicializa a nova instância da classe que + satisfaz a restrição 'newable' em genéricos C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa a nova instância da classe que + inicializa a propriedade Data para um valor fornecido pelo usuário. + + Qualquer valor inteiro + + + + Obtém ou define Data + + + + + Executa a comparação de valores de dois objetos GenericParameterHelper + + objeto com o qual comparar + verdadeiro se o objeto tem o mesmo valor que 'esse' objeto GenericParameterHelper. + Caso contrário, falso. + + + + Retorna um código hash para esse objeto. + + O código hash. + + + + Compara os dados dos dois objetos . + + O objeto com o qual comparar. + + Um número assinado indicando os valores relativos dessa instância e valor. + + + Thrown when the object passed in is not an instance of . + + + + + Retorna um objeto IEnumerator cujo comprimento é derivado + da propriedade Data. + + O objeto IEnumerator + + + + Retorna um objeto GenericParameterHelper que é igual ao + objeto atual. + + O objeto clonado. + + + + Permite que usuários registrem/gravem rastros de testes de unidade para diagnósticos. + + + + + Manipulador para LogMessage. + + Mensagem a ser registrada. + + + + Evento a ser escutado. Acionado quando o gerador do teste de unidade escreve alguma mensagem. + Principalmente para ser consumido pelo adaptador. + + + + + API para o gravador de teste chamar Registrar mensagens. + + Formato de cadeia de caracteres com espaços reservados. + Parâmetros dos espaços reservados. + + + + Atributo TestCategory. Usado para especificar a categoria de um teste de unidade. + + + + + Inicializa a nova instância da classe e aplica a categoria ao teste. + + + A Categoria de teste. + + + + + Obtém as categorias de teste aplicadas ao teste. + + + + + Classe base para o atributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa a nova instância da classe . + Aplica a categoria ao teste. As cadeias de caracteres retornadas por TestCategories + são usadas com o comando /category para filtrar os testes + + + + + Obtém a categoria de teste aplicada ao teste. + + + + + Classe AssertFailedException. Usada para indicar falha em um caso de teste + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Uma coleção de classes auxiliares para testar várias condições nos + testes de unidade. Se a condição testada não é atendida, uma exceção + é gerada. + + + + + Obtém uma instância singleton da funcionalidade Asserção. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is false. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is true. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null. + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if refers to the same object + as . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is not equal to . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Gera uma AssertFailedException. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Os métodos estático igual a sobrecargas são usados para comparar instâncias de dois tipos em relação à igualdade de + referência. Esse método não deve ser usado para comparar a igualdade de + duas instâncias. Esse objeto sempre gerará Assert.Fail. Use + Assert.AreEqual e sobrecargas associadas nos testes de unidade. + + Objeto A + Objeto B + Sempre falso. + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Substitui os caracteres nulos ('\0') por "\\0". + + + A cadeia de caracteres a ser pesquisada. + + + A cadeia de caracteres convertida com os caracteres nulos substituídos por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Função auxiliar que cria e gera uma AssertionFailedException + + + nome da asserção que gera uma exceção + + + mensagem que descreve as condições da falha de asserção + + + Os parâmetros. + + + + + Verifica o parâmetro das condições válidas + + + O parâmetro. + + + O Nome da asserção. + + + nome do parâmetro + + + mensagem da exceção de parâmetro inválido + + + Os parâmetros. + + + + + Converte com segurança um objeto em uma cadeia de caracteres manipulando valores e caracteres nulos. + Os valores nulos são convertidos em "(null)". Os caracteres nulos são convertidos em "\\0". + + + O objeto a ser convertido em uma cadeia de caracteres. + + + A cadeia de caracteres convertida. + + + + + A asserção da cadeia de caracteres. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if matches . + + + + + Uma coleção de classes auxiliares para testar várias condições associadas + às coleções nos testes de unidade. Se a condição testada não é + atendida, uma exceção é gerada. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is found in + . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if every element in is also found in + . + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Determina se a primeira coleção é um subconjunto da segunda + coleção. Se os conjuntos contiverem elementos duplicados, o número + de ocorrências do elemento no subconjunto deverá ser menor ou igual + ao número de ocorrências no superconjunto. + + + A coleção que o teste espera que esteja contida em . + + + A coleção que o teste espera que contenha . + + + Verdadeiro se é um subconjunto de + , caso contrário, falso. + + + + + Cria um dicionário contendo o número de ocorrências de cada + elemento na coleção especificada. + + + A coleção a ser processada. + + + O número de elementos nulos na coleção. + + + Um dicionário contendo o número de ocorrências de cada elemento + na coleção especificada. + + + + + Encontra um elemento incompatível entre as duas coleções. Um elemento + incompatível é aquele que aparece um número diferente de vezes na + coleção esperada em relação à coleção real. É pressuposto que + as coleções sejam referências não nulas diferentes com o + mesmo número de elementos. O chamador é responsável por esse nível de + verificação. Se não houver nenhum elemento incompatível, a função retornará + falso e os parâmetros de saída não deverão ser usados. + + + A primeira coleção a ser comparada. + + + A segunda coleção a ser comparada. + + + O número esperado de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O número real de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O elemento incompatível (poderá ser nulo) ou nulo se não houver nenhum + elemento incompatível. + + + verdadeiro se um elemento incompatível foi encontrado. Caso contrário, falso. + + + + + compara os objetos usando object.Equals + + + + + Classe base para exceções do Framework. + + + + + Inicializa uma nova instância da classe . + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Uma classe de recurso fortemente tipada para pesquisar cadeias de caracteres localizadas, etc. + + + + + Retorna a instância de ResourceManager armazenada em cache usada por essa classe. + + + + + Substitui a propriedade CurrentUICulture do thread atual em todas + as pesquisas de recursos usando essa classe de recurso fortemente tipada. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres de acesso tem sintaxe inválida. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A coleção esperada contém {1} ocorrência(s) de <{2}>. A coleção real contém {3} ocorrência(s). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Item duplicado encontrado:<{1}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Maiúsculas e minúsculas diferentes para o valor real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença não maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1} ({2})>. Real:<{3} ({4})>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a É esperado qualquer valor, exceto:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não passe tipos de valores para AreSame(). Os valores convertidos em Object nunca serão os mesmos. Considere usar AreEqual(). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante à Falha em {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada similar a TestMethod assíncrono com UITestMethodAttribute sem suporte. Remova o assíncrono ou use o TestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções estão vazias. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as referências de coleções apontam para o mesmo objeto de coleção. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0}({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (nulo). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (objeto). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não contém a cadeia de caracteres '{1}'. {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} ({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Assert.Equals não deve ser usado para Asserções. Use Assert.AreEqual e sobrecargas em seu lugar. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O número de elementos nas coleções não corresponde. Esperado:<{1}>. Real:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {0} não corresponde. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} não é de tipo esperado. Tipo esperado:<{2}>. Tipo real:<{3}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} é (nulo). Tipo esperado:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não termina com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Argumento inválido – EqualsTester não pode usar nulos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não é possível converter objeto do tipo {0} em {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O objeto interno referenciado não é mais válido. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A propriedade {0} é do tipo {1}; tipo esperado {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} Tipo esperado:<{1}>. Tipo real:<{2}>.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Tipo incorreto:<{1}>. Tipo real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhum DataRowAttribute especificado. Pelo menos um DataRowAttribute é necessário com DataTestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhuma exceção gerada. A exceção {1} era esperada. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. O valor não pode ser nulo. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Número diferente de elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O construtor com a assinatura especificada não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O membro especificado ({0}) não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não começa com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O tipo de exceção esperado deve ser System.Exception ou um tipo derivado de System.Exception. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (Falha ao obter a mensagem para uma exceção do tipo {0} devido a uma exceção.). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou a exceção esperada {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou uma exceção. Uma exceção era esperada pelo atributo {0} definido no método de teste. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperada a exceção {1}. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperado a exceção {1} ou um tipo derivado dela. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Exceção gerada {2}, mas a exceção {1} era esperada. {0} + Mensagem de Exceção: {3} + Rastreamento de Pilha: {4}. + + + + + resultados de teste de unidade + + + + + O teste foi executado, mas ocorreram problemas. + Os problemas podem envolver exceções ou asserções com falha. + + + + + O teste foi concluído, mas não é possível dizer se houve aprovação ou falha. + Pode ser usado para testes anulados. + + + + + O teste foi executado sem nenhum problema. + + + + + O teste está em execução no momento. + + + + + Ocorreu um erro de sistema ao tentarmos executar um teste. + + + + + O tempo limite do teste foi atingido. + + + + + O teste foi anulado pelo usuário. + + + + + O teste está em um estado desconhecido + + + + + Fornece funcionalidade auxiliar para a estrutura do teste de unidade + + + + + Obtém as mensagens de exceção, incluindo as mensagens para todas as exceções internas + recursivamente + + Exceção ao obter mensagens para + cadeia de caracteres com informações de mensagem de erro + + + + Enumeração para tempos limite, a qual pode ser usada com a classe . + O tipo de enumeração deve corresponder + + + + + O infinito. + + + + + O atributo da classe de teste. + + + + + Obtém um atributo de método de teste que habilita a execução desse teste. + + A instância de atributo do método de teste definida neste método. + O a ser usado para executar esse teste. + Extensions can override this method to customize how all methods in a class are run. + + + + O atributo do método de teste. + + + + + Executa um método de teste. + + O método de teste a ser executado. + Uma matriz de objetos TestResult que representam resultados do teste. + Extensions can override this method to customize running a TestMethod. + + + + O atributo de inicialização do teste. + + + + + O atributo de limpeza do teste. + + + + + O atributo ignorar. + + + + + O atributo de propriedade de teste. + + + + + Inicializa uma nova instância da classe . + + + O nome. + + + O valor. + + + + + Obtém o nome. + + + + + Obtém o valor. + + + + + O atributo de inicialização de classe. + + + + + O atributo de limpeza de classe. + + + + + O atributo de inicialização de assembly. + + + + + O atributo de limpeza de assembly. + + + + + Proprietário do Teste + + + + + Inicializa uma nova instância da classe . + + + O proprietário. + + + + + Obtém o proprietário. + + + + + Atributo de prioridade. Usado para especificar a prioridade de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + A prioridade. + + + + + Obtém a prioridade. + + + + + Descrição do teste + + + + + Inicializa uma nova instância da classe para descrever um teste. + + A descrição. + + + + Obtém a descrição de um teste. + + + + + URI de Estrutura do Projeto de CSS + + + + + Inicializa a nova instância da classe para o URI da Estrutura do Projeto CSS. + + O URI da Estrutura do Projeto ECSS. + + + + Obtém o URI da Estrutura do Projeto CSS. + + + + + URI de Iteração de CSS + + + + + Inicializa uma nova instância da classe para o URI de Iteração do CSS. + + O URI de iteração do CSS. + + + + Obtém o URI de Iteração do CSS. + + + + + Atributo WorkItem. Usado para especificar um item de trabalho associado a esse teste. + + + + + Inicializa a nova instância da classe para o Atributo WorkItem. + + A ID para o item de trabalho. + + + + Obtém a ID para o item de trabalho associado. + + + + + Atributo de tempo limite. Usado para especificar o tempo limite de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + O tempo limite. + + + + + Inicializa a nova instância da classe com um tempo limite predefinido + + + O tempo limite + + + + + Obtém o tempo limite. + + + + + O objeto TestResult a ser retornado ao adaptador. + + + + + Inicializa uma nova instância da classe . + + + + + Obtém ou define o nome de exibição do resultado. Útil ao retornar vários resultados. + Se for nulo, o nome do Método será usado como o DisplayName. + + + + + Obtém ou define o resultado da execução de teste. + + + + + Obtém ou define a exceção gerada quando o teste falha. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define os rastreamentos de depuração pelo código de teste. + + + + + Gets or sets the debug traces by test code. + + + + + Obtém ou define a duração de execução do teste. + + + + + Obtém ou define o índice de linha de dados na fonte de dados. Defina somente para os resultados de execuções + individuais de um teste controlado por dados. + + + + + Obtém ou define o valor retornado do método de teste. (Sempre nulo no momento). + + + + + Obtém ou define os arquivos de resultado anexados pelo teste. + + + + + Especifica a cadeia de conexão, o nome de tabela e o método de acesso de linha para teste controlado por dados. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + O nome do provedor padrão para a DataSource. + + + + + O método de acesso a dados padrão. + + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados, uma cadeia de conexão, uma tabela de dados e um método de acesso a dados para acessar a fonte de dados. + + Nome do provedor de dados invariável, como System.Data.SqlClient + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + Especifica a ordem para acessar os dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com uma cadeia de conexão e um nome da tabela. + Especifique a cadeia de conexão e a tabela de dados para acessar a fonte de dados OLEDB. + + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados e com uma cadeia de conexão associada ao nome da configuração. + + O nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> do arquivo app.config. + + + + Obtém o valor que representa o provedor de dados da fonte de dados. + + + O nome do provedor de dados. Se um provedor de dados não foi designado na inicialização do objeto, o provedor de dados padrão de System.Data.OleDb será retornado. + + + + + Obtém o valor que representa a cadeia de conexão da fonte de dados. + + + + + Obtém um valor que indica o nome da tabela que fornece dados. + + + + + Obtém o método usado para acessar a fonte de dados. + + + + Um dos valores. Se o não for inicializado, o valor padrão será retornado . + + + + + Obtém o nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> no arquivo app.config. + + + + + O atributo para teste controlado por dados em que os dados podem ser especificados de maneira embutida. + + + + + Encontrar todas as linhas de dados e executar. + + + O Método de teste. + + + Uma matriz de . + + + + + Executa o método de teste controlado por dados. + + O método de teste a ser executado. + Linha de Dados. + Resultados de execução. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..f278594a3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4202 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod для выполнения. + + + + + Получает имя метода теста. + + + + + Получает имя тестового класса. + + + + + Получает тип возвращаемого значения метода теста. + + + + + Получает параметры метода теста. + + + + + Получает methodInfo для метода теста. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Вызывает метод теста. + + + Аргументы, передаваемые методу теста (например, для управляемых данными тестов). + + + Результат вызова метода теста. + + + This call handles asynchronous test methods as well. + + + + + Получить все атрибуты метода теста. + + + Допустим ли атрибут, определенный в родительском классе. + + + Все атрибуты. + + + + + Получить атрибут указанного типа. + + System.Attribute type. + + Допустим ли атрибут, определенный в родительском классе. + + + Атрибуты указанного типа. + + + + + Вспомогательный метод. + + + + + Параметр проверки не имеет значения NULL. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws argument null exception when parameter is null. + + + + Параметр проверки не равен NULL или не пуст. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws ArgumentException when parameter is null. + + + + Перечисление, описывающее способ доступа к строкам данных в тестах, управляемых данными. + + + + + Строки возвращаются в последовательном порядке. + + + + + Строки возвращаются в случайном порядке. + + + + + Атрибут для определения встроенных данных для метода теста. + + + + + Инициализирует новый экземпляр класса . + + Объект данных. + + + + Инициализирует новый экземпляр класса , принимающий массив аргументов. + + Объект данных. + Дополнительные данные. + + + + Получает данные для вызова метода теста. + + + + + Получает или задает отображаемое имя в результатах теста для настройки. + + + + + Исключение утверждения с неопределенным результатом. + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Класс InternalTestFailureException. Используется для указания внутреннего сбоя для тестового случая + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + + + + Инициализирует новый экземпляр класса . + + + + + Атрибут, который указывает, что ожидается исключение указанного типа + + + + + Инициализирует новый экземпляр класса ожидаемого типа + + Тип ожидаемого исключения + + + + Инициализирует новый экземпляр класса + ожидаемого типа c сообщением для включения, когда тест не создает исключение. + + Тип ожидаемого исключения + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал исключение + + + + + Получает значение, указывающее тип ожидаемого исключения + + + + + Получает или задает значение, которое означает, являются ли ожидаемыми типы, производные + от типа ожидаемого исключения + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Проверяет, является ли ожидаемым тип исключения, созданного модульным тестом + + Исключение, созданное модульным тестом + + + + Базовый класс для атрибутов, которые указывают ожидать исключения из модульного теста + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений по умолчанию + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений + + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал + исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение по умолчанию об отсутствии исключений + + Название типа для атрибута ExpectedException + Сообщение об отсутствии исключений по умолчанию + + + + Определяет, ожидается ли исключение. Если метод возвращает управление, то + считается, что ожидалось исключение. Если метод создает исключение, то + считается, что исключение не ожидалось, и сообщение созданного исключения + включается в результат теста. Для удобства можно использовать класс . + Если используется и утверждение завершается с ошибкой, + то результат теста будет неопределенным. + + Исключение, созданное модульным тестом + + + + Повторно создать исключение при возникновении исключения AssertFailedException или AssertInconclusiveException + + Исключение, которое необходимо создать повторно, если это исключение утверждения + + + + Этот класс предназначен для пользователей, выполняющих модульное тестирование для универсальных типов. + GenericParameterHelper удовлетворяет некоторым распространенным ограничениям для универсальных типов, + например. + 1. Открытый конструктор по умолчанию + 2. Реализует общий интерфейс: IComparable, IEnumerable + + + + + Инициализирует новый экземпляр класса , который + удовлетворяет ограничению newable в универсальных типах C#. + + + This constructor initializes the Data property to a random value. + + + + + Инициализирует новый экземпляр класса , который + инициализирует свойство Data в указанное пользователем значение. + + Любое целочисленное значение + + + + Получает или задает данные + + + + + Сравнить значения двух объектов GenericParameterHelper + + объект, с которым будет выполнено сравнение + True, если obj имеет то же значение, что и объект "this" GenericParameterHelper. + В противном случае False. + + + + Возвращает хэш-код для этого объекта. + + Хэш-код. + + + + Сравнивает данные двух объектов . + + Объект для сравнения. + + Число со знаком, указывающее относительные значения этого экземпляра и значения. + + + Thrown when the object passed in is not an instance of . + + + + + Возвращает объект IEnumerator, длина которого является производной + от свойства Data. + + Объект IEnumerator + + + + Возвращает объект GenericParameterHelper, равный + текущему объекту. + + Клонированный объект. + + + + Позволяет пользователям регистрировать/записывать трассировки от модульных тестов для диагностики. + + + + + Обработчик LogMessage. + + Сообщение для записи в журнал. + + + + Прослушиваемое событие. Возникает, когда средство записи модульных тестов записывает сообщение. + Главным образом используется адаптером. + + + + + API, при помощи которого средство записи теста будет обращаться к сообщениям журнала. + + Строка формата с заполнителями. + Параметры для заполнителей. + + + + Атрибут TestCategory; используется для указания категории модульного теста. + + + + + Инициализирует новый экземпляр класса и применяет категорию к тесту. + + + Категория теста. + + + + + Возвращает или задает категории теста, которые были применены к тесту. + + + + + Базовый класс для атрибута Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Инициализирует новый экземпляр класса . + Применяет к тесту категорию. Строки, возвращаемые TestCategories , + используются с командой /category для фильтрации тестов + + + + + Возвращает или задает категорию теста, которая была применена к тесту. + + + + + Класс AssertFailedException. Используется для указания сбоя тестового случая + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Коллекция вспомогательных классов для тестирования различных условий в + модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is true. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is null. + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if refers to the same object + as . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is not equal to . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Создает исключение AssertFailedException. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Статические переопределения равенства используются для сравнения экземпляров двух типов на равенство + ссылок. Этот метод не должен использоваться для сравнения двух экземпляров на + равенство. Этот объект всегда создает исключение с Assert.Fail. Используйте в ваших модульных тестах + Assert.AreEqual и связанные переопределения. + + Объект A + Объект B + False (всегда). + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Заменяет NULL-символы ("\0") символами "\\0". + + + Искомая строка. + + + Преобразованная строка, в которой NULL-символы были заменены на "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Вспомогательная функция, которая создает и вызывает AssertionFailedException + + + имя утверждения, создавшего исключение + + + сообщение с описанием условий для сбоя утверждения + + + Параметры. + + + + + Проверяет параметр на допустимые условия + + + Параметр. + + + Имя утверждения. + + + имя параметра + + + сообщение об исключении, связанном с недопустимым параметром + + + Параметры. + + + + + Безопасно преобразует объект в строку, обрабатывая значения NULL и NULL-символы. + Значения NULL преобразуются в "(null)", NULL-символы — в "\\0". + + + Объект для преобразования в строку. + + + Преобразованная строка. + + + + + Утверждение строки. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not begin with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not end with + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not match + . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if matches . + + + + + Коллекция вспомогательных классов для тестирования различных условий, связанных + с коллекциями в модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is found in + . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a null element is found in . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is not found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if every element in is also found in + . + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Определяет, является ли первая коллекция подмножеством второй + коллекции. Если любое из множеств содержит одинаковые элементы, то число + вхождений элемента в подмножестве должно быть меньше или + равно количеству вхождений в супермножестве. + + + Коллекция, которая с точки зрения теста должна содержаться в . + + + Коллекция, которая с точки зрения теста должна содержать . + + + Значение True, если является подмножеством + , в противном случае — False. + + + + + Создает словарь с числом вхождений каждого элемента + в указанной коллекции. + + + Обрабатываемая коллекция. + + + Число элементов, имеющих значение NULL, в коллекции. + + + Словарь с числом вхождений каждого элемента + в указанной коллекции. + + + + + Находит несоответствующий элемент между двумя коллекциями. Несоответствующий + элемент — это элемент, количество вхождений которого в ожидаемой коллекции отличается + от фактической коллекции. В качестве коллекций + ожидаются различные ссылки, отличные от null, с одинаковым + количеством элементов. За этот уровень проверки отвечает + вызывающий объект. Если несоответствующих элементов нет, функция возвращает + False, и выходные параметры использовать не следует. + + + Первая сравниваемая коллекция. + + + Вторая сравниваемая коллекция. + + + Ожидаемое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Фактическое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Несоответствующий элемент (может иметь значение NULL) или значение NULL, если несоответствующий + элемент отсутствует. + + + Значение True, если был найден несоответствующий элемент, в противном случае — False. + + + + + сравнивает объекты при помощи object.Equals + + + + + Базовый класс для исключений платформы. + + + + + Инициализирует новый экземпляр класса . + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Строго типизированный класс ресурса для поиска локализованных строк и т. д. + + + + + Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + + + + + Переопределяет свойство CurrentUICulture текущего потока для всех операций + поиска ресурсов, в которых используется этот строго типизированный класс. + + + + + Ищет локализованную строку, похожую на "Синтаксис строки доступа неверен". + + + + + Ищет локализованную строку, похожую на "Ожидаемая коллекция содержит {1} вхождений <{2}>. Фактическая коллекция содержит {3} вхождений. {0}". + + + + + Ищет локализованную строку, похожую на "Обнаружен элемент-дубликат: <{1}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое значение имеет другой регистр: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять не больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1} ({2})>. Фактическое: <{3} ({4})>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидалось любое значение, кроме: <{1}>. Фактическое значение: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Не передавайте типы значений в AreSame(). Значения, преобразованные в объекты, никогда не будут одинаковыми. Воспользуйтесь методом AreEqual(). {0}". + + + + + Ищет локализованную строку, похожую на "Сбой {0}. {1}". + + + + + Ищет локализованную строку, аналогичную "Асинхронный метод TestMethod с UITestMethodAttribute не поддерживается. Удалите async или используйте TestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Обе коллекции пусты. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы". + + + + + Ищет локализованную строку, похожую на "Ссылки на обе коллекции указывают на один объект коллекции. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы. {0}". + + + + + Ищет локализованную строку, похожую на "{0}({1})". + + + + + Ищет локализованную строку, похожую на "(NULL)". + + + + + Ищет локализованную строку, похожую на "(объект)". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не содержит строку "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "{0} ({1})". + + + + + Ищет локализованную строку, похожую на "Assert.Equals не следует использовать для Assertions. Используйте Assert.AreEqual и переопределения". + + + + + Ищет локализованную строку, похожую на "Число элементов в коллекциях не совпадает. Ожидаемое число: <{1}>. Фактическое: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {0} не соответствует". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет непредвиденный тип. Ожидаемый тип: <{2}>. Фактический тип: <{3}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет значение (NULL). Ожидаемый тип: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не заканчивается строкой "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Недопустимый аргумент — EqualsTester не может использовать значения NULL". + + + + + Ищет локализованную строку, похожую на "Невозможно преобразовать объект типа {0} в {1}". + + + + + Ищет локализованную строку, похожую на "Внутренний объект, на который была сделана ссылка, более не действителен". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. {1}". + + + + + Ищет локализованную строку, похожую на "Свойство {0} имеет тип {1}; ожидаемый тип: {2}". + + + + + Ищет локализованную строку, похожую на "{0} Ожидаемый тип: <{1}>. Фактический тип: <{2}>". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Неправильный тип: <{1}>. Фактический тип: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Не указан атрибут DataRowAttribute. Необходимо указать как минимум один атрибут DataRowAttribute с атрибутом DataTestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Исключение не было создано. Ожидалось исключение {1}. {0}". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. Значение не может быть равно NULL. {1}". + + + + + Ищет локализованную строку, похожую на "Число элементов различается". + + + + + Ищет локализованную строку, похожую на + "Не удалось найти конструктор с указанной сигнатурой. Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор класса PrivateObject". + . + + + + + Ищет локализованную строку, похожую на + "Не удалось найти указанный элемент ({0}). Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор PrivateObject". + . + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не начинается со строки "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое исключение должно иметь тип System.Exception или производный от него тип". + + + + + Ищет локализованную строку, похожую на "(Не удалось получить сообщение для исключения типа {0} из-за исключения.)". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал ожидаемое исключение {0}. {1}". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал исключение. Исключение ожидалось атрибутом {0}, определенным в методе теста". + + + + + Ищет локализованную строку, похожую на "Метод теста создан исключение {0}, а ожидалось исключение {1}. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Метод теста создал исключение {0}, а ожидалось исключение {1} или производный от него тип. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Создано исключение {2}, а ожидалось исключение {1}. {0} + Сообщение исключения: {3} + Стек трассировки: {4}". + + + + + результаты модульного теста + + + + + Тест был выполнен, но при его выполнении возникли проблемы. + Эти проблемы могут включать исключения или сбой утверждений. + + + + + Тест завершен, но результат его завершения неизвестен. + Может использоваться для прерванных тестов. + + + + + Тест был выполнен без проблем. + + + + + Тест выполняется в данный момент. + + + + + При попытке выполнения теста возникла ошибка в системе. + + + + + Время ожидания для теста истекло. + + + + + Тест прерван пользователем. + + + + + Тест находится в неизвестном состоянии + + + + + Предоставляет вспомогательные функции для платформы модульных тестов + + + + + Получает сообщения с исключениями, включая сообщения для всех внутренних исключений + (рекурсивно) + + Исключение, для которого следует получить сообщения + строка с сообщением об ошибке + + + + Перечисление для времен ожидания, которое можно использовать с классом . + Тип перечисления должен соответствовать + + + + + Бесконечно. + + + + + Атрибут тестового класса. + + + + + Получает атрибут метода теста, включающий выполнение этого теста. + + Для этого метода определен экземпляр атрибута метода теста. + + для использования для выполнения этого теста. + Extensions can override this method to customize how all methods in a class are run. + + + + Атрибут метода теста. + + + + + Выполняет метод теста. + + Выполняемый метод теста. + Массив объектов TestResult, представляющих результаты теста. + Extensions can override this method to customize running a TestMethod. + + + + Атрибут инициализации теста. + + + + + Атрибут очистки теста. + + + + + Атрибут игнорирования. + + + + + Атрибут свойства теста. + + + + + Инициализирует новый экземпляр класса . + + + Имя. + + + Значение. + + + + + Получает имя. + + + + + Получает значение. + + + + + Атрибут инициализации класса. + + + + + Атрибут очистки класса. + + + + + Атрибут инициализации сборки. + + + + + Атрибут очистки сборки. + + + + + Владелец теста + + + + + Инициализирует новый экземпляр класса . + + + Владелец. + + + + + Получает владельца. + + + + + Атрибут Priority; используется для указания приоритета модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Приоритет. + + + + + Получает приоритет. + + + + + Описание теста + + + + + Инициализирует новый экземпляр класса для описания теста. + + Описание. + + + + Получает описание теста. + + + + + URI структуры проекта CSS + + + + + Инициализирует новый экземпляр класса для URI структуры проекта CSS. + + URI структуры проекта CSS. + + + + Получает URI структуры проекта CSS. + + + + + URI итерации CSS + + + + + Инициализирует новый экземпляр класса для URI итерации CSS. + + URI итерации CSS. + + + + Получает URI итерации CSS. + + + + + Атрибут WorkItem; используется для указания рабочего элемента, связанного с этим тестом. + + + + + Инициализирует новый экземпляр класса для атрибута WorkItem. + + Идентификатор рабочего элемента. + + + + Получает идентификатор связанного рабочего элемента. + + + + + Атрибут Timeout; используется для указания времени ожидания модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Время ожидания. + + + + + Инициализирует новый экземпляр класса с заданным временем ожидания + + + Время ожидания + + + + + Получает время ожидания. + + + + + Объект TestResult, который возвращается адаптеру. + + + + + Инициализирует новый экземпляр класса . + + + + + Получает или задает отображаемое имя результата. Удобно для возврата нескольких результатов. + Если параметр равен NULL, имя метода используется в качестве DisplayName. + + + + + Получает или задает результат выполнения теста. + + + + + Получает или задает исключение, создаваемое, если тест не пройден. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает трассировки отладки для кода теста. + + + + + Gets or sets the debug traces by test code. + + + + + Получает или задает продолжительность выполнения теста. + + + + + Возвращает или задает индекс строки данных в источнике данных. Задается только для результатов выполнения + отдельных строк данных для теста, управляемого данными. + + + + + Получает или задает возвращаемое значение для метода теста. (Сейчас всегда равно NULL.) + + + + + Возвращает или задает файлы результатов, присоединенные во время теста. + + + + + Задает строку подключения, имя таблицы и метод доступа к строкам для тестов, управляемых данными. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Имя поставщика по умолчанию для DataSource. + + + + + Метод доступа к данным по умолчанию. + + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных, строкой подключения, таблицей данных и методом доступа к данным для доступа к источнику данных. + + Имя инвариантного поставщика данных, например System.Data.SqlClient + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + Задает порядок доступа к данным. + + + + Инициализирует новый экземпляр класса . Этот экземпляр будет инициализирован с строкой подключения и именем таблицы. + Укажите строку подключения и таблицу данных для доступа к источнику данных OLEDB. + + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных и строкой подключения, связанной с именем параметра. + + Имя источника данных, обнаруженного в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + Получает значение, представляющее поставщик данных для источника данных. + + + Имя поставщика данных. Если поставщик данных не был определен при инициализации объекта, будет возвращен поставщик по умолчанию, System.Data.OleDb. + + + + + Получает значение, представляющее строку подключения для источника данных. + + + + + Получает значение с именем таблицы, содержащей данные. + + + + + Возвращает метод, используемый для доступа к источнику данных. + + + + Один из значений. Если не инициализировано, возвращается значение по умолчанию . + + + + + Возвращает имя источника данных, обнаруженное в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + + Атрибут для тестов, управляемых данными, в которых данные могут быть встроенными. + + + + + Найти все строки данных и выполнить. + + + Метод теста. + + + Массив . + + + + + Выполнение метода теста, управляемого данными. + + Выполняемый метод теста. + Строка данных. + Результаты выполнения. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..b7a00291b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Yürütülecek TestMethod. + + + + + Test metodunun adını alır. + + + + + Test sınıfının adını alır. + + + + + Test metodunun dönüş türünü alır. + + + + + Test metodunun parametrelerini alır. + + + + + Test metodu için methodInfo değerini alır. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Test metodunu çağırır. + + + Test metoduna geçirilecek bağımsız değişkenler. (Örn. Veri temelli için) + + + Test yöntemi çağırma sonucu. + + + This call handles asynchronous test methods as well. + + + + + Test metodunun tüm özniteliklerini alır. + + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Tüm öznitelikler. + + + + + Belirli bir türdeki özniteliği alır. + + System.Attribute type. + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Belirtilen türün öznitelikleri. + + + + + Yardımcı. + + + + + Denetim parametresi null değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws argument null exception when parameter is null. + + + + Denetim parametresi null veya boş değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws ArgumentException when parameter is null. + + + + Veri tabanlı testlerde veri satırlarına erişme şekline yönelik sabit listesi. + + + + + Satırlar sıralı olarak döndürülür. + + + + + Satırlar rastgele sırayla döndürülür. + + + + + Bir test metodu için satır içi verileri tanımlayan öznitelik. + + + + + sınıfının yeni bir örneğini başlatır. + + Veri nesnesi. + + + + Bir bağımsız değişken dizisi alan sınıfının yeni bir örneğini başlatır. + + Bir veri nesnesi. + Daha fazla veri. + + + + Çağıran test metodu verilerini alır. + + + + + Özelleştirme için test sonuçlarında görünen adı alır veya ayarlar. + + + + + Onay sonuçlandırılmadı özel durumu. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + InternalTestFailureException sınıfı. Bir test çalışmasının iç hatasını belirtmek için kullanılır + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Belirtilen türde bir özel durum beklemeyi belirten öznitelik + + + + + Beklenen tür ile sınıfının yeni bir örneğini başlatır + + Beklenen özel durum türü + + + + Beklenen tür ve test tarafından özel durum oluşturulmadığında eklenecek ileti ile sınıfının + yeni bir örneğini başlatır. + + Beklenen özel durum türü + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna dahil edilecek ileti + + + + + Beklenen özel durumun Türünü belirten bir değer alır + + + + + Beklenen özel durumun türünden türetilmiş türlerin beklenen özel durum türü olarak değerlendirilmesine izin verilip verilmeyeceğini + belirten değeri alır veya ayarlar + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Birim testi tarafından oluşturulan özel durum türünün beklendiğini doğrular + + Birim testi tarafından oluşturulan özel durum + + + + Birim testinden bir özel durum beklemek için belirtilen özniteliklerin temel sınıfı + + + + + Varsayılan bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + + + Bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna + dahil edilecek özel durum + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Varsayılan 'özel durum yok' iletisini alır + + ExpectedException özniteliği tür adı + Özel durum olmayan varsayılan ileti + + + + Özel durumun beklenip beklenmediğini belirler. Metot dönüş yapıyorsa, özel + durumun beklendiği anlaşılır. Metot bir özel durum oluşturuyorsa, özel durumun + beklenmediği anlaşılır ve oluşturulan özel durumun iletisi test sonucuna + eklenir. Kolaylık sağlamak amacıyla sınıfı kullanılabilir. + kullanılırsa ve onaylama başarısız olursa, + test sonucu Belirsiz olarak ayarlanır. + + Birim testi tarafından oluşturulan özel durum + + + + Özel durum bir AssertFailedException veya AssertInconclusiveException ise özel durumu yeniden oluşturur + + Bir onaylama özel durumu ise yeniden oluşturulacak özel durum + + + + Bu sınıf, kullanıcının genel türler kullanan türlere yönelik birim testleri yapmasına yardımcı olmak üzere tasarlanmıştır. + GenericParameterHelper bazı genel tür kısıtlamalarını yerine getirir; + örneğin: + 1. genel varsayılan oluşturucu + 2. ortak arabirim uygular: IComparable, IEnumerable + + + + + sınıfının C# genel türlerindeki 'newable' + kısıtlamasını karşılayan yeni bir örneğini başlatır. + + + This constructor initializes the Data property to a random value. + + + + + sınıfının, Data özelliğini kullanıcı + tarafından sağlanan bir değerle başlatan yeni bir örneğini başlatır. + + Herhangi bir tamsayı değeri + + + + Verileri alır veya ayarlar + + + + + İki GenericParameterHelper nesnesi için değer karşılaştırması yapar + + karşılaştırma yapılacak nesne + nesne bu 'this' GenericParameterHelper nesnesiyle aynı değere sahipse true. + aksi takdirde false. + + + + Bu nesne için bir karma kod döndürür. + + Karma kod. + + + + İki nesnesinin verilerini karşılaştırır. + + Karşılaştırılacak nesne. + + Bu örnek ve değerin göreli değerlerini gösteren, işaretli sayı. + + + Thrown when the object passed in is not an instance of . + + + + + Uzunluğu Data özelliğinden türetilmiş bir IEnumerator nesnesi + döndürür. + + IEnumerator nesnesi + + + + Geçerli nesneye eşit olan bir GenericParameterHelper nesnesi + döndürür. + + Kopyalanan nesne. + + + + Kullanıcıların tanılama amacıyla birim testlerindeki izlemeleri günlüğe kaydetmesini/yazmasını sağlar. + + + + + LogMessage işleyicisi. + + Günlüğe kaydedilecek ileti. + + + + Dinlenecek olay. Birim testi yazıcı bir ileti yazdığında oluşturulur. + Genellikle bağdaştırıcı tarafından kullanılır. + + + + + İletileri günlüğe kaydetmek için çağrılacak test yazıcısı API'si. + + Yer tutucuları olan dize biçimi. + Yer tutucu parametreleri. + + + + TestCategory özniteliği; bir birim testinin kategorisini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır ve kategoriyi teste uygular. + + + Test Kategorisi. + + + + + Teste uygulanan test kategorilerini alır. + + + + + "Category" özniteliğinin temel sınıfı + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + sınıfının yeni bir örneğini başlatır. + Kategoriyi teste uygular. TestCategories tarafından döndürülen + dizeler /category komutu içinde testleri filtrelemek için kullanılır + + + + + Teste uygulanan test kategorisini alır. + + + + + AssertFailedException sınıfı. Test çalışmasının başarısız olduğunu göstermek için kullanılır + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Birim testleri içindeki çeşitli koşulları test etmeye yönelik yardımcı + sınıf koleksiyonu. Test edilen koşul karşılanmazsa bir özel durum + oluşturulur. + + + + + Assert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is false. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is true. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null. + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if refers to the same object + as . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is not equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Bir AssertFailedException oluşturur. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Statik eşit aşırı yüklemeler iki türün örneklerini başvuru eşitliği bakımından + karşılaştırmak için kullanılır. Bu metot iki örneği eşitlik bakımından karşılaştırmak için + kullanılmamalıdır. Bu nesne her zaman Assert.Fail ile oluşturulur. + Lütfen birim testlerinizde Assert.AreEqual ve ilişkili aşırı yüklemelerini kullanın. + + Nesne A + Nesne B + Her zaman false. + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + Null karakterleri ('\0'), "\\0" ile değiştirir. + + + Aranacak dize. + + + Null karakterler içeren dönüştürülmüş dize "\\0" ile değiştirildi. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException oluşturan yardımcı işlev + + + özel durum oluşturan onaylamanın adı + + + onaylama hatası koşullarını açıklayan ileti + + + Parametreler. + + + + + Parametreyi geçerli koşullar için denetler + + + Parametre. + + + Onaylama Adı. + + + parametre adı + + + iletisi geçersiz parametre özel durumu içindir + + + Parametreler. + + + + + Bir nesneyi güvenli bir şekilde dizeye dönüştürür, null değerleri ve null karakterleri işler. + Null değerler "(null)" değerine dönüştürülür. Null karakterler "\\0" değerine dönüştürülür. + + + Dizeye dönüştürülecek nesne. + + + Dönüştürülmüş dize. + + + + + Dize onayı. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if matches . + + + + + Birim testleri içindeki koleksiyonlarla ilişkili çeşitli koşulları test etmeye + yönelik yardımcı sınıf koleksiyonu. Test edilen koşul karşılanmazsa + bir özel durum oluşturulur. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a two or more equal elements are found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if every element in is also found in + . + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Şu parametre biçimlendirilirken kullanılacak parametre dizisi: . + + + Thrown if is equal to . + + + + + Birinci koleksiyonun ikinci koleksiyona ait bir alt küme olup + olmadığını belirler. Kümelerden biri yinelenen öğeler içeriyorsa, + öğenin alt kümedeki oluşum sayısı üst kümedeki oluşum sayısına + eşit veya bu sayıdan daha az olmalıdır. + + + Testin içinde bulunmasını beklediği koleksiyon . + + + Testin içermesini beklediği koleksiyon . + + + Şu durumda true: şunun bir alt kümesidir: + , aksi takdirde false. + + + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren bir + sözlük oluşturur. + + + İşlenecek koleksiyon. + + + Koleksiyondaki null öğe sayısı. + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren + bir sözlük. + + + + + İki koleksiyon arasında eşleşmeyen bir öğe bulur. Eşleşmeyen öğe, + beklenen koleksiyonda gerçek koleksiyondakinden farklı sayıda görünen + öğedir. Koleksiyonların, + aynı sayıda öğeye sahip null olmayan farklı başvurular olduğu + varsayılır. Bu doğrulama düzeyinden + çağıran sorumludur. Eşleşmeyen bir öğe yoksa işlev + false değerini döndürür ve dış parametreler kullanılmamalıdır. + + + Karşılaştırılacak birinci koleksiyon. + + + Karşılaştırılacak ikinci koleksiyon. + + + Şunun için beklenen oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Gerçek oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Uyumsuz öğe (null olabilir) veya uyumsuz bir + öğe yoksa null. + + + uyumsuz bir öğe bulunduysa true; aksi takdirde false. + + + + + object.Equals kullanarak nesneleri karşılaştırır + + + + + Çerçeve Özel Durumları için temel sınıf. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + Yerelleştirilmiş dizeleri aramak gibi işlemler için, türü kesin olarak belirtilmiş kaynak sınıfı. + + + + + Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. + + + + + Türü kesin olarak belirlenmiş bu kaynak sınıfını kullanan + tüm kaynak aramaları için geçerli iş parçacığının CurrentUICulture özelliğini geçersiz kılar. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Erişim dizesinde geçersiz söz dizimi var. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen koleksiyon {1} <{2}> oluşumu içeriyor. Gerçek koleksiyon {3} oluşum içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yinelenen öğe bulundu:<{1}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek değer için büyük/küçük harf kullanımı farklı:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında en fazla <{3}> fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1} ({2})>. Gerçek:<{3} ({4})>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında <{3}> değerinden büyük bir fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: <{1}> dışında bir değer bekleniyordu. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Değer türlerini AreSame() metoduna geçirmeyin. Object türüne dönüştürülen değerler hiçbir zaman aynı olmaz. AreEqual(). kullanmayı deneyin {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} başarısız oldu. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: UITestMethodAttribute özniteliğine sahip async TestMethod metodu desteklenmiyor. async ifadesini kaldırın ya da TestMethodAttribute özniteliğini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da boş. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon başvurusu da aynı koleksiyon nesnesini işaret ediyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0}({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: null. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: nesne. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesini içermiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} ({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Assert.Equals, Onaylamalar için kullanılmamalıdır. Lütfen bunun yerine Assert.AreEqual ve aşırı yüklemelerini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Koleksiyonlardaki öğe sayıları eşleşmiyor. Beklenen:<{1}>. Gerçek:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} dizinindeki öğe eşleşmiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {1} dizinindeki öğe beklenen türde değil. Beklenen tür:<{2}>. Gerçek tür:<{3}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dizeyi arar: {1} dizinindeki öğe (null). Beklenen tür:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle bitmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Geçersiz bağımsız değişken. EqualsTester null değerler kullanamaz. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} türündeki nesne {1} türüne dönüştürülemiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Başvurulan iç nesne artık geçerli değil. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} özelliği {1} türüne sahip; beklenen tür {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} Beklenen tür:<{1}>. Gerçek tür:<{2}>. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yanlış Tür:<{1}>. Gerçek tür:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: No DataRowAttribute belirtilmedi. DataTestMethodAttribute ile en az bir DataRowAttribute gereklidir. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Özel durum oluşturulmadı. {1} özel durumu bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. Değer null olamaz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Farklı sayıda öğe. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen imzaya sahip oluşturucu bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi + tanımlayan türü PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen üye ({0}) bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi tanımlayan türü + PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle başlamıyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen özel durum türü System.Exception veya System.Exception'dan türetilmiş bir tür olmalıdır. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Bir özel durum nedeniyle {0} türündeki özel durum için ileti alınamadı. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu beklenen {0} özel durumunu oluşturmadı. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu bir özel durum oluşturmadı. Test metodunda tanımlanan {0} özniteliği tarafından bir özel durum bekleniyordu. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu veya bundan türetilmiş bir tür bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {2} özel durumu oluşturuldu, ancak {1} özel durumu bekleniyordu. {0} + Özel Durum İletisi: {3} + Yığın İzleme: {4}. + + + + + birim testi sonuçları + + + + + Test yürütüldü ancak sorunlar oluştu. + Sorunlar özel durumları veya başarısız onaylamaları içerebilir. + + + + + Test tamamlandı ancak başarılı olup olmadığı belli değil. + İptal edilen testler için kullanılabilir. + + + + + Test bir sorun olmadan yürütüldü. + + + + + Test şu anda yürütülüyor. + + + + + Test yürütülmeye çalışılırken bir sistem hatası oluştu. + + + + + Test zaman aşımına uğradı. + + + + + Test, kullanıcı tarafından iptal edildi. + + + + + Test bilinmeyen bir durumda + + + + + Birim testi çerçevesi için yardımcı işlevini sağlar + + + + + Yinelemeli olarak tüm iç özel durumların iletileri dahil olmak üzere + özel durum iletilerini alır + + Şunun için iletilerin alınacağı özel durum: + hata iletisi bilgilerini içeren dize + + + + Zaman aşımları için sınıfı ile birlikte kullanılabilen sabit listesi. + Sabit listesinin türü eşleşmelidir + + + + + Sonsuz. + + + + + Test sınıfı özniteliği. + + + + + Bu testi çalıştırmayı sağlayan bir test metodu özniteliği alır. + + Bu metot üzerinde tanımlanan test metodu özniteliği örneği. + The bu testi çalıştırmak için kullanılabilir. + Extensions can override this method to customize how all methods in a class are run. + + + + Test metodu özniteliği. + + + + + Bir test metodu yürütür. + + Yürütülecek test metodu. + Testin sonuçlarını temsil eden bir TestResult nesneleri dizisi. + Extensions can override this method to customize running a TestMethod. + + + + Test başlatma özniteliği. + + + + + Test temizleme özniteliği. + + + + + Ignore özniteliği. + + + + + Test özelliği özniteliği. + + + + + sınıfının yeni bir örneğini başlatır. + + + Ad. + + + Değer. + + + + + Adı alır. + + + + + Değeri alır. + + + + + Sınıf başlatma özniteliği. + + + + + Sınıf temizleme özniteliği. + + + + + Bütünleştirilmiş kod başlatma özniteliği. + + + + + Bütünleştirilmiş kod temizleme özniteliği. + + + + + Test Sahibi + + + + + sınıfının yeni bir örneğini başlatır. + + + Sahip. + + + + + Sahibi alır. + + + + + Priority özniteliği; birim testinin önceliğini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Öncelik. + + + + + Önceliği alır. + + + + + Testin açıklaması + + + + + Bir testi açıklamak için kullanılan sınıfının yeni bir örneğini başlatır. + + Açıklama. + + + + Bir testin açıklamasını alır. + + + + + CSS Proje Yapısı URI'si + + + + + CSS Proje Yapısı URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Proje Yapısı URI'si. + + + + CSS Proje Yapısı URI'sini alır. + + + + + CSS Yineleme URI'si + + + + + CSS Yineleme URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Yineleme URI'si. + + + + CSS Yineleme URI'sini alır. + + + + + WorkItem özniteliği; bu testle ilişkili bir çalışma öğesini belirtmek için kullanılır. + + + + + WorkItem Özniteliği için sınıfının yeni bir örneğini başlatır. + + Bir iş öğesinin kimliği. + + + + İlişkili bir iş öğesinin kimliğini alır. + + + + + Timeout özniteliği; bir birim testinin zaman aşımını belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Zaman aşımı. + + + + + sınıfının önceden ayarlanmış bir zaman aşımı ile yeni bir örneğini başlatır + + + Zaman aşımı + + + + + Zaman aşımını alır. + + + + + Bağdaştırıcıya döndürülecek TestResult nesnesi. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + Sonucun görünen adını alır veya ayarlar. Birden fazla sonuç döndürürken yararlıdır. + Null ise Metot adı DisplayName olarak kullanılır. + + + + + Test yürütmesinin sonucunu alır veya ayarlar. + + + + + Test başarısız olduğunda oluşturulan özel durumu alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test koduna göre hata ayıklama izlemelerini alır veya ayarlar. + + + + + Gets or sets the debug traces by test code. + + + + + Test yürütme süresini alır veya ayarlar. + + + + + Veri kaynağındaki veri satırı dizinini alır veya ayarlar. Yalnızca, veri tabanlı bir testin tek bir veri satırının + çalıştırılmasına ait sonuçlar için ayarlayın. + + + + + Test metodunun dönüş değerini alır veya ayarlar. (Şu anda her zaman null). + + + + + Test tarafından eklenen sonuç dosyalarını alır veya ayarlar. + + + + + Veri tabanlı test için bağlantı dizesini, tablo adını ve satır erişim metodunu belirtir. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource için varsayılan sağlayıcı adı. + + + + + Varsayılan veri erişimi metodu. + + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı, bağlantı dizesi, veri tablosu ve veri kaynağına erişmek için kullanılan veri erişimi metodu ile başlatılır. + + System.Data.SqlClient gibi değişmez veri sağlayıcısı adı + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + Verilere erişme sırasını belirtir. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir bağlantı dizesi ve tablo adı ile başlatılır. + OLEDB veri kaynağına erişmek için kullanılan bağlantı dizesini ve veri tablosunu belirtin. + + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı ile ve ayar adıyla ilişkili bir bağlantı dizesi ile başlatılır. + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan veri kaynağının adı. + + + + Veri kaynağının veri sağlayıcısını temsil eden bir değer alır. + + + Veri sağlayıcısı adı. Nesne başlatılırken bir veri sağlayıcısı belirtilmemişse varsayılan System.Data.OleDb sağlayıcısı döndürülür. + + + + + Veri kaynağının bağlantı dizesini temsil eden bir değer alır. + + + + + Verileri sağlayan tablo adını belirten bir değer alır. + + + + + Veri kaynağına erişmek için kullanılan metodu alır. + + + + Bir değerlerdir. Eğer başlatılmazsa, varsayılan değeri döndürür . + + + + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan bir veri kaynağının adını alır. + + + + + Verilerin satır içi belirtilebileceği veri tabanlı testin özniteliği. + + + + + Tüm veri satırlarını bulur ve yürütür. + + + Test Yöntemi. + + + Bir . + + + + + Veri tabanlı test metodunu çalıştırır. + + Yürütülecek test yöntemi. + Veri Satırı. + Yürütme sonuçları. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..0ccce3fa9 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用于执行的 TestMethod。 + + + + + 获取测试方法的名称。 + + + + + 获取测试类的名称。 + + + + + 获取测试方法的返回类型。 + + + + + 获取测试方法的参数。 + + + + + 获取测试方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 调用测试方法。 + + + 传递到测试方法的参数(例如,对于数据驱动) + + + 测试方法调用的结果。 + + + This call handles asynchronous test methods as well. + + + + + 获取测试方法的所有属性。 + + + 父类中定义的任何属性都有效。 + + + 所有特性。 + + + + + 获取特定类型的属性。 + + System.Attribute type. + + 父类中定义的任何属性都有效。 + + + 指定类型的属性。 + + + + + 帮助程序。 + + + + + 非 null 的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws argument null exception when parameter is null. + + + + 不为 null 或不为空的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws ArgumentException when parameter is null. + + + + 枚举在数据驱动测试中访问数据行的方式。 + + + + + 按连续顺序返回行。 + + + + + 按随机顺序返回行。 + + + + + 用于定义测试方法内联数据的属性。 + + + + + 初始化 类的新实例。 + + 数据对象。 + + + + 初始化采用参数数组的 类的新实例。 + + 一个数据对象。 + 更多数据。 + + + + 获取数据以调用测试方法。 + + + + + 在测试结果中为自定义获取或设置显示名称。 + + + + + 断言无结论异常。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + InternalTestFailureException 类。用来指示测试用例的内部错误 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 类的新实例。 + + 异常消息。 + 异常。 + + + + 初始化 类的新实例。 + + 异常消息。 + + + + 初始化 类的新实例。 + + + + + 指定引发指定类型异常的属性 + + + + + 初始化含有预期类型的 类的新实例 + + 预期异常的类型 + + + + 初始化 类的新实例, + 测试未引发异常时,该类中会包含预期类型和消息。 + + 预期异常的类型 + + 测试由于未引发异常而失败时测试结果中要包含的消息 + + + + + 获取指示预期异常类型的值 + + + + + 获取或设置一个值,指示是否允许将派生自预期异常类型的类型 + 作为预期类型 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 验证由单元测试引发的异常类型是否为预期类型 + + 由单元测试引发的异常 + + + + 指定应从单元测试引发异常的属性基类 + + + + + 初始化含有默认无异常消息的 类的新实例 + + + + + 初始化含有一条无异常消息的 类的新实例 + + + 测试由于未引发异常而失败时测试结果中要包含的 + 消息 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 获取默认无异常消息 + + ExpectedException 特性类型名称 + 默认非异常消息 + + + + 确定该异常是否为预期异常。如果返回了方法,则表示 + 该异常为预期异常。如果方法引发异常,则表示 + 该异常不是预期异常,且引发的异常消息 + 包含在测试结果中。为了方便, + 可使用 类。如果使用了 且断言失败, + 则表示测试结果设置为了“无结论”。 + + 由单元测试引发的异常 + + + + 如果异常为 AssertFailedException 或 AssertInconclusiveException,则再次引发该异常 + + 如果是断言异常则要重新引发的异常 + + + + 此类旨在帮助用户使用泛型类型为类型执行单元测试。 + GenericParameterHelper 满足某些常见的泛型类型限制, + 如: + 1.公共默认构造函数 + 2.实现公共接口: IComparable,IEnumerable + + + + + 初始化 类的新实例, + 该类满足 C# 泛型中的“可续订”约束。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 类的新实例, + 该类将数据属性初始化为用户提供的值。 + + 任意整数值 + + + + 获取或设置数据 + + + + + 比较两个 GenericParameterHelper 对象的值 + + 要进行比较的对象 + 如果 obj 与“此”GenericParameterHelper 对象具有相同的值,则为 true。 + 反之则为 false。 + + + + 为此对象返回哈希代码。 + + 哈希代码。 + + + + 比较两个 对象的数据。 + + 要比较的对象。 + + 有符号的数字表示此实例和值的相对值。 + + + Thrown when the object passed in is not an instance of . + + + + + 返回一个 IEnumerator 对象,该对象的长度派生自 + 数据属性。 + + IEnumerator 对象 + + + + 返回与当前对象相同的 GenericParameterHelper + 对象。 + + 克隆对象。 + + + + 允许用户记录/编写单元测试的跟踪以进行诊断。 + + + + + 用于 LogMessage 的处理程序。 + + 要记录的消息。 + + + + 要侦听的事件。单元测试编写器编写某些消息时引发。 + 主要供适配器使用。 + + + + + 测试编写器要将其调用到日志消息的 API。 + + 带占位符的字符串格式。 + 占位符的参数。 + + + + TestCategory 属性;用于指定单元测试的分类。 + + + + + 初始化 类的新实例并将分类应用到该测试。 + + + 测试类别。 + + + + + 获取已应用到测试的测试类别。 + + + + + "Category" 属性的基类 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 类的新实例。 + 将分类应用到测试。TestCategories 返回的字符串 + 与 /category 命令一起使用,以筛选测试 + + + + + 获取已应用到测试的测试分类。 + + + + + AssertFailedException 类。用于指示测试用例失败 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + 帮助程序类的集合,用于测试单元测试中 + 的各种条件。如果不满足被测条件,则引发 + 一个异常。 + + + + + 获取 Assert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is false. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is true. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null. + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if refers to the same object + as . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is not equal to . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 引发 AssertFailedException。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 静态相等重载用于比较两种类型实例的引用 + 相等。此方法应用于比较两个实例的 + 相等。此对象始终会引发 Assert.Fail。请在单元测试中使用 + Assert.AreEqual 和关联的重载。 + + 对象 A + 对象 B + 始终为 False。 + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + + 在格式化时使用的参数数组 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 将 null 字符("\0")替换为 "\\0"。 + + + 要搜索的字符串。 + + + 其中 null 字符替换为 "\\0" 的转换字符串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 用于创建和引发 AssertionFailedException 的帮助程序函数 + + + 引发异常的断言名称 + + + 描述断言失败条件的消息 + + + 参数。 + + + + + 检查有效条件的参数 + + + 参数。 + + + 断言名称。 + + + 参数名称 + + + 无效参数异常的消息 + + + 参数。 + + + + + 将对象安全地转换为字符串,处理 null 值和 null 字符。 + 将 null 值转换为 "(null)"。将 null 字符转换为 "\\0"。 + + + 要转换为字符串的对象。 + + + 转换的字符串。 + + + + + 字符串断言。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not begin with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not end with + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not match + . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if matches . + + + + + 帮助程序类的集合,用于测试与单元测试内的集合相关联的 + 多种条件。如果不满足被测条件, + 则引发一个异常。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is found in + . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a null element is found in . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if every element in is also found in + . + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组。 + + + Thrown if is equal to . + + + + + 确定第一个集合是否为第二个 + 集合的子集。如果任一集合包含重复元素,则子集中元素 + 出现的次数必须小于或 + 等于在超集中元素出现的次数。 + + + 测试预期包含在以下对象中的集合: 。 + + + 测试预期要包含的集合 。 + + + 为 True,如果 是一个子集 + ,反之则为 False。 + + + + + 构造包含指定集合中每个元素的出现次数 + 的字典。 + + + 要处理的集合。 + + + 集合中 null 元素的数量。 + + + 包含指定集合中每个元素的发生次数 + 的字典。 + + + + + 在两个集合之间查找不匹配的元素。不匹配的元素是指 + 在预期集合中显示的次数与 + 在实际集合中显示的次数不相同的元素。假定 + 集合是具有相同元素数目 + 的不同非 null 引用。 调用方负责此级别的验证。 + 如果存在不匹配的元素,函数将返回 + false,并且不会使用 out 参数。 + + + 要比较的第一个集合。 + + + 要比较的第二个集合。 + + + 预期出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 实际出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 不匹配元素(可能为 null),或者如果没有不匹配元素, + 则为 null。 + + + 如果找到不匹配的元素,则为 True;反之则为 False。 + + + + + 使用 Object.Equals 比较对象 + + + + + 框架异常的基类。 + + + + + 初始化 类的新实例。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 一个强类型资源类,用于查找已本地化的字符串等。 + + + + + 返回此类使用的缓存的 ResourceManager 实例。 + + + + + 使用此强类型资源类为所有资源查找替代 + 当前线程的 CurrentUICulture 属性。 + + + + + 查找类似于“访问字符串具有无效语法。”的已本地化字符串。 + + + + + 查找类似于“预期集合包含 {1} 个 <{2}> 的匹配项。实际集合包含 {3} 个匹配项。{0}”的已本地化字符串。 + + + + + 查找类似于“找到了重复项: <{1}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际值的大小写有所不同: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应不大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1} ({2})>。实际为: <{3} ({4})>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为除 <{1}>外的任何值。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“不要向 AreSame() 传递值类型。转换为对象的值永远不会相同。请考虑使用 AreEqual()。{0}”的已本地化字符串。 + + + + + 查找类似于“{0} 失败。{1}”的已本地化字符串。 + + + + + 查找类似于“不支持具有 UITestMethodAttribute 的异步 TestMethod。请删除异步或使用 TestMethodAttribute。” 的已本地化字符串。 + + + + + 查找类似于“这两个集合都为空。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同元素。”的已本地化字符串。 + + + + + 查找类似于“这两个集合引用指向同一个集合对象。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同的元素。{0}”的已本地化字符串。 + + + + + 查找类似于“{0}({1})”的已本地化字符串。 + + + + + 查找类似于 "(null)" 的已本地化字符串。 + + + + + 查找类似于“(对象)”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不包含字符串“{1}”。{2}。”的已本地化字符串。 + + + + + 查找类似于“{0} ({1})”的已本地化字符串。 + + + + + 查找类似于“Assert.Equals 不应用于断言。请改用 Assert.AreEqual 和重载。”的已本地化字符串。 + + + + + 查找类似于“集合中的元素数目不匹配。预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {0} 处的元素不匹配。”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素不是预期类型。预期类型为: <{2}>。实际类型为: <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素为 (null)。预期类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”结尾。{2}。”的已本地化字符串。 + + + + + 查找类似于“参数无效 - EqualsTester 不能使用 null。”的已本地化字符串。 + + + + + 查找类似于“无法将类型 {0} 的对象转换为 {1}。”的本地化字符串。 + + + + + 查找类似于“引用的内部对象不再有效。”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。{1}。”的已本地化字符串。 + + + + + 查找类似于“属性 {0} 具有类型 {1};预期类型为 {2}。”的已本地化字符串。 + + + + + 查找类似于“{0} 预期类型: <{1}>。实际类型: <{2}>。”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”不匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“错误类型: <{1}>。实际类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“未指定 DataRowAttribute。DataTestMethodAttribute 至少需要一个 DataRowAttribute。”的已本地化字符串。 + + + + + 查找类似于“未引发异常。预期为 {1} 异常。{0}”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。值不能为 null。{1}。”的已本地化字符串。 + + + + + 查找类似于“不同元素数。”的已本地化字符串。 + + + + + 查找类似于 + “找不到具有指定签名的构造函数。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型传递到 + PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于 + “找不到指定成员({0})。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型 + 传递到 PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”开头。{2}。”的已本地化字符串。 + + + + + 查找类似于“预期异常类型必须是 System.Exception 或派生自 System.Exception 的类型。”的已本地化字符串。 + + + + + 查找类似于“(由于出现异常,未能获取 {0} 类型异常的消息。)”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发预期异常 {0}。{1}”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发异常。预期测试方法上定义的属性 {0} 会引发异常。”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1}。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1} 或从其派生的类型。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“引发异常 {2},但预期为异常 {1}。{0} + 异常消息: {3} + 堆栈跟踪: {4}”的已本地化字符串。 + + + + + 单元测试结果 + + + + + 测试已执行,但出现问题。 + 问题可能涉及异常或失败的断言。 + + + + + 测试已完成,但无法确定它是已通过还是失败。 + 可用于已中止的测试。 + + + + + 测试已执行,未出现任何问题。 + + + + + 当前正在执行测试。 + + + + + 尝试执行测试时出现了系统错误。 + + + + + 测试已超时。 + + + + + 用户中止了测试。 + + + + + 测试处于未知状态 + + + + + 为单元测试框架提供帮助程序功能 + + + + + 以递归方式获取包括所有内部异常消息在内的 + 异常消息 + + 获取消息的异常 + 包含错误消息信息的字符串 + + + + 超时枚举,可与 类共同使用。 + 枚举类型必须相符 + + + + + 无限。 + + + + + 测试类属性。 + + + + + 获取可运行此测试的测试方法属性。 + + 在此方法上定义的测试方法属性实例。 + 将用于运行此测试。 + Extensions can override this method to customize how all methods in a class are run. + + + + 测试方法属性。 + + + + + 执行测试方法。 + + 要执行的测试方法。 + 表示测试结果的 TestResult 对象数组。 + Extensions can override this method to customize running a TestMethod. + + + + 测试初始化属性。 + + + + + 测试清理属性。 + + + + + 忽略属性。 + + + + + 测试属性特性。 + + + + + 初始化 类的新实例。 + + + 名称。 + + + 值。 + + + + + 获取名称。 + + + + + 获取值。 + + + + + 类初始化属性。 + + + + + 类清理属性。 + + + + + 程序集初始化属性。 + + + + + 程序集清理属性。 + + + + + 测试所有者 + + + + + 初始化 类的新实例。 + + + 所有者。 + + + + + 获取所有者。 + + + + + 优先级属性;用于指定单元测试的优先级。 + + + + + 初始化 类的新实例。 + + + 属性。 + + + + + 获取属性。 + + + + + 测试的描述 + + + + + 初始化 类的新实例,描述测试。 + + 说明。 + + + + 获取测试的说明。 + + + + + CSS 项目结构 URI + + + + + 为 CSS 项目结构 URI 初始化 类的新实例。 + + CSS 项目结构 URI。 + + + + 获取 CSS 项目结构 URI。 + + + + + CSS 迭代 URI + + + + + 为 CSS 迭代 URI 初始化 类的新实例。 + + CSS 迭代 URI。 + + + + 获取 CSS 迭代 URI。 + + + + + 工作项属性;用来指定与此测试关联的工作项。 + + + + + 为工作项属性初始化 类的新实例。 + + 工作项的 ID。 + + + + 获取关联工作项的 ID。 + + + + + 超时属性;用于指定单元测试的超时。 + + + + + 初始化 类的新实例。 + + + 超时。 + + + + + 初始化含有预设超时的 类的新实例 + + + 超时 + + + + + 获取超时。 + + + + + 要返回到适配器的 TestResult 对象。 + + + + + 初始化 类的新实例。 + + + + + 获取或设置结果的显示名称。这在返回多个结果时很有用。 + 如果为 null,则表示方法名用作了 DisplayName。 + + + + + 获取或设置测试执行的结果。 + + + + + 获取或设置测试失败时引发的异常。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 通过测试代码获取或设置调试跟踪。 + + + + + Gets or sets the debug traces by test code. + + + + + 获取或设置测试执行的持续时间。 + + + + + 获取或设置数据源中的数据行索引。仅对数据驱动测试的数据行单次运行结果 + 进行设置。 + + + + + 获取或设置测试方法的返回值。(当前始终为 null)。 + + + + + 获取或设置测试附加的结果文件。 + + + + + 为数据驱动测试指定连接字符串、表名和行访问方法。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource 的默认提供程序名称。 + + + + + 默认数据访问方法。 + + + + + 初始化 类的新实例。将使用数据提供程序、连接字符串、数据表和访问数据源的数据访问方法初始化此实例。 + + 不变的数据提供程序名称,例如 System.Data.SqlClient + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + 指定访问数据的顺序。 + + + + 初始化 类的新实例。将使用连接字符串和表名初始化此实例。 + 指定连接字符串和数据表,访问 OLEDB 数据源。 + + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + + + + 初始化 类的新实例。将使用数据提供程序和与设置名称关联的连接字符串初始化此实例。 + + 在 app.config 文件中 <microsoft.visualstudio.qualitytools> 部分找到的数据源的名称。 + + + + 获取表示数据源的数据提供程序的值。 + + + 数据提供程序名称。如果数据提供程序未在对象初始化时进行指定,则将返回 System.Data.OleDb 的默认提供程序。 + + + + + 获取表示数据源的连接字符串的值。 + + + + + 获取指示提供数据的表名的值。 + + + + + 获取用于访问数据源的方法。 + + + + 其中一个 值。如果 未初始化,这将返回默认值。 + + + + + 获取 app.config 文件的 <microsoft.visualstudio.qualitytools> 部分中找到的数据源的名称。 + + + + + 可在其中将数据指定为内联的数据驱动测试的属性。 + + + + + 查找所有数据行并执行。 + + + 测试方法。 + + + 一系列。 + + + + + 运行数据驱动测试方法。 + + 要执行的测试方法。 + 数据行。 + 执行的结果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/net5.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..611e17b6e --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/net5.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用於執行的 TestMethod。 + + + + + 取得測試方法的名稱。 + + + + + 取得測試類別的名稱。 + + + + + 取得測試方法的傳回型別。 + + + + + 取得測試方法的參數。 + + + + + 取得測試方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 叫用測試方法。 + + + 要傳遞至測試方法的引數。(例如,針對資料驅動) + + + 測試方法引動過程結果。 + + + This call handles asynchronous test methods as well. + + + + + 取得測試方法的所有屬性。 + + + 父類別中定義的屬性是否有效。 + + + 所有屬性。 + + + + + 取得特定類型的屬性。 + + System.Attribute type. + + 父類別中定義的屬性是否有效。 + + + 指定類型的屬性。 + + + + + 協助程式。 + + + + + 檢查參數不為 null。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws argument null exception when parameter is null. + + + + 檢查參數不為 null 或為空白。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws ArgumentException when parameter is null. + + + + 如何在資料驅動測試中存取資料列的列舉。 + + + + + 會以循序順序傳回資料列。 + + + + + 會以隨機順序傳回資料列。 + + + + + 用以定義測試方法之內嵌資料的屬性。 + + + + + 初始化 類別的新執行個體。 + + 資料物件。 + + + + 初始化 類別 (其採用引數的陣列) 的新執行個體。 + + 資料物件。 + 其他資料。 + + + + 取得用於呼叫測試方法的資料。 + + + + + 取得或設定測試結果中的顯示名稱來進行自訂。 + + + + + 判斷提示結果不明例外狀況。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + InternalTestFailureException 類別。用來表示測試案例的內部失敗 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 屬性,其指定預期所指定類型的例外狀況 + + + + + 初始化具預期類型之 類別的新執行個體 + + 預期的例外狀況類型 + + + + 初始化 類別 + (其具預期類型及訊息,用以在測試未擲回任何例外狀況時予以納入) 的新執行個體。 + + 預期的例外狀況類型 + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的訊息 + + + + + 取得值,指出預期例外狀況的類型 + + + + + 取得或設定值,指出是否允許類型衍生自預期例外狀況類型, + 以符合預期 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 驗證預期有單元測試所擲回的例外狀況類型 + + 單元測試所擲回的例外狀況 + + + + 指定以預期單元測試發生例外狀況之屬性的基底類別 + + + + + 使用預設無例外狀況訊息初始化 類別的新執行個體 + + + + + 初始化具無例外狀況訊息之 類別的新執行個體 + + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的 + 訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 取得預設無例外狀況訊息 + + ExpectedException 屬性類型名稱 + 預設無例外狀況訊息 + + + + 判斷是否預期會發生例外狀況。如果傳回方法,則了解 + 預期會發生例外狀況。如果方法擲回例外狀況,則了解 + 預期不會發生例外狀況,而且測試結果中 + 會包含所擲回例外狀況的訊息。 類別可以基於便利 + 使用。如果使用 並且判斷提示失敗, + 則測試結果設定為 [結果不明]。 + + 單元測試所擲回的例外狀況 + + + + 如果它是 AssertFailedException 或 AssertInconclusiveException,會重新擲回例外狀況 + + 如果是判斷提示例外狀況,則重新擲回例外狀況 + + + + 這個類別的設計目的是要協助使用者執行使用泛型型別之類型的單元測試。 + GenericParameterHelper 滿足一些常用泛型型別條件約束 + 例如: + 1. 公用預設建構函式 + 2. 實作公用介面: IComparable、IEnumerable + + + + + 初始化 類別 (其符合 C# 泛型中的 'newable' 限制式) + 的新執行個體。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 類別 (其將 Data 屬性初始化為使用者提供的值) + 的新執行個體。 + + 任何整數值 + + + + 取得或設定資料 + + + + + 執行兩個 GenericParameterHelper 物件的值比較 + + 要與之執行比較的物件 + 如果 obj 的值與 'this' GenericParameterHelper 物件相同,則為 true。 + 否則為 false。 + + + + 傳回這個物件的雜湊碼。 + + 雜湊碼。 + + + + 比較這兩個 物件的資料。 + + 要比較的物件。 + + 已簽署的編號,表示此執行個體及值的相對值。 + + + Thrown when the object passed in is not an instance of . + + + + + 傳回長度衍生自 Data 屬性的 + IEnumerator 物件。 + + IEnumerator 物件 + + + + 傳回等於目前物件的 + GenericParameterHelper 物件。 + + 複製的物件。 + + + + 讓使用者從單位測試記錄/寫入追蹤以進行診斷。 + + + + + LogMessage 的處理常式。 + + 要記錄的訊息。 + + + + 要接聽的事件。在單元測試寫入器寫入一些訊息時引發。 + 主要由配接器取用。 + + + + + API,供測試寫入者呼叫以記錄訊息。 + + 含預留位置的字串格式。 + 預留位置的參數。 + + + + TestCategory 屬性; 用來指定單元測試的分類。 + + + + + 初始化 類別的新執行個體,並將分類套用至測試。 + + + 測試「分類」。 + + + + + 取得已套用至測試的測試分類。 + + + + + "Category" 屬性的基底類別 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 類別的新執行個體。 + 將分類套用至測試。TestCategories 所傳回的字串 + 會與 /category 命令搭配使用,以篩選測試 + + + + + 取得已套用至測試的測試分類。 + + + + + AssertFailedException 類別。用來表示測試案例失敗 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 要測試單元測試內各種條件的協助程式類別集合。 + 如果不符合正在測試的條件,則會擲回 + 例外狀況。 + + + + + 取得 Assert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is true. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null. + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is not equal to . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 擲回 AssertFailedException。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 「靜態等於多載」用於比較兩種類型的執行個體的參考 + 相等。這種方法不應該用於比較兩個執行個體是否 + 相等。這個物件一律會擲出 Assert.Fail。請在單元測試中使用 + Assert.AreEqual 和相關聯多載。 + + 物件 A + 物件 B + 一律為 False。 + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 以 "\\0" 取代 null 字元 ('\0')。 + + + 要搜尋的字串。 + + + null 字元以 "\\0" 取代的已轉換字串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 建立並擲回 AssertionFailedException 的 Helper 函數 + + + 擲回例外狀況的判斷提示名稱 + + + 描述判斷提示失敗條件的訊息 + + + 參數。 + + + + + 檢查參數的有效條件 + + + 參數。 + + + 判斷提示「名稱」。 + + + 參數名稱 + + + 無效參數例外狀況的訊息 + + + 參數。 + + + + + 將物件安全地轉換成字串,並處理 null 值和 null 字元。 + Null 值會轉換成 "(null)"。Null 字元會轉換成 "\\0"。 + + + 要轉換為字串的物件。 + + + 已轉換的字串。 + + + + + 字串判斷提示。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if matches . + + + + + 要測試與單元測試內集合相關聯之各種條件的 + 協助程式類別集合。如果不符合正在測試的條件, + 則會擲回例外狀況。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is found in + . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if every element in is also found in + . + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 參數陣列,使用時機為格式 。 + + + Thrown if is equal to . + + + + + 判斷第一個集合是否為第二個集合的子集。 + 如果任一個集合包含重複的元素,則元素 + 在子集中的出現次數必須小於或 + 等於在超集中的出現次數。 + + + 測試預期包含在下者中的集合: 。 + + + 測試預期包含下者的集合: 。 + + + True 的情況為 是下者的子集: + ,否則為 false。 + + + + + 建構字典,內含每個元素在所指定集合中 + 的出現次數。 + + + 要處理的集合。 + + + 集合中的 null 元素數目。 + + + 包含每個元素在所指定集合內之出現次數 + 的字典。 + + + + + 尋找兩個集合之間不相符的元素。不相符的元素 + 為出現在預期集合中的次數 + 不同於它在實際集合中出現的次數。 + 集合假設為具有數目相同之元素的不同非 null 參考。 + 呼叫者負責這個層級的驗證。 + 如果沒有不相符的元素,則函數會傳回 false, + 而且不應該使用 out 參數。 + + + 要比較的第一個集合。 + + + 要比較的第二個集合。 + + + 下者的預期出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 下者的實際出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 不相符的元素 (可能為 null) 或 null (如果沒有 + 不相符的元素)。 + + + 如果找到不相符的元素,則為 true,否則為 false。 + + + + + 使用 object.Equals 來比較物件 + + + + + 架構例外狀況的基底類別。 + + + + + 初始化 類別的新執行個體。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 強型別資源類別,用於查詢當地語系化字串等。 + + + + + 傳回這個類別所使用的快取的 ResourceManager 執行個體。 + + + + + 針對使用這個強型別資源類別的所有資源查閱, + 覆寫目前執行緒的 CurrentUICulture 屬性。 + + + + + 查閱與「存取字串有無效的語法。」類似的當地語系化字串。 + + + + + 查閱與「預期在集合中包含 {1} 項 <{2}>,但實際的集合卻有 {3} 項。{0}」類似的當地語系化字串。 + + + + + 查閱與「找到重複的項目:<{1}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。大小寫與下列實際值不同:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異不大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1} ({2})>。實際:<{3} ({4})>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期任何值 (<{1}> 除外)。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「不要將實值型別傳遞給 AreSame()。轉換成 Object 的值從此不再一樣。請考慮使用 AreEqual()。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0} 失敗。{1}」類似的當地語系化字串。 + + + + + 不支援查詢類似非同步處理 TestMethod 與 UITestMethodAttribute 的當地語系化字串。移除非同步處理或使用 TestMethodAttribute。 + + + + + 查閱與「兩個集合都是空的。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。」類似的當地語系化字串。 + + + + + 查閱與「兩個集合參考都指向同一個集合物件。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「(null)」類似的當地語系化字串。 + + + + + 查閱與「(物件)」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 未包含字串 '{1}'。{2}。」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「Assert.Equals 不應使用於判斷提示。請改用 Assert.AreEqual 及多載。」類似的當地語系化字串。 + + + + + 查閱與「集合中的元素數目不符。預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {0} 的元素不符。」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的項目不是預期的類型。預期的類型:<{2}>。實際的類型:<{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的元素是 (null)。預期的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 結尾。{2}。」類似的當地語系化字串。 + + + + + 查閱與「無效的引數 - EqualsTester 無法使用 null。」類似的當地語系化字串。 + + + + + 查閱與「無法將 {0} 類型的物件轉換為 {1}。」類似的當地語系化字串。 + + + + + 查閱與「所參考的內部物件已不再有效。」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。{1}。」類似的當地語系化字串。 + + + + + 查閱與「屬性 {0} 具有類型 {1}; 預期為類型 {2}。」類似的當地語系化字串。 + + + + + 查閱與「{0} 預期的類型:<{1}>。實際的類型:<{2}>。」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 不符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「錯誤的類型:<{1}>。實際的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 相符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「未指定 DataRowAttribute。至少一個 DataRowAttribute 必須配合 DataTestMethodAttribute 使用。」類似的當地語系化字串。 + + + + + 查閱與「未擲回任何例外狀況。預期為 {1} 例外狀況。{0}」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。值不能為 null。{1}。」類似的當地語系化字串。 + + + + + 查閱與「元素數目不同。」類似的當地語系化字串。 + + + + + 查閱與「找不到具有所指定簽章的建構函式。 + 您可能必須重新產生私用存取子,或者該成員可能為私用, + 並且定義在基底類別上。如果是後者,您必須將定義 + 該成員的類型傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「找不到所指定的成員 ({0})。 + 您可能必須重新產生私用存取子, + 或者該成員可能為私用,並且定義在基底類別上。如果是後者,您必須將定義該成員的類型 + 傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 開頭。{2}。」類似的當地語系化字串。 + + + + + 查閱與「預期的例外狀況類型必須是 System.Exception 或衍生自 System.Exception 的類型。」類似的當地語系化字串。 + + + + + 查閱與「(由於發生例外狀況,所以無法取得 {0} 類型之例外狀況的訊息。)」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回預期的例外狀況 {0}。{1}」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回例外狀況。測試方法上定義的屬性 {0} 需要例外狀況。」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1}。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1} 或由它衍生的類型。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「擲回例外狀況 {2},但需要的是例外狀況 {1}。{0} + 例外狀況訊息: {3} + 堆疊追蹤: {4}」類似的當地語系化字串。 + + + + + 單元測試結果 + + + + + 已執行測試,但發生問題。 + 問題可能包含例外狀況或失敗的判斷提示。 + + + + + 測試已完成,但是無法指出成功還是失敗。 + 可能用於已中止測試。 + + + + + 已執行測試且沒有任何問題。 + + + + + 目前正在執行測試。 + + + + + 嘗試執行測試時發生系統錯誤。 + + + + + 測試逾時。 + + + + + 使用者已中止測試。 + + + + + 測試處於未知狀態 + + + + + 提供單元測試架構的協助程式功能 + + + + + 遞迴地取得例外狀況訊息 (包含所有內部例外狀況 + 的訊息) + + 要為其取得訊息的例外狀況 + 含有錯誤訊息資訊的字串 + + + + 逾時的列舉,可以與 類別搭配使用。 + 列舉的類型必須相符 + + + + + 無限。 + + + + + 測試類別屬性。 + + + + + 取得可讓您執行此測試的測試方法屬性。 + + 此方法上所定義的測試方法屬性執行個體。 + 要用來執行此測試。 + Extensions can override this method to customize how all methods in a class are run. + + + + 測試方法屬性。 + + + + + 執行測試方法。 + + 要執行的測試方法。 + 代表測試結果的 TestResult 物件陣列。 + Extensions can override this method to customize running a TestMethod. + + + + 測試初始化屬性。 + + + + + 測試清除屬性。 + + + + + Ignore 屬性。 + + + + + 測試屬性 (property) 屬性 (attribute)。 + + + + + 初始化 類別的新執行個體。 + + + 名稱。 + + + 值。 + + + + + 取得名稱。 + + + + + 取得值。 + + + + + 類別會將屬性初始化。 + + + + + 類別清除屬性。 + + + + + 組件會將屬性初始化。 + + + + + 組件清除屬性。 + + + + + 測試擁有者 + + + + + 初始化 類別的新執行個體。 + + + 擁有者。 + + + + + 取得擁有者。 + + + + + Priority 屬性; 用來指定單元測試的優先順序。 + + + + + 初始化 類別的新執行個體。 + + + 優先順序。 + + + + + 取得優先順序。 + + + + + 測試描述 + + + + + 初始化 類別的新執行個體來描述測試。 + + 描述。 + + + + 取得測試的描述。 + + + + + CSS 專案結構 URI + + + + + 初始化用於 CSS 專案結構 URI 之 類別的新執行個體。 + + CSS 專案結構 URI。 + + + + 取得 CSS 專案結構 URI。 + + + + + CSS 反覆項目 URI + + + + + 初始化用於 CSS 反覆項目 URI 之 類別的新執行個體。 + + CSS 反覆項目 URI。 + + + + 取得 CSS 反覆項目 URI。 + + + + + 工作項目屬性; 用來指定與這個測試相關聯的工作項目。 + + + + + 初始化用於工作項目屬性之 類別的新執行個體。 + + 工作項目的識別碼。 + + + + 取得建立關聯之工作項目的識別碼。 + + + + + Timeout 屬性; 用來指定單元測試的逾時。 + + + + + 初始化 類別的新執行個體。 + + + 逾時。 + + + + + 初始化具有預設逾時之 類別的新執行個體 + + + 逾時 + + + + + 取得逾時。 + + + + + 要傳回給配接器的 TestResult 物件。 + + + + + 初始化 類別的新執行個體。 + + + + + 取得或設定結果的顯示名稱。適用於傳回多個結果時。 + 如果為 null,則使用「方法名稱」當成 DisplayName。 + + + + + 取得或設定測試執行的結果。 + + + + + 取得或設定測試失敗時所擲回的例外狀況。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 透過測試程式碼取得或設定偵錯追蹤。 + + + + + Gets or sets the debug traces by test code. + + + + + 取得或設定測試執行的持續時間。 + + + + + 取得或設定資料來源中的資料列索引。僅針對個別執行資料驅動測試之資料列 + 的結果所設定。 + + + + + 取得或設定測試方法的傳回值 (目前一律為 null)。 + + + + + 取得或設定測試所附加的結果檔案。 + + + + + 指定連接字串、表格名稱和資料列存取方法來進行資料驅動測試。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + 資料來源的預設提供者名稱。 + + + + + 預設資料存取方法。 + + + + + 初始化 類別的新執行個體。將使用資料提供者、連接字串、運算列表和資料存取方法將這個執行個體初始化,以存取資料來源。 + + 非變異資料提供者名稱 (例如 System.Data.SqlClient) + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + 指定資料的存取順序。 + + + + 初始化 類別的新執行個體。此執行個體將使用連接字串和表格名稱進行初始化。 + 指定連接字串和運算列表以存取 OLEDB 資料來源。 + + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + + + + 初始化 類別的新執行個體。將使用與設定名稱相關聯的資料提供者和連接字串將這個執行個體初始化。 + + 在 app.config 檔案的 <microsoft.visualstudio.qualitytools> 區段中找到資料來源名稱。 + + + + 取得值,代表資料來源的資料提供者。 + + + 資料提供者名稱。如果未在物件初始化時指定資料提供者,將會傳回 System.Data.OleDb 的預設提供者。 + + + + + 取得值,代表資料來源的連接字串。 + + + + + 取得值,指出提供資料的表格名稱。 + + + + + 取得用來存取資料來源的方法。 + + + + 下列其中之一: 值。如果 未進行初始化,則這會傳回預設值 。 + + + + + 取得在 app.config 檔案 <microsoft.visualstudio.qualitytools> 區段中找到的資料來源名稱。 + + + + + 可在其中內嵌指定資料之資料驅動測試的屬性。 + + + + + 尋找所有資料列,並執行。 + + + 測試「方法」。 + + + 下列項目的陣列: 。 + + + + + 執行資料驅動測試方法。 + + 要執行的測試方法。 + 資料列。 + 執行結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML new file mode 100644 index 000000000..731cb4682 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML @@ -0,0 +1,162 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Used to specify deployment item (file or directory) for per-test deployment. + Can be specified on test class or test method. + Can have multiple instances of the attribute to specify more than one item. + The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + + + Initializes a new instance of the class. + + The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + + + + Initializes a new instance of the class + + The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by will be copied to this directory. + + + + Gets the path of the source file or folder to be copied. + + + + + Gets the path of the directory to which the item is copied. + + + + + Used to store information that is provided to unit tests. + + + + + Gets test properties for a test. + + + + + Gets or sets the cancellation token source. This token source is canceled when test times out. Also when explicitly canceled the test will be aborted + + + + + Gets base directory for the test run, under which deployed files and result files are stored. + + + + + Gets directory for files deployed for the test run. Typically a subdirectory of . + + + + + Gets base directory for results from the test run. Typically a subdirectory of . + + + + + Gets directory for test run result files. Typically a subdirectory of . + + + + + Gets directory for test result files. + + + + + Gets base directory for the test run, under which deployed files and result files are stored. + Same as . Use that property instead. + + + + + Gets directory for files deployed for the test run. Typically a subdirectory of . + Same as . Use that property instead. + + + + + Gets directory for test run result files. Typically a subdirectory of . + Same as . Use that property for test run result files, or + for test-specific result files instead. + + + + + Gets the Fully-qualified name of the class containing the test method currently being executed + + + + + Gets the fully specified type name metadata format. + + + + + Gets the fully specified method name metadata format. + + + + + Gets the name of the test method currently being executed + + + + + Gets the current test outcome. + + + + + Adds a file name to the list in TestResult.ResultFileNames + + + The file Name. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll new file mode 100644 index 000000000..16aeafd53 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML new file mode 100644 index 000000000..910f6f624 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML @@ -0,0 +1,5318 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + The assembly cleanup attribute. + + + + + The assembly initialize attribute. + + + + + The class cleanup attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets the Inheritance Behavior + + + + + Gets when to run class cleanup methods. + + + + + When to run ClassCleanup during test execution + + + + + Run at end of assembly + + + + + Run at end of class + + + + + Specification for when to run class cleanup methods. + + + + + Default class cleanup execution + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets when to run class cleanup methods. + + + + + The class initialize attribute. + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + Specifies the ClassInitialize Inheritance Behavior + + + + + Gets the Inheritance Behavior + + + + + CSS Iteration URI + + + + + Initializes a new instance of the class for CSS Iteration URI. + + The CSS Iteration URI. + + + + Gets the CSS Iteration URI. + + + + + CSS Project Structure URI + + + + + Initializes a new instance of the class for CSS Project Structure URI. + + The CSS Project Structure URI. + + + + Gets the CSS Project Structure URI. + + + + + Attribute for data driven test where data can be specified in-line. + + + + + Description of the test + + + + + Initializes a new instance of the class to describe a test. + + The description. + + + + Gets the description of a test. + + + + + The presence of this attribute in a test assembly causes MSTest to discover test classes (i.e. classes having + the "TestClass" attribute) and test methods (i.e. methods having the "TestMethod" attribute) which are declared + internal in addition to test classes and test methods which are declared public. When this attribute is not + present in a test assembly the tests in such classes will not be discovered. + + + + + Specification to disable parallelization. + + + + + Enum to specify whether the data is stored as property or in method. + + + + + Data is declared as property. + + + + + Data is declared in method. + + + + + Attribute to define dynamic data for a test method. + + + + + Initializes a new instance of the class. + + + The name of method or property having test data. + + + Specifies whether the data is stored as property or in method. + + + + + Initializes a new instance of the class when the test data is present in a class different + from test method's class. + + + The name of method or property having test data. + + + The declaring type of property or method having data. Useful in cases when declaring type is present in a class different from + test method's class. If null, declaring type defaults to test method's class type. + + + Specifies whether the data is stored as property or in method. + + + + + Gets or sets the name of method used to customize the display name in test results. + + + + + Gets or sets the declaring type used to customize the display name in test results. + + + + + + + + + + + The ignore attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Message specifies reason for ignoring. + + + + + Gets the owner. + + + + + Enumeration for inheritance behavior, that can be used with both the class + and class. + Defines the behavior of the ClassInitialize and ClassCleanup methods of base classes. + The type of the enumeration must match + + + + + None. + + + + + Before each derived class. + + + + + Test Owner + + + + + Initializes a new instance of the class. + + + The owner. + + + + + Gets the owner. + + + + + Specification for parallelization level for a test run. + + + + + The default scope for the parallel run. Although method level gives maximum parallelization, the default is set to + class level to enable maximum number of customers to easily convert their tests to run in parallel. In most cases within + a class tests aren't thread safe. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the number of workers to be used for the parallel run. + + + + + Gets or sets the scope of the parallel run. + + + To enable all classes to run in parallel set this to . + To get the maximum parallelization level set this to . + + + + + Parallel execution mode. + + + + + Each thread of execution will be handed a TestClass worth of tests to execute. + Within the TestClass, the test methods will execute serially. + + + + + Each thread of execution will be handed TestMethods to execute. + + + + + Priority attribute; used to specify the priority of a unit test. + + + + + Initializes a new instance of the class. + + + The priority. + + + + + Gets the priority. + + + + + The test class attribute. + + + + + Gets a test method attribute that enables running this test. + + The test method attribute instance defined on this method. + The to be used to run this test. + Extensions can override this method to customize how all methods in a class are run. + + + + The test cleanup attribute marks methods that are executed after every test marked with a . + + + + + Specifies how to discover ITestDataSource tests. + + + + + Initializes a new instance of the class. + + + Sets which to use when discovering ITestDataSource tests. + + + + + Gets specified discovery option. + + + + + Supported TestDataSource discovery modes + + + + + Discover tests during execution. + This was the default option on version 2.2.3 and before. + + + + + Discover and expand ITestDataSource based tests. + This is the default behavior after version 2.2.3. + + + + + The test initialize attribute. + + + + + The test method attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Display name for the test. + + + + + Gets display name for the test. + + + + + Executes a test method. + + The test method to execute. + An array of TestResult objects that represent the outcome(s) of the test. + Extensions can override this method to customize running a TestMethod. + + + + The test property attribute. + + + + + Initializes a new instance of the class. + + + The name. + + + The value. + + + + + Gets the name. + + + + + Gets the value. + + + + + TestResult object to be returned to adapter. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the display name of the result. Useful when returning multiple results. + If null then Method name is used as DisplayName. + + + + + Gets or sets the outcome of the test execution. + + + + + Gets or sets the exception thrown when test is failed. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the execution id of the result. + + + + + Gets or sets the parent execution id of the result. + + + + + Gets or sets the inner results count of the result. + + + + + Gets or sets the duration of test execution. + + + + + Gets or sets the data row index in data source. Set only for results of individual + run of data row of a data driven test. + + + + + Gets or sets the return value of the test method. (Currently null always). + + + + + Gets or sets the result files attached by the test. + + + + + Enumeration for timeouts, that can be used with the class. + The type of the enumeration must match + + + + + The infinite. + + + + + Timeout attribute; used to specify the timeout of a unit test. + + + + + Initializes a new instance of the class. + + + The timeout in milliseconds. + + + + + Initializes a new instance of the class with a preset timeout + + + The timeout + + + + + Gets the timeout in milliseconds. + + + + + WorkItem attribute; used to specify a work item associated with this test. + + + + + Initializes a new instance of the class for the WorkItem Attribute. + + The Id to a work item. + + + + Gets the Id to a work item associated. + + + + + Test data source for data driven tests. + + + + + Gets the test data from custom test data source. + + + The method info of test method. + + + Test data for calling test method. + + + + + Gets the display name corresponding to test data row for displaying in TestResults. + + + The method info of test method. + + + The test data which is passed to test method. + + + The . + + + + + TestMethod for execution. + + + + + Gets the name of test method. + + + + + Gets the name of test class. + + + + + Gets the return type of test method. + + + + + Gets the arguments with which test method is invoked. + + + + + Gets the parameters of test method. + + + + + Gets the methodInfo for test method. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invokes the test method. + + + Arguments to pass to test method. (E.g. For data driven) + + + Result of test method invocation. + + + This call handles asynchronous test methods as well. + + + + + Get all attributes of the test method. + + + Whether attribute defined in parent class is valid. + + + All attributes. + + + + + Get attribute of specific type. + + System.Attribute type. + + Whether attribute defined in parent class is valid. + + + The attributes of the specified type. + + + + + The helper. + + + + + The check parameter not null. + + + The parameter. + + + The parameter name. + + + The message. + + Throws argument null exception when parameter is null. + + + + The check parameter not null or empty. + + + The parameter. + + + The parameter name. + + + The message. + + Throws ArgumentException when parameter is null. + + + + Enumeration for how we access data rows in data driven testing. + + + + + Rows are returned in sequential order. + + + + + Rows are returned in random order. + + + + + Attribute to define in-line data for a test method. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The data object. + + + + Initializes a new instance of the class which takes in an array of arguments. + + A data object. + More data. + + + + Gets data for calling test method. + + + + + Gets or sets display name in test results for customization. + + + + + + + + + + + The assert inconclusive exception. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + InternalTestFailureException class. Used to indicate internal failure for a test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initializes a new instance of the class. + + The exception message. + The exception. + + + + Initializes a new instance of the class. + + The exception message. + + + + Initializes a new instance of the class. + + + + + Attribute that specifies to expect an exception of the specified type + + + + + Initializes a new instance of the class with the expected type + + Type of the expected exception + + + + Initializes a new instance of the class with + the expected type and the message to include when no exception is thrown by the test. + + Type of the expected exception + + Message to include in the test result if the test fails due to not throwing an exception + + + + + Gets a value indicating the Type of the expected exception + + + + + Gets or sets a value indicating whether to allow types derived from the type of the expected exception to + qualify as expected + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Verifies that the type of the exception thrown by the unit test is expected + + The exception thrown by the unit test + + + + Base class for attributes that specify to expect an exception from a unit test + + + + + Initializes a new instance of the class with a default no-exception message + + + + + Initializes a new instance of the class with a no-exception message + + + Message to include in the test result if the test fails due to not throwing an + exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the default no-exception message + + The ExpectedException attribute type name + The default no-exception message + + + + Determines whether the exception is expected. If the method returns, then it is + understood that the exception was expected. If the method throws an exception, then it + is understood that the exception was not expected, and the thrown exception's message + is included in the test result. The class can be used for + convenience. If is used and the assertion fails, + then the test outcome is set to Inconclusive. + + The exception thrown by the unit test + + + + Rethrow the exception if it is an AssertFailedException or an AssertInconclusiveException + + The exception to rethrow if it is an assertion exception + + + + This class is designed to help user doing unit testing for types which uses generic types. + GenericParameterHelper satisfies some common generic type constraints + such as: + 1. public default constructor + 2. implements common interface: IComparable, IEnumerable + + + + + Initializes a new instance of the class that + satisfies the 'newable' constraint in C# generics. + + + This constructor initializes the Data property to a random value. + + + + + Initializes a new instance of the class that + initializes the Data property to a user-supplied value. + + Any integer value + + + + Gets or sets the Data + + + + + Do the value comparison for two GenericParameterHelper object + + object to do comparison with + true if obj has the same value as 'this' GenericParameterHelper object. + false otherwise. + + + + Returns a hashcode for this object. + + The hash code. + + + + Compares the data of the two objects. + + The object to compare with. + + A signed number indicating the relative values of this instance and value. + + + Thrown when the object passed in is not an instance of . + + + + + Returns an IEnumerator object whose length is derived from + the Data property. + + The IEnumerator object + + + + Returns a GenericParameterHelper object that is equal to + the current object. + + The cloned object. + + + + Enables users to log/write traces from unit tests for diagnostics. + + + + + Handler for LogMessage. + + Message to log. + + + + Event to listen. Raised when unit test writer writes some message. + Mainly to consume by adapter. + + + + + API for test writer to call to Log messages. + + String format with placeholders. + Parameters for placeholders. + + + + TestCategory attribute; used to specify the category of a unit test. + + + + + Initializes a new instance of the class and applies the category to the test. + + + The test Category. + + + + + Gets the test categories that has been applied to the test. + + + + + Base class for the "Category" attribute + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initializes a new instance of the class. + Applies the category to the test. The strings returned by TestCategories + are used with the /category command to filter tests + + + + + Gets the test category that has been applied to the test. + + + + + AssertFailedException class. Used to indicate failure for a test case + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + A collection of helper classes to test various conditions within + unit tests. If the condition being tested is not met, an exception + is thrown. + + + + + Gets the singleton instance of the Assert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null. + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is not equal to . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Throws an AssertFailedException. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Static equals overloads are used for comparing instances of two types for reference + equality. This method should not be used for comparison of two instances for + equality. This object will always throw with Assert.Fail. Please use + Assert.AreEqual and associated overloads in your unit tests. + + Object A + Object B + False, always. + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Replaces null characters ('\0') with "\\0". + + + The string to search. + + + The converted string with null characters replaced by "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Helper function that creates and throws an AssertionFailedException + + + name of the assertion throwing an exception + + + message describing conditions for assertion failure + + + The parameters. + + + + + Checks the parameter for valid conditions + + + The parameter. + + + The assertion Name. + + + parameter name + + + message for the invalid parameter exception + + + The parameters. + + + + + Safely converts an object to a string, handling null values and null characters. + Null values are converted to "(null)". Null characters are converted to "\\0". + + + The object to convert to a string. + + + The converted string. + + + + + The string assert. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert customAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if does not match + . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if matches . + + + + + A collection of helper classes to test various conditions associated + with collections within unit tests. If the condition being tested is not + met, an exception is thrown. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert customAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if is found in + . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if every element in is also found in + . + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Determines whether the first collection is a subset of the second + collection. If either set contains duplicate elements, the number + of occurrences of the element in the subset must be less than or + equal to the number of occurrences in the superset. + + + The collection the test expects to be contained in . + + + The collection the test expects to contain . + + + True if is a subset of + , false otherwise. + + + + + Constructs a dictionary containing the number of occurrences of each + element in the specified collection. + + + The collection to process. + + + The number of null elements in the collection. + + + A dictionary containing the number of occurrences of each element + in the specified collection. + + + + + Finds a mismatched element between the two collections. A mismatched + element is one that appears a different number of times in the + expected collection than it does in the actual collection. The + collections are assumed to be different non-null references with the + same number of elements. The caller is responsible for this level of + verification. If there is no mismatched element, the function returns + false and the out parameters should not be used. + + + The first collection to compare. + + + The second collection to compare. + + + The expected number of occurrences of + or 0 if there is no mismatched + element. + + + The actual number of occurrences of + or 0 if there is no mismatched + element. + + + The mismatched element (may be null) or null if there is no + mismatched element. + + + true if a mismatched element was found; false otherwise. + + + + + compares the objects using object.Equals + + + + + Base class for Framework Exceptions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Access string has invalid syntax.. + + + + + Looks up a localized string similar to The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0}. + + + + + Looks up a localized string similar to Duplicate item found:<{1}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Case is different for actual value:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected any value except:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0}. + + + + + Looks up a localized string similar to {0} must derive from {1}!. + + + + + Looks up a localized string similar to {0} failed. {1}. + + + + + Looks up a localized string similar to async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute.. + + + + + Looks up a localized string similar to UITestMethodAttribute.DispatcherQueue should not be null. To use UITestMethodAttribute within a WinUI Desktop App, remember to set the static UITestMethodAttribute.DispatcherQueue during the test initialization.. + + + + + Looks up a localized string similar to Both collections are empty. {0}. + + + + + Looks up a localized string similar to Both collection contain same elements.. + + + + + Looks up a localized string similar to Both collection references point to the same collection object. {0}. + + + + + Looks up a localized string similar to Both collections contain the same elements. {0}. + + + + + Looks up a localized string similar to {0}({1}). + + + + + Looks up a localized string similar to (null). + + + + + Looks up a localized string similar to (object). + + + + + Looks up a localized string similar to String '{0}' does not contain string '{1}'. {2}.. + + + + + Looks up a localized string similar to {0} ({1}). + + + + + Looks up a localized string similar to Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead.. + + + + + Looks up a localized string similar to Method {0} must match the expected signature: public static {1} {0}({2}).. + + + + + Looks up a localized string similar to Property or method {0} on {1} returns empty IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Property or method {0} on {1} does not return IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Value returned by property or method {0} shouldn't be null.. + + + + + Looks up a localized string similar to The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0}. + + + + + Looks up a localized string similar to Element at index {0} do not match.. + + + + + Looks up a localized string similar to Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0}. + + + + + Looks up a localized string similar to Element at index {1} is (null). Expected type:<{2}>.{0}. + + + + + Looks up a localized string similar to String '{0}' does not end with string '{1}'. {2}.. + + + + + Looks up a localized string similar to Invalid argument- EqualsTester can't use nulls.. + + + + + Looks up a localized string similar to Cannot convert object of type {0} to {1}.. + + + + + Looks up a localized string similar to The internal object referenced is no longer valid.. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. {1}.. + + + + + Looks up a localized string similar to The property {0} has type {1}; expected type {2}.. + + + + + Looks up a localized string similar to {0} Expected type:<{1}>. Actual type:<{2}>.. + + + + + Looks up a localized string similar to String '{0}' does not match pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to Wrong Type:<{1}>. Actual type:<{2}>. {0}. + + + + + Looks up a localized string similar to String '{0}' matches pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute.. + + + + + Looks up a localized string similar to No exception thrown. {1} exception was expected. {0}. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. The value cannot be null. {1}.. + + + + + Looks up a localized string similar to Different number of elements.. + + + + + Looks up a localized string similar to + The constructor with the specified signature could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to + The member specified ({0}) could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to String '{0}' does not start with string '{1}'. {2}.. + + + + + Looks up a localized string similar to The expected exception type must be System.Exception or a type derived from System.Exception.. + + + + + Looks up a localized string similar to (Failed to get the message for an exception of type {0} due to an exception.). + + + + + Looks up a localized string similar to Test method did not throw expected exception {0}. {1}. + + + + + Looks up a localized string similar to Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method.. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Threw exception {2}, but exception {1} was expected. {0} + Exception Message: {3} + Stack Trace: {4}. + + + + + unit test outcomes + + + + + Test was executed, but there were issues. + Issues may involve exceptions or failed assertions. + + + + + Test has completed, but we can't say if it passed or failed. + May be used for aborted tests. + + + + + Test was executed without any issues. + + + + + Test is currently executing. + + + + + There was a system error while we were trying to execute a test. + + + + + The test timed out. + + + + + Test was aborted by the user. + + + + + Test is in an unknown state + + + + + Test cannot be executed. + + + + + Provides helper functionality for the unit test framework + + + + + Gets the exception messages, including the messages for all inner exceptions + recursively + + Exception to get messages for + string with error message information + + + + Specifies connection string, table name and row access method for data driven testing. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + The default provider name for DataSource. + + + + + The default data access method. + + + + + Initializes a new instance of the class. This instance will be initialized with a data provider, connection string, data table and data access method to access the data source. + + Invariant data provider name, such as System.Data.SqlClient + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + Specifies the order to access data. + + + + Initializes a new instance of the class.This instance will be initialized with a connection string and table name. + Specify connection string and data table to access OLEDB data source. + + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + + + + Initializes a new instance of the class. This instance will be initialized with a data provider and connection string associated with the setting name. + + The name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Gets a value representing the data provider of the data source. + + + The data provider name. If a data provider was not designated at object initialization, the default provider of System.Data.OleDb will be returned. + + + + + Gets a value representing the connection string for the data source. + + + + + Gets a value indicating the table name providing data. + + + + + Gets the method used to access the data source. + + + + One of the values. If the is not initialized, this will return the default value . + + + + + Gets the name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + Specifies that null is disallowed as an input even if the corresponding type allows it. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter may be null. + + + + Gets the return value condition. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that the output will be non-null if the named parameter is non-null. + + + Initializes the attribute with the associated parameter name. + + The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. + + + + Gets the associated parameter name. + + + Applied to a method that will never return under any circumstance. + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + Initializes the attribute with the specified parameter value. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values. + + + Initializes the attribute with a field or property member. + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the list of field and property members. + + The list of field and property members that are promised to be not-null. + + + + Gets field or property member names. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. + + + Initializes the attribute with the specified return value condition and a field or property member. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the specified return value condition and list of field and property members. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The list of field and property members that are promised to be not-null. + + + + Gets the return value condition. + + + Gets field or property member names. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll new file mode 100644 index 000000000..e0ab0d015 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..5b20a571d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Používá se pro určení položky nasazení (souboru nebo adresáře) za účelem nasazení podle testu. + Lze zadat na testovací třídě nebo testovací metodě. + Může mít více instancí atributu pro zadání více než jedné položky. + Cesta k položce může být absolutní nebo relativní. Pokud je relativní, je relativní ve vztahu k RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicializuje novou instanci třídy . + + Soubor nebo adresář, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do adresáře, ve kterém jsou nasazená testovací sestavení. + + + + Inicializuje novou instanci třídy . + + Relativní nebo absolutní cesta k souboru nebo adresáři, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do stejného adresáře jako nasazená testovací sestavení. + Cesta k adresáři, do kterého se mají položky kopírovat. Může být absolutní nebo relativní ve vztahu k adresáři nasazení. Všechny soubory a adresáře určené cestou budou zkopírovány do tohoto adresáře. + + + + Získá cestu ke zdrojovému souboru nebo složce, které se mají kopírovat. + + + + + Získá cestu adresáře, do kterého se položka zkopíruje. + + + + + Třída TestContext. Tato třída by měla být zcela abstraktní a neměla by obsahovat žádné + členy. Členy implementuje adaptér. Uživatelé rozhraní by měli + k této funkci přistupovat jenom prostřednictvím dobře definovaného rozhraní. + + + + + Získá vlastnosti testu. + + + + + Získá plně kvalifikovaný název třídy obsahující aktuálně prováděnou testovací metodu. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Získá název aktuálně prováděné testovací metody. + + + + + Získá aktuální výsledek testu. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..3f446b4e8 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4197 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atribut TestMethod pro provádění + + + + + Získá název testovací metody. + + + + + Získá název třídy testu. + + + + + Získá návratový typ testovací metody. + + + + + Získá parametry testovací metody. + + + + + Získá methodInfo pro testovací metodu. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Vyvolá testovací metodu. + + + Argumenty pro testovací metodu (např. pro testování řízené daty) + + + Výsledek vyvolání testovací metody + + + This call handles asynchronous test methods as well. + + + + + Získá všechny atributy testovací metody. + + + Jestli je platný atribut definovaný v nadřazené třídě + + + Všechny atributy + + + + + Získá atribut konkrétního typu. + + System.Attribute type. + + Jestli je platný atribut definovaný v nadřazené třídě + + + Atributy zadaného typu + + + + + Pomocná služba + + + + + Kontrolní parametr není null. + + + Parametr + + + Název parametru + + + Zpráva + + Throws argument null exception when parameter is null. + + + + Ověřovací parametr není null nebo prázdný. + + + Parametr + + + Název parametru + + + Zpráva + + Throws ArgumentException when parameter is null. + + + + Výčet způsobů přístupu k datovým řádkům při testování řízeném daty + + + + + Řádky se vrací v sekvenčním pořadí. + + + + + Řádky se vrátí v náhodném pořadí. + + + + + Atribut pro definování vložených dat pro testovací metodu + + + + + Inicializuje novou instanci třídy . + + Datový objekt + + + + Inicializuje novou instanci třídy , která přijímá pole argumentů. + + Datový objekt + Další data + + + + Získá data pro volání testovací metody. + + + + + Získá nebo nastaví zobrazovaný název ve výsledcích testu pro přizpůsobení. + + + + + Výjimka s neprůkazným kontrolním výrazem + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Třída InternalTestFailureException. Používá se pro označení interní chyby testovacího případu. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + + + + Inicializuje novou instanci třídy . + + + + + Atribut, podle kterého se má očekávat výjimka zadaného typu + + + + + Inicializuje novou instanci třídy s očekávaným typem. + + Typ očekávané výjimky + + + + Inicializuje novou instanci třídy + s očekávaným typem a zprávou, která se zahrne v případě, že test nevyvolá žádnou výjimku. + + Typ očekávané výjimky + + Zpráva, která má být zahrnuta do výsledku testu, pokud se test nezdaří z důvodu nevyvolání výjimky + + + + + Načte hodnotu, která označuje typ očekávané výjimky. + + + + + Získá nebo načte hodnotu, která označuje, jestli je možné typy odvozené od typu očekávané výjimky + považovat za očekávané. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Ověří, jestli se očekává typ výjimky vyvolané testem jednotek. + + Výjimka vyvolaná testem jednotek + + + + Základní třída pro atributy, které určují, že se má očekávat výjimka testu jednotek + + + + + Inicializuje novou instanci třídy s výchozí zprávou no-exception. + + + + + Inicializuje novou instanci třídy se zprávou no-exception. + + + Zprávy, které mají být zahrnuty ve výsledku testu, pokud se test nezdaří z důvodu nevyvolání + výjimky + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá výchozí zprávu no-exception. + + Název typu atributu ExpectedException + Výchozí zpráva neobsahující výjimku + + + + Určuje, jestli se daná výjimka očekává. Pokud metoda skončí, rozumí se tomu tak, + že se výjimka očekávala. Pokud metoda vyvolá výjimku, rozumí se tím, + že se výjimka neočekávala a součástí výsledku testu + je zpráva vyvolané výjimky. Pomocí třídy je možné si usnadnit + práci. Pokud se použije a kontrolní výraz selže, + výsledek testu se nastaví na Neprůkazný. + + Výjimka vyvolaná testem jednotek + + + + Znovu vyvolá výjimku, pokud se jedná o atribut AssertFailedException nebo AssertInconclusiveException. + + Výjimka, která se má znovu vyvolat, pokud se jedná výjimku kontrolního výrazu + + + + Tato třída je koncipovaná tak, aby uživatelům pomáhala při testování jednotek typů, které využívá obecné typy. + Atribut GenericParameterHelper řeší některá běžná omezení obecných typů, + jako jsou: + 1. veřejný výchozí konstruktor + 2. implementace společného rozhraní: IComparable, IEnumerable + + + + + Inicializuje novou instanci třídy , která + splňuje omezení newable v obecných typech jazyka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializuje novou instanci třídy , která + inicializuje vlastnost Data na hodnotu zadanou uživatelem. + + Libovolné celé číslo + + + + Získá nebo nastaví data. + + + + + Provede porovnání hodnot pro dva objekty GenericParameterHelper. + + objekt, se kterým chcete porovnávat + pravda, pokud má objekt stejnou hodnotu jako „tento“ objekt GenericParameterHelper. + V opačném případě nepravda. + + + + Vrátí pro tento objekt hodnotu hash. + + Kód hash + + + + Porovná data daných dvou objektů . + + Objekt pro porovnání + + Číslo se znaménkem označující relativní hodnoty této instance a hodnoty + + + Thrown when the object passed in is not an instance of . + + + + + Vrátí objekt IEnumerator, jehož délka je odvozená od + vlastnosti dat. + + Objekt IEnumerator + + + + Vrátí objekt GenericParameterHelper, který se rovná + aktuálnímu objektu. + + Klonovaný objekt + + + + Umožňuje uživatelům protokolovat/zapisovat trasování z testů jednotek pro účely diagnostiky. + + + + + Obslužná rutina pro LogMessage + + Zpráva, kterou chcete zaprotokolovat + + + + Událost pro naslouchání. Dojde k ní, když autor testů jednotek napíše zprávu. + Určeno především pro použití adaptérem. + + + + + Rozhraní API pro volání zpráv protokolu zapisovačem testu + + Formátovací řetězec se zástupnými symboly + Parametry pro zástupné symboly + + + + Atribut TestCategory, používá se pro zadání kategorie testu jednotek. + + + + + Inicializuje novou instanci třídy a zavede pro daný test kategorii. + + + Kategorie testu + + + + + Získá kategorie testu, které se nastavily pro test. + + + + + Základní třída atributu Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializuje novou instanci třídy . + Tuto kategorii zavede pro daný test. Řetězce vrácené z TestCategories + se použijí spolu s příkazem /category k filtrování testů. + + + + + Získá kategorii testu, která se nastavila pro test. + + + + + Třída AssertFailedException. Používá se pro značení chyby testovacího případu. + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Kolekce pomocných tříd pro testování nejrůznějších podmínek v rámci + testů jednotek. Pokud se testovaná podmínka nesplní, vyvolá se + výjimka. + + + + + Získá instanci typu singleton funkce Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is false. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is true. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null. + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Vyvolá výjimku AssertFailedException. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Statická přetížení operátoru rovnosti se používají k porovnání rovnosti odkazů na instance + dvou typů. Tato metoda by se neměla používat k porovnání rovnosti dvou + instancí. Tento objekt vždy vyvolá Assert.Fail. Ve svých testech + jednotek prosím použijte Assert.AreEqual a přidružená přetížení. + + Objekt A + Objekt B + Vždy nepravda. + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Nahradí znaky null ('\0') řetězcem "\\0". + + + Řetězec, který se má hledat + + + Převedený řetězec se znaky Null nahrazený řetězcem "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Pomocná funkce, která vytváří a vyvolává výjimku AssertionFailedException + + + název kontrolního výrazu, který vyvolává výjimku + + + zpráva popisující podmínky neplatnosti kontrolního výrazu + + + Parametry + + + + + Ověří parametr pro platné podmínky. + + + Parametr + + + Název kontrolního výrazu + + + název parametru + + + zpráva pro neplatnou výjimku parametru + + + Parametry + + + + + Bezpečně převede objekt na řetězec, včetně zpracování hodnot null a znaků null. + Hodnoty null se převádějí na formát (null). Znaky null se převádějí na \\0. + + + Objekt, který chcete převést na řetězec + + + Převedený řetězec + + + + + Kontrolní výraz řetězce + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not end with + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if matches . + + + + + Kolekce tříd pomocných služeb pro ověřování nejrůznějších podmínek vztahujících se + na kolekce v rámci testů jednotek. Pokud se testovaná podmínka + nesplní, vyvolá se výjimka. + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is found in + . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a null element is found in . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Určuje, jestli první kolekce je podmnožinou druhé + kolekce. Pokud některá z množin obsahuje duplicitní prvky, musí počet + výskytů prvku v podmnožině být menší, nebo + se musí rovnat počtu výskytů v nadmnožině. + + + Kolekce, která podle testu má být obsažena v nadmnožině . + + + Kolekce, která podle testu má obsahovat . + + + Pravda, pokud je podmnožinou + , jinak nepravda. + + + + + Vytvoří slovník obsahující počet výskytů jednotlivých + prvků v zadané kolekci. + + + Kolekce, kterou chcete zpracovat + + + Počet prvků Null v kolekci + + + Slovník obsahující počet výskytů jednotlivých prvků + v zadané kolekci. + + + + + Najde mezi dvěma kolekcemi neshodný prvek. Neshodný + prvek je takový, který má v očekávané kolekci + odlišný počet výskytů ve srovnání se skutečnou kolekcí. Kolekce + se považují za rozdílné reference bez hodnoty null se + stejným počtem prvků. Za tuto úroveň ověření odpovídá + volající. Pokud neexistuje žádný neshodný prvek, funkce vrátí + false a neměli byste použít parametry Out. + + + První kolekce, která se má porovnat + + + Druhá kolekce k porovnání + + + Očekávaný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Skutečný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Neshodný prvek (může být Null) nebo Null, pokud neexistuje žádný + neshodný prvek. + + + pravda, pokud je nalezen nevyhovující prvek; v opačném případě nepravda. + + + + + Porovná objekt pomocí atributu object.Equals. + + + + + Základní třída pro výjimky architektury + + + + + Inicializuje novou instanci třídy . + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Třída prostředků se silnými typy pro vyhledávání lokalizovaných řetězců atd. + + + + + Vrátí v mezipaměti uloženou instanci ResourceManager použitou touto třídou. + + + + + Přepíše vlastnost CurrentUICulture aktuálního vlákna pro všechna + vyhledávání prostředků pomocí této třídy prostředků silného typu. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Přístupový řetězec má neplatnou syntaxi. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekávaná kolekce obsahuje počet výskytů {1} <{2}>. Skutečná kolekce obsahuje tento počet výskytů: {3}. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Našla se duplicitní položka:<{1}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekáváno:<{1}>. Případ je rozdílný pro skutečnou hodnotu:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekává rozdíl maximálně <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekáváno:<{1} ({2})>. Skutečnost:<{3} ({4})>. {0}. + + + + + Vyhledá řetězec podobný řetězci Očekáváno:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekával rozdíl větší než <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávala se libovolná hodnota s výjimkou:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevkládejte hodnotu typů do AreSame(). Hodnoty převedené na typ Object nebudou nikdy stejné. Zvažte možnost použít AreEqual(). {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Chyba {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: async TestMethod s atributem UITestMethodAttribute se nepodporují. Buď odeberte async, nebo použijte TestMethodAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce jsou prázdné. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejný prvek. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě reference kolekce odkazují na stejný objekt kolekce. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejné prvky. {0}. + + + + + Vyhledá řetězec podobný řetězci {0}({1}). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (null). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (objekt). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} neobsahuje řetězec {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} ({1}). + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Atribut Assert.Equals by se neměl používat pro kontrolní výrazy. Použijte spíše Assert.AreEqual a přetížení. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Počet prvků v kolekci se neshoduje. Očekáváno:<{1}>. Skutečnost:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {0} se neshoduje. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Prvek indexu {1} je neočekávaného typu. Očekávaný typ:<{2}>. Skutečný typ:<{3}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {1} je (null). Očekávaný typ:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nekončí řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Neplatný argument: EqualsTester nemůže použít hodnoty null. + + + + + Vyhledá řetězec podobný řetězci Nejde převést objekt typu {0} na {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Interní odkazovaný objekt už není platný. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Parametr {0} je neplatný. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Vlastnost {0} má typ {1}; očekávaný typ {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} Očekávaný typ:<{1}>. Skutečný typ:<{2}>. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se neshoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Nesprávný typ:<{1}>. Skutečný typ:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se shoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nezadal se žádný atribut DataRowAttribute. K atributu DataTestMethodAttribute se vyžaduje aspoň jeden atribut DataRowAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevyvolala se žádná výjimka. Očekávala se výjimka {1}. {0}. + + + + + Vyhledá lokalizované řetězce podobné tomuto: Parametr {0} je neplatný. Hodnota nemůže být null. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Rozdílný počet prvků. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Konstruktor se zadaným podpisem se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru objektu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Zadaný člen ({0}) se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru atributu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nezačíná řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávaný typ výjimky musí být System.Exception nebo typ odvozený od System.Exception. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (Z důvodu výjimky se nepodařilo získat zprávu pro výjimku typu {0}.). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Testovací metoda nevyvolala očekávanou výjimku {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda nevyvolala výjimku. Atribut {0} definovaný testovací metodou očekával výjimku. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, ale očekávala se výjimka {1}. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, očekávala se ale odvozená výjimka {1} nebo typ. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Vyvolala se výjimka {2}, ale očekávala se výjimka {1}. {0} + Zpráva o výjimce: {3} + Trasování zásobníku: {4} + + + + + Výsledky testu jednotek + + + + + Test se provedl, ale došlo k problémům. + Problémy se můžou týkat výjimek nebo neúspěšných kontrolních výrazů. + + + + + Test se dokončil, ale není možné zjistit, jestli byl úspěšný, nebo ne. + Dá se použít pro zrušené testy. + + + + + Test se provedl zcela bez problémů. + + + + + V tuto chvíli probíhá test. + + + + + Při provádění testu došlo k chybě systému. + + + + + Časový limit testu vypršel. + + + + + Test byl zrušen uživatelem. + + + + + Test je v neznámém stavu. + + + + + Poskytuje pomocnou funkci pro systém pro testy jednotek. + + + + + Rekurzivně získá zprávy o výjimce, včetně zpráv pro všechny vnitřní + výjimky. + + Výjimka pro načítání zpráv pro + řetězec s informacemi v chybové zprávě + + + + Výčet pro časové limity, který se dá použít spolu s třídou . + Typ výčtu musí odpovídat + + + + + Nekonečno + + + + + Atribut třídy testu + + + + + Získá atribut testovací metody, který umožní spustit tento test. + + Instance atributu testovací metody definované v této metodě. + Typ Použije se ke spuštění tohoto testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atribut testovací metody + + + + + Spustí testovací metodu. + + Testovací metoda, která se má spustit. + Pole objektů TestResult, které představuje výsledek (nebo výsledky) daného testu. + Extensions can override this method to customize running a TestMethod. + + + + Atribut inicializace testu + + + + + Atribut vyčištění testu + + + + + Atribut ignore + + + + + Atribut vlastnosti testu + + + + + Inicializuje novou instanci třídy . + + + Název + + + Hodnota + + + + + Získá název. + + + + + Získá hodnotu. + + + + + Atribut inicializace třídy + + + + + Atribut vyčištění třídy + + + + + Atribut inicializace sestavení + + + + + Atribut vyčištění sestavení + + + + + Vlastník testu + + + + + Inicializuje novou instanci třídy . + + + Vlastník + + + + + Získá vlastníka. + + + + + Atribut priority, používá se pro určení priority testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Priorita + + + + + Získá prioritu. + + + + + Popis testu + + + + + Inicializuje novou instanci třídy , která popíše test. + + Popis + + + + Získá popis testu. + + + + + Identifikátor URI struktury projektů CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI struktury projektů CSS. + + Identifikátor URI struktury projektů CSS + + + + Získá identifikátor URI struktury projektů CSS. + + + + + Identifikátor URI iterace CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI iterace CSS. + + Identifikátor URI iterace CSS + + + + Získá identifikátor URI iterace CSS. + + + + + Atribut WorkItem, používá se pro zadání pracovní položky přidružené k tomuto testu. + + + + + Inicializuje novou instanci třídy pro atribut WorkItem. + + ID pro pracovní položku + + + + Získá ID k přidružené pracovní položce. + + + + + Atribut časového limitu, používá se pro zadání časového limitu testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Časový limit + + + + + Inicializuje novou instanci třídy s předem nastaveným časovým limitem. + + + Časový limit + + + + + Získá časový limit. + + + + + Objekt TestResult, který se má vrátit adaptéru + + + + + Inicializuje novou instanci třídy . + + + + + Získá nebo nastaví zobrazovaný název výsledku. Vhodné pro vrácení většího počtu výsledků. + Pokud je null, jako DisplayName se použije název metody. + + + + + Získá nebo nastaví výsledek provedení testu. + + + + + Získá nebo nastaví výjimku vyvolanou při chybě testu. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo načte trasování ladění testovacího kódu. + + + + + Gets or sets the debug traces by test code. + + + + + Získá nebo nastaví délku trvání testu. + + + + + Získá nebo nastaví index řádku dat ve zdroji dat. Nastavte pouze pro výsledky jednoho + spuštění řádku dat v testu řízeném daty. + + + + + Získá nebo nastaví návratovou hodnotu testovací metody. (Aktuálně vždy null) + + + + + Získá nebo nastaví soubory s výsledky, které připojil test. + + + + + Určuje připojovací řetězec, název tabulky a metodu přístupu řádku pro testování řízené daty. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Název výchozího poskytovatele pro DataSource + + + + + Výchozí metoda pro přístup k datům + + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat, připojovacím řetězcem, tabulkou dat a přístupovou metodou k datům, pomocí kterých se získá přístup ke zdroji dat. + + Název poskytovatele neutrálních dat, jako je System.Data.SqlClient + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + Určuje pořadí přístupu k datům. + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s připojovacím řetězcem a názvem tabulky. + Zadejte připojovací řetězec a tabulku dat, pomocí kterých se získá přístup ke zdroji dat OLEDB. + + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat a připojovacím řetězcem přidruženým k názvu nastavení. + + Název zdroje dat nalezený v oddílu <microsoft.visualstudio.qualitytools> souboru app.config. + + + + Získá hodnotu představující poskytovatele dat zdroje dat. + + + Název poskytovatele dat. Pokud poskytovatel dat nebyl při inicializaci objektu zadán, bude vrácen výchozí poskytovatel System.Data.OleDb. + + + + + Získá hodnotu představující připojovací řetězec zdroje dat. + + + + + Získá hodnotu označující název tabulky poskytující data. + + + + + Získá metodu používanou pro přístup ke zdroji dat. + + + + Jedna z těchto položek: . Pokud není inicializován, vrátí výchozí hodnotu . + + + + + Získá název zdroje dat nalezeného v části <microsoft.visualstudio.qualitytools> v souboru app.config. + + + + + Atribut testu řízeného daty, kde se data dají zadat jako vložená. + + + + + Vyhledá všechny datové řádky a spustí je. + + + Testovací metoda + + + Pole . + + + + + Spustí testovací metodu řízenou daty. + + Testovací metoda, kterou chcete provést. + Datový řádek + Výsledek provedení + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..81af0036f --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Wird zum Angeben des Bereitstellungselements (Datei oder Verzeichnis) für eine Bereitstellung pro Test verwendet. + Kann für eine Testklasse oder Testmethode angegeben werden. + Kann mehrere Instanzen des Attributs besitzen, um mehrere Elemente anzugeben. + Der Elementpfad kann absolut oder relativ sein. Wenn er relativ ist, dann relativ zu "RunConfig.RelativePathRoot". + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die bereitzustellende Datei oder das Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + + + + Initialisiert eine neue Instanz der -Klasse. + + Der relative oder absolute Pfad zur bereitzustellenden Datei oder zum Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + Der Pfad des Verzeichnisses, in das die Elemente kopiert werden sollen. Er kann absolut oder relativ zum Bereitstellungsverzeichnis sein. Alle Dateien und Verzeichnisse, die identifiziert werden durch werden in dieses Verzeichnis kopiert. + + + + Ruft den Pfad der Quelldatei oder des -ordners ab, die bzw. der kopiert werden soll. + + + + + Ruft den Pfad des Verzeichnisses ab, in das das Element kopiert werden soll. + + + + + Die TestContext-Klasse. Diese Klasse muss vollständig abstrakt sein und keine + Member enthalten. Der Adapter implementiert die Member. Benutzer im Framework sollten + darauf nur über eine klar definierte Schnittstelle zugreifen. + + + + + Ruft Testeigenschaften für einen Test ab. + + + + + Ruft den vollqualifizierten Namen der Klasse ab, die die Testmethode enthält, die zurzeit ausgeführt wird. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Ruft den Namen der zurzeit ausgeführten Testmethode ab. + + + + + Ruft das aktuelle Testergebnis ab. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..ae6802605 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod für die Ausführung. + + + + + Ruft den Namen der Testmethode ab. + + + + + Ruft den Namen der Testklasse ab. + + + + + Ruft den Rückgabetyp der Testmethode ab. + + + + + Ruft die Parameter der Testmethode ab. + + + + + Ruft die methodInfo der Testmethode ab. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Ruft die Testmethode auf. + + + An die Testmethode zu übergebende Argumente (z. B. für datengesteuerte Tests). + + + Das Ergebnis des Testmethodenaufrufs. + + + This call handles asynchronous test methods as well. + + + + + Ruft alle Attribute der Testmethode ab. + + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Alle Attribute. + + + + + Ruft ein Attribut eines bestimmten Typs ab. + + System.Attribute type. + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Die Attribute des angegebenen Typs. + + + + + Das Hilfsprogramm. + + + + + Der check-Parameter ungleich null. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws argument null exception when parameter is null. + + + + Der check-Parameter ungleich null oder leer. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws ArgumentException when parameter is null. + + + + Enumeration für die Art des Zugriffs auf Datenzeilen in datengesteuerten Tests. + + + + + Zeilen werden in sequenzieller Reihenfolge zurückgegeben. + + + + + Zeilen werden in zufälliger Reihenfolge zurückgegeben. + + + + + Attribut zum Definieren von Inlinedaten für eine Testmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Das Datenobjekt. + + + + Initialisiert eine neue Instanz der -Klasse, die ein Array aus Argumenten akzeptiert. + + Ein Datenobjekt. + Weitere Daten. + + + + Ruft Daten für den Aufruf der Testmethode ab. + + + + + Ruft den Anzeigenamen in den Testergebnissen für die Anpassung ab. + + + + + Die nicht eindeutige Assert-Ausnahme. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Die InternalTestFailureException-Klasse. Wird zum Angeben eines internen Fehlers für einen Testfall verwendet. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ein Attribut, das angibt, dass eine Ausnahme des angegebenen Typs erwartet wird + + + + + Initialisiert eine neue Instanz der -Klasse mit dem erwarteten Typ + + Der Typ der erwarteten Ausnahme. + + + + Initialisiert eine neue Instanz der-Klasse mit + dem erwarteten Typ und der einzuschließenden Meldung, wenn vom Test keine Ausnahme ausgelöst wurde. + + Der Typ der erwarteten Ausnahme. + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft einen Wert ab, der den Typ der erwarteten Ausnahme angibt. + + + + + Ruft einen Wert ab, der angibt, ob es zulässig ist, dass vom Typ der erwarteten Ausnahme abgeleitete Typen + als erwartet qualifiziert werden. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Überprüft, ob der Typ der vom Komponententest ausgelösten Ausnahme erwartet wird. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Basisklasse für Attribute, die angeben, dass eine Ausnahme aus einem Komponententest erwartet wird. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer standardmäßigen "no-exception"-Meldung. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer 2no-exception"-Meldung + + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, + weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die standardmäßige Nichtausnahmemeldung ab. + + Der Typname des ExpectedException-Attributs. + Die standardmäßige Nichtausnahmemeldung. + + + + Ermittelt, ob die Annahme erwartet ist. Wenn die Methode zurückkehrt, wird davon ausgegangen, + dass die Annahme erwartet war. Wenn die Methode eine Ausnahme auslöst, + wird davon ausgegangen, dass die Ausnahme nicht erwartet war, und die Meldung + der ausgelösten Ausnahme wird in das Testergebnis eingeschlossen. Die -Klasse wird aus Gründen der + Zweckmäßigkeit bereitgestellt. Wenn verwendet wird und ein Fehler der Assertion auftritt, + wird das Testergebnis auf Inconclusive festgelegt. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Löst die Ausnahme erneut aus, wenn es sich um eine AssertFailedException oder eine AssertInconclusiveException handelt. + + Die Ausnahme, die erneut ausgelöst werden soll, wenn es sich um eine Assertionausnahme handelt. + + + + Diese Klasse unterstützt Benutzer beim Ausführen von Komponententests für Typen, die generische Typen verwenden. + GenericParameterHelper erfüllt einige allgemeine generische Typeinschränkungen, + beispielsweise: + 1. öffentlicher Standardkonstruktor + 2. implementiert allgemeine Schnittstellen: IComparable, IEnumerable + + + + + Initialisiert eine neue Instanz der -Klasse, die + die Einschränkung "newable" in C#-Generika erfüllt. + + + This constructor initializes the Data property to a random value. + + + + + Initialisiert eine neue Instanz der-Klasse, die + die Data-Eigenschaft mit einem vom Benutzer bereitgestellten Wert initialisiert. + + Ein Integerwert + + + + Ruft die Daten ab oder legt sie fest. + + + + + Führt den Wertvergleich für zwei GenericParameterHelper-Objekte aus. + + Das Objekt, mit dem der Vergleich ausgeführt werden soll. + TRUE, wenn das Objekt den gleichen Wert wie "dieses" GenericParameterHelper-Objekt aufweist. + Andernfalls FALSE. + + + + Gibt einen Hashcode für diese Objekt zurück. + + Der Hash. + + + + Vergleicht die Daten der beiden -Objekte. + + Das Objekt, mit dem verglichen werden soll. + + Eine signierte Zahl, die die relativen Werte dieser Instanz und dieses Werts angibt. + + + Thrown when the object passed in is not an instance of . + + + + + Gibt ein IEnumerator-Objekt zurück, dessen Länge aus + der Data-Eigenschaft abgeleitet ist. + + Das IEnumerator-Objekt + + + + Gibt ein GenericParameterHelper-Objekt zurück, das gleich + dem aktuellen Objekt ist. + + Das geklonte Objekt. + + + + Ermöglicht Benutzern das Protokollieren/Schreiben von Ablaufverfolgungen aus Komponententests für die Diagnose. + + + + + Handler für LogMessage. + + Die zu protokollierende Meldung. + + + + Zu überwachendes Ereignis. Wird ausgelöst, wenn der Komponententestwriter eine Meldung schreibt. + Wird hauptsächlich von Adaptern verwendet. + + + + + Vom Testwriter aufzurufende API zum Protokollieren von Meldungen. + + Das Zeichenfolgenformat mit Platzhaltern. + Parameter für Platzhalter. + + + + Das TestCategory-Attribut. Wird zum Angeben der Kategorie eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse und wendet die Kategorie auf den Test an. + + + Die test-Kategorie. + + + + + Ruft die Testkategorien ab, die auf den Test angewendet wurden. + + + + + Die Basisklasse für das Category-Attribut. + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialisiert eine neue Instanz der -Klasse. + Wendet die Kategorie auf den Test an. Die von TestCategories + zurückgegebenen Zeichenfolgen werden mit dem Befehl "/category" zum Filtern von Tests verwendet. + + + + + Ruft die Testkategorie ab, die auf den Test angewendet wurde. + + + + + Die AssertFailedException-Klasse. Wird zum Angeben eines Fehlers für einen Testfall verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen in + Komponententests. Wenn die getestete Bedingung nicht erfüllt wird, wird eine Ausnahme + ausgelöst. + + + + + Ruft die Singleton-Instanz der Assert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is true. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null. + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Löst eine AssertFailedException aus. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Statische equals-Überladungen werden zum Vergleichen von Instanzen zweier Typen für + Verweisgleichheit verwendet. Diese Methode sollte nicht zum Vergleichen von zwei Instanzen auf + Gleichheit verwendet werden. Dieses Objekt löst immer einen Assert.Fail aus. Verwenden Sie + Assert.AreEqual und zugehörige Überladungen in Ihren Komponententests. + + Objekt A + Objekt B + Immer FALSE. + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Ersetzt Nullzeichen ("\0") durch "\\0". + + + Die Zeichenfolge, nach der gesucht werden soll. + + + Die konvertierte Zeichenfolge, in der Nullzeichen durch "\\0" ersetzt wurden. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Eine Hilfsfunktion, die eine AssertionFailedException erstellt und auslöst. + + + Der Name der Assertion, die eine Ausnahme auslöst. + + + Eine Meldung, die Bedingungen für den Assertionfehler beschreibt. + + + Die Parameter. + + + + + Überprüft den Parameter auf gültige Bedingungen. + + + Der Parameter. + + + Der Name der Assertion. + + + Parametername + + + Meldung für die ungültige Parameterausnahme. + + + Die Parameter. + + + + + Konvertiert ein Objekt sicher in eine Zeichenfolge und verarbeitet dabei NULL-Werte und Nullzeichen. + NULL-Werte werden in "(null)" konvertiert. Nullzeichen werden in "\\0" konvertiert". + + + Das Objekt, das in eine Zeichenfolge konvertiert werden soll. + + + Die konvertierte Zeichenfolge. + + + + + Die Zeichenfolgenassertion. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if matches . + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen, die + Sammlungen in Komponententests zugeordnet sind. Wenn die getestete Bedingung nicht + erfüllt wird, wird eine Ausnahme ausgelöst. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if every element in is also found in + . + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Ermittelt, ob die erste Sammlung eine Teilmenge der zweiten + Sammlung ist. Wenn eine der Mengen Elementduplikate enthält, muss die Anzahl + der Vorkommen des Elements in der Teilmenge kleiner oder + gleich der Anzahl der Vorkommen in der Obermenge sein. + + + Die Sammlung, von der der Test erwartet, dass sie enthalten ist in . + + + Die Sammlung, von der der Test erwartet, dass sie Folgendes enthält: . + + + TRUE, wenn: eine Teilmenge ist von + , andernfalls FALSE. + + + + + Generiert ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + Die zu verarbeitende Sammlung. + + + Die Anzahl der Nullelemente in der Sammlung. + + + Ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + + + Findet ein nicht übereinstimmendes Element in den beiden Sammlungen. Ein nicht übereinstimmendes + Element ist ein Element, für das sich die Anzahl der Vorkommen in der + erwarteten Sammlung von der Anzahl der Vorkommen in der tatsächlichen Sammlung unterscheidet. Von den + Sammlungen wird angenommen, dass unterschiedliche Verweise ungleich null mit der + gleichen Anzahl von Elementen vorhanden sind. Der Aufrufer ist für diese Ebene + der Überprüfung verantwortlich. Wenn kein nicht übereinstimmendes Element vorhanden ist, gibt die Funktion FALSE + zurück, und die out-Parameter sollten nicht verwendet werden. + + + Die erste zu vergleichende Sammlung. + + + Die zweite zu vergleichende Sammlung. + + + Die erwartete Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Die tatsächliche Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Das nicht übereinstimmende Element (kann NULL sein) oder NULL, wenn kein nicht + übereinstimmendes Element vorhanden ist. + + + TRUE, wenn ein nicht übereinstimmendes Element gefunden wurde, andernfalls FALSE. + + + + + vergleicht die Objekte mithilfe von object.Equals + + + + + Basisklasse für Frameworkausnahmen. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Eine stark typisierte Ressourcenklasse zum Suchen nach lokalisierten Zeichenfolgen usw. + + + + + Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + + + + + Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + Ressourcensuchen mithilfe dieser stark typisierten Ressourcenklasse. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zugriffszeichenfolge weist ungültige Syntax auf." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartete Sammlung enthält {1} Vorkommen von <{2}>. Die tatsächliche Sammlung enthält {3} Vorkommen. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Elementduplikat gefunden: <{1}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Groß-/Kleinschreibung unterscheidet sich für den tatsächlichen Wert: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz nicht größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1} ({2})>. Tatsächlich: <{3} ({4})>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beliebiger Wert erwartet, ausgenommen: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Übergeben Sie keine Werttypen an AreSame(). In Object konvertierte Werte sind nie gleich. Verwenden Sie ggf. AreEqual(). {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Fehler von {0}. {1}" nach. + + + + + Sucht nach einer lokalisierten Zeichenfolge ähnlich der folgenden: "async TestMethod" wird mit UITestMethodAttribute nicht unterstützt. Entfernen Sie "async", oder verwenden Sie TestMethodAttribute. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen sind leer. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungsverweise zeigen auf das gleiche Sammlungsobjekt. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0}({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(null)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(object)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' enthält nicht Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} ({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Assert.Equals sollte für Assertionen nicht verwendet werden. Verwenden Sie stattdessen Assert.AreEqual & Überladungen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Anzahl der Elemente in den Sammlungen stimmt nicht überein. Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {0} stimmt nicht überein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} weist nicht den erwarteten Typ auf. Erwarteter Typ: <{2}>. Tatsächlicher Typ: <{3}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} ist (null). Erwarteter Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' endet nicht mit Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ungültiges Argument: EqualsTester darf keine NULL-Werte verwenden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Objekt vom Typ {0} kann nicht in {1} konvertiert werden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Das referenzierte interne Objekt ist nicht mehr gültig." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Eigenschaft {0} weist den Typ {1} auf. Erwartet wurde der Typ {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} Erwarteter Typ: <{1}>. Tatsächlicher Typ: <{2}>." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt nicht mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Falscher Typ: <{1}>. Tatsächlicher Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Kein DataRowAttribute angegeben. Mindestens ein DataRowAttribute ist mit DataTestMethodAttribute erforderlich." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Keine Ausnahme ausgelöst. {1}-Ausnahme wurde erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. Der Wert darf nicht NULL sein. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Unterschiedliche Anzahl von Elementen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der Konstruktor mit der angegebenen Signatur wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der angegebene Member ({0}) wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Zeichenfolge '{0}' beginnt nicht mit der Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der erwartete Ausnahmetyp muss System.Exception oder ein von System.Exception abgeleiteter Typ sein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(Fehler beim Abrufen der Meldung vom Typ {0} aufgrund einer Ausnahme.)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat erwartete Ausnahme {0} nicht ausgelöst. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Testmethode hat keine Ausnahme ausgelöst. Vom Attribut {0}, das für die Testmethode definiert ist, wurde eine Ausnahme erwartet." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} oder ein davon abgeleiteter Typ wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ausnahme {2} wurde ausgelöst, aber Ausnahme {1} wurde erwartet. {0} + Ausnahmemeldung: {3} + Stapelüberwachung: {4}" nach. + + + + + Ergebnisse des Komponententests + + + + + Der Test wurde ausgeführt, aber es gab Probleme. + Möglicherweise liegen Ausnahmen oder Assertionsfehler vor. + + + + + Der Test wurde abgeschlossen, es lässt sich aber nicht sagen, ob er bestanden wurde oder fehlerhaft war. + Kann für abgebrochene Tests verwendet werden. + + + + + Der Test wurde ohne Probleme ausgeführt. + + + + + Der Test wird zurzeit ausgeführt. + + + + + Systemfehler beim Versuch, einen Test auszuführen. + + + + + Timeout des Tests. + + + + + Der Test wurde vom Benutzer abgebrochen. + + + + + Der Test weist einen unbekannten Zustand auf. + + + + + Stellt Hilfsfunktionen für das Komponententestframework bereit. + + + + + Ruft die Ausnahmemeldungen (einschließlich der Meldungen für alle inneren Ausnahmen) + rekursiv ab. + + Ausnahme, für die Meldungen abgerufen werden sollen + Zeichenfolge mit Fehlermeldungsinformationen + + + + Enumeration für Timeouts, die mit der -Klasse verwendet werden kann. + Der Typ der Enumeration muss entsprechen: + + + + + Unendlich. + + + + + Das Testklassenattribut. + + + + + Erhält ein Testmethodenattribut, das die Ausführung des Tests ermöglicht. + + Die für diese Methode definierte Attributinstanz der Testmethode. + Diezum Ausführen dieses Tests + Extensions can override this method to customize how all methods in a class are run. + + + + Das Testmethodenattribut. + + + + + Führt eine Testmethode aus. + + Die auszuführende Textmethode. + Ein Array aus TestResult-Objekten, die für die Ergebnisses des Tests stehen. + Extensions can override this method to customize running a TestMethod. + + + + Das Testinitialisierungsattribut. + + + + + Das Testbereinigungsattribut. + + + + + Das Ignorierattribut. + + + + + Das Testeigenschaftattribut. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Der Name. + + + Der Wert. + + + + + Ruft den Namen ab. + + + + + Ruft den Wert ab. + + + + + Das Klasseninitialisierungsattribut. + + + + + Das Klassenbereinigungsattribut. + + + + + Das Assemblyinitialisierungsattribut. + + + + + Das Assemblybereinigungsattribut. + + + + + Der Testbesitzer. + + + + + Initialisiert eine neue Instanz der-Klasse. + + + Der Besitzer. + + + + + Ruft den Besitzer ab. + + + + + Prioritätsattribut. Wird zum Angeben der Priorität eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Die Priorität. + + + + + Ruft die Priorität ab. + + + + + Die Beschreibung des Tests. + + + + + Initialisiert eine neue Instanz der -Klasse zum Beschreiben eines Tests. + + Die Beschreibung. + + + + Ruft die Beschreibung eines Tests ab. + + + + + Der URI der CSS-Projektstruktur. + + + + + Initialisiert eine neue Instanz der -Klasse der CSS Projektstruktur-URI. + + Der CSS-Projektstruktur-URI. + + + + Ruft den CSS-Projektstruktur-URI ab. + + + + + Der URI der CSS-Iteration. + + + + + Initialisiert eine neue Instanz der-Klasse für den CSS Iterations-URI. + + Der CSS-Iterations-URI. + + + + Ruft den CSS-Iterations-URI ab. + + + + + WorkItem-Attribut. Wird zum Angeben eines Arbeitselements verwendet, das diesem Test zugeordnet ist. + + + + + Initialisiert eine neue Instanz der-Klasse für das WorkItem-Attribut. + + Die ID eines Arbeitselements. + + + + Ruft die ID für ein zugeordnetes Arbeitselement ab. + + + + + Timeoutattribut. Wird zum Angeben des Timeouts eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Das Timeout. + + + + + Initialisiert eine neue Instanz der -Klasse mit einem voreingestellten Timeout. + + + Das Timeout. + + + + + Ruft das Timeout ab. + + + + + Das TestResult-Objekt, das an den Adapter zurückgegeben werden soll. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ruft den Anzeigenamen des Ergebnisses ab oder legt ihn fest. Hilfreich, wenn mehrere Ergebnisse zurückgegeben werden. + Wenn NULL, wird der Methodenname als DisplayName verwendet. + + + + + Ruft das Ergebnis der Testausführung ab oder legt es fest. + + + + + Ruft die Ausnahme ab, die bei einem Testfehler ausgelöst wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Debugablaufverfolgungen nach Testcode fest oder legt sie fest. + + + + + Gets or sets the debug traces by test code. + + + + + Ruft die Dauer der Testausführung ab oder legt sie fest. + + + + + Ruft den Datenzeilenindex in der Datenquelle ab, oder legt ihn fest. Nur festgelegt für Ergebnisse einer individuellen + Ausführung einer Datenzeile eines datengesteuerten Tests. + + + + + Ruft den Rückgabewert der Testmethode ab (zurzeit immer NULL). + + + + + Ruft die vom Test angehängten Ergebnisdateien ab, oder legt sie fest. + + + + + Gibt die Verbindungszeichenfolge, den Tabellennamen und die Zeilenzugriffsmethode für datengesteuerte Tests an. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Der Standardanbietername für DataSource. + + + + + Die standardmäßige Datenzugriffsmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter, einer Verbindungszeichenfolge, einer Datentabelle und einer Datenzugriffsmethode für den Zugriff auf die Daten initialisiert. + + Invarianter Datenanbietername, z. B. "System.Data.SqlClient" + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + Gibt die Reihenfolge für den Datenzugriff an. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einer Verbindungszeichenfolge und einem Tabellennamen initialisiert. + Geben Sie eine Verbindungszeichenfolge und Datentabelle an, um auf die OLEDB-Datenquelle zuzugreifen. + + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter und einer Verbindungszeichenfolge mit dem Namen der Einstellung initialisiert. + + Der Name einer Datenquelle, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + Ruft einen Wert ab, der den Datenanbieter der Datenquelle darstellt. + + + Der Name des Datenanbieters. Wenn kein Datenanbieter während der Objektinitialisierung festgelegt wurde, wird der Standardanbieter "System.Data.OleDb" zurückgegeben. + + + + + Ruft einen Wert ab, der die Verbindungszeichenfolge für die Datenquelle darstellt. + + + + + Ruft einen Wert ab, der den Tabellennamen angibt, der Daten bereitstellt. + + + + + Ruft die Methode ab, die für den Zugriff auf die Datenquelle verwendet wird. + + + + Einer der-Werte. Wenn das nicht initialisiert wurde, wird der Standardwert zurückgegeben. . + + + + + Ruft den Namen einer Datenquelle ab, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + + Ein Attribut für datengesteuerte Tests, in denen Daten inline angegeben werden können. + + + + + Ermittelt alle Datenzeilen und beginnt mit der Ausführung. + + + Die test-Methode. + + + Ein Array aus . + + + + + Führt die datengesteuerte Testmethode aus. + + Die auszuführende Testmethode. + Die Datenzeile. + Ergebnisse der Ausführung. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..47b3d8ca6 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Se usa para especificar el elemento (archivo o directorio) para la implementación por prueba. + Puede especificarse en la clase de prueba o en el método de prueba. + Puede tener varias instancias del atributo para especificar más de un elemento. + La ruta de acceso del elemento puede ser absoluta o relativa. Si es relativa, lo es respecto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicializa una nueva instancia de la clase . + + Archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + + + + Inicializa una nueva instancia de la clase . + + Ruta de acceso relativa o absoluta al archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + Ruta de acceso del directorio en el que se van a copiar los elementos. Puede ser absoluta o relativa respecto al directorio de implementación. Todos los archivos y directorios que identifica se copiarán en este directorio. + + + + Obtiene la ruta de acceso al archivo o carpeta de origen que se debe copiar. + + + + + Obtiene la ruta de acceso al directorio donde se copia el elemento. + + + + + Clase TestContext. Esta clase debe ser totalmente abstracta y no contener ningún + miembro. El adaptador implementará los miembros. Los usuarios del marco solo deben + tener acceso a esta clase a través de una interfaz bien definida. + + + + + Obtiene las propiedades de una prueba. + + + + + Obtiene el nombre completo de la clase que contiene el método de prueba que se está ejecutando. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtiene el nombre del método de prueba que se está ejecutando. + + + + + Obtiene el resultado de la prueba actual. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..5b05af931 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4199 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atributo TestMethod para la ejecución. + + + + + Obtiene el nombre del método de prueba. + + + + + Obtiene el nombre de la clase de prueba. + + + + + Obtiene el tipo de valor devuelto del método de prueba. + + + + + Obtiene los parámetros del método de prueba. + + + + + Obtiene el valor de methodInfo para el método de prueba. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca el método de prueba. + + + Argumentos que se pasan al método de prueba (por ejemplo, controlada por datos) + + + Resultado de la invocación del método de prueba. + + + This call handles asynchronous test methods as well. + + + + + Obtiene todos los atributos del método de prueba. + + + Indica si el atributo definido en la clase primaria es válido. + + + Todos los atributos. + + + + + Obtiene un atributo de un tipo específico. + + System.Attribute type. + + Indica si el atributo definido en la clase primaria es válido. + + + Atributos del tipo especificado. + + + + + Elemento auxiliar. + + + + + Parámetro de comprobación no NULL. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws argument null exception when parameter is null. + + + + Parámetro de comprobación no NULL o vacío. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws ArgumentException when parameter is null. + + + + Enumeración de cómo se accede a las filas de datos en las pruebas controladas por datos. + + + + + Las filas se devuelven en orden secuencial. + + + + + Las filas se devuelven en orden aleatorio. + + + + + Atributo para definir los datos insertados de un método de prueba. + + + + + Inicializa una nueva instancia de la clase . + + Objeto de datos. + + + + Inicializa una nueva instancia de la clase , que toma una matriz de argumentos. + + Objeto de datos. + Más datos. + + + + Obtiene datos para llamar al método de prueba. + + + + + Obtiene o establece el nombre para mostrar en los resultados de pruebas para personalizarlo. + + + + + Excepción de aserción no concluyente. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Clase InternalTestFailureException. Se usa para indicar un error interno de un caso de prueba. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + + + + Inicializa una nueva instancia de la clase . + + + + + Atributo que indica que debe esperarse una excepción del tipo especificado. + + + + + Inicializa una nueva instancia de la clase con el tipo esperado. + + Tipo de la excepción esperada + + + + Inicializa una nueva instancia de la clase + con el tipo esperado y el mensaje para incluir cuando la prueba no produce una excepción. + + Tipo de la excepción esperada + + Mensaje que se incluye en el resultado de la prueba si esta no se supera debido a que no se inicia una excepción + + + + + Obtiene un valor que indica el tipo de la excepción esperada. + + + + + Obtiene o establece un valor que indica si se permite que los tipos derivados del tipo de la excepción esperada + se consideren también como esperados. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Comprueba que el tipo de la excepción producida por la prueba unitaria es el esperado. + + Excepción que inicia la prueba unitaria + + + + Clase base para atributos que especifican que se espere una excepción de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción predeterminado. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción. + + + Mensaje para incluir en el resultado de la prueba si esta no se supera debido a que no se inicia una + excepción + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje de ausencia de excepción predeterminado. + + Nombre del tipo de atributo ExpectedException + Mensaje de ausencia de excepción predeterminado + + + + Determina si se espera la excepción. Si el método devuelve un valor, se entiende + que se esperaba la excepción. Si el método produce una excepción, + se entiende que no se esperaba la excepción y se incluye el mensaje + de la misma en el resultado de la prueba. Se puede usar para mayor + comodidad. Si se utiliza y la aserción no funciona, + el resultado de la prueba se establece como No concluyente. + + Excepción que inicia la prueba unitaria + + + + Produce de nuevo la excepción si es de tipo AssertFailedException o AssertInconclusiveException. + + La excepción que se va a reiniciar si es una excepción de aserción + + + + Esta clase está diseñada para ayudar al usuario a realizar pruebas unitarias para tipos con tipos genéricos. + GenericParameterHelper satisface algunas de las restricciones de tipo genérico comunes, + como: + 1. Constructor predeterminado público. + 2. Implementa una interfaz común: IComparable, IEnumerable. + + + + + Inicializa una nueva instancia de la clase que + satisface la restricción "renovable" en genéricos de C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa una nueva instancia de la clase que + inicializa la propiedad Data con un valor proporcionado por el usuario. + + Cualquier valor entero + + + + Obtiene o establece los datos. + + + + + Compara el valor de dos objetos GenericParameterHelper. + + objeto con el que hacer la comparación + Es true si el objeto tiene el mismo valor que el objeto GenericParameterHelper "this". + De lo contrario, false. + + + + Devuelve un código hash para este objeto. + + El código hash. + + + + Compara los datos de los dos objetos . + + Objeto con el que se va a comparar. + + Número con signo que indica los valores relativos de esta instancia y valor. + + + Thrown when the object passed in is not an instance of . + + + + + Devuelve un objeto IEnumerator cuya longitud se deriva de + la propiedad Data. + + El objeto IEnumerator + + + + Devuelve un objeto GenericParameterHelper que es igual al + objeto actual. + + El objeto clonado. + + + + Permite a los usuarios registrar o escribir el seguimiento de las pruebas unitarias con fines de diagnóstico. + + + + + Controlador para LogMessage. + + Mensaje para registrar. + + + + Evento que se debe escuchar. Se genera cuando el autor de las pruebas unitarias escribe algún mensaje. + Lo consume principalmente el adaptador. + + + + + API del escritor de la prueba para llamar a los mensajes de registro. + + Formato de cadena con marcadores de posición. + Parámetros para los marcadores de posición. + + + + Atributo TestCategory. Se usa para especificar la categoría de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase y le aplica la categoría a la prueba. + + + Categoría de prueba. + + + + + Obtiene las categorías que se le han aplicado a la prueba. + + + + + Clase base del atributo "Category". + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa una nueva instancia de la clase . + Aplica la categoría a la prueba. Las cadenas que devuelve TestCategories + se usan con el comando /category para filtrar las pruebas. + + + + + Obtiene la categoría que se le ha aplicado a la prueba. + + + + + Clase AssertFailedException. Se usa para indicar el error de un caso de prueba. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Colección de clases auxiliares para probar varias condiciones en las + pruebas unitarias. Si la condición que se está probando no se cumple, se produce + una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad de Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is false. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is true. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null. + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is not equal to . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Produce una excepción AssertFailedException. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Las sobrecargas de igualdad estáticas se usan para comparar la igualdad de referencia de + instancias de dos tipos. Este método no debe usarse para comparar la igualdad de dos instancias. + Este objeto se devolverá siempre con Assert.Fail. Utilice + Assert.AreEqual y las sobrecargas asociadas en pruebas unitarias. + + Objeto A + Objeto B + False, siempre. + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Reemplaza los caracteres NULL "\0" por "\\0". + + + Cadena para buscar. + + + La cadena convertida con los caracteres NULL reemplazados por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Función auxiliar que produce una excepción AssertionFailedException. + + + nombre de la aserción que inicia una excepción + + + mensaje que describe las condiciones del error de aserción + + + Los parámetros. + + + + + Comprueba el parámetro para las condiciones válidas. + + + El parámetro. + + + Nombre de la aserción. + + + nombre de parámetro + + + mensaje de la excepción de parámetro no válido + + + Los parámetros. + + + + + Convierte un objeto en cadena de forma segura, con control de los valores y caracteres NULL. + Los valores NULL se convierten en "NULL". Los caracteres NULL se convierten en "\\0". + + + Objeto que se va a convertir en cadena. + + + La cadena convertida. + + + + + Aserción de cadena. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if matches . + + + + + Colección de clases auxiliares para probar varias condiciones asociadas + a las colecciones en las pruebas unitarias. Si la condición que se está probando no se + cumple, se produce una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is found in + . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a null element is found in . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if every element in is also found in + . + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Determina si la primera colección es un subconjunto de la + segunda. Si cualquiera de los conjuntos contiene elementos duplicados, el número + de repeticiones del elemento en el subconjunto debe ser inferior o + igual al número de repeticiones en el superconjunto. + + + Colección que la prueba espera que esté incluida en . + + + Colección que la prueba espera que contenga . + + + True si es un subconjunto de + , de lo contrario false. + + + + + Construye un diccionario que contiene el número de repeticiones de cada + elemento en la colección especificada. + + + Colección que se va a procesar. + + + Número de elementos NULL de la colección. + + + Diccionario que contiene el número de repeticiones de cada elemento + en la colección especificada. + + + + + Encuentra un elemento no coincidente entre ambas colecciones. Un elemento + no coincidente es aquel que aparece un número distinto de veces en la + colección esperada de lo que aparece en la colección real. Se + supone que las colecciones son referencias no NULL diferentes con el + mismo número de elementos. El autor de la llamada es el responsable de + este nivel de comprobación. Si no hay ningún elemento no coincidente, + la función devuelve false y no deben usarse parámetros out. + + + La primera colección para comparar. + + + La segunda colección para comparar. + + + Número esperado de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El número real de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El elemento no coincidente (puede ser nulo) o NULL si no hay ningún + elemento no coincidente. + + + Es true si se encontró un elemento no coincidente. De lo contrario, false. + + + + + compara los objetos con object.Equals. + + + + + Clase base para las excepciones de marco. + + + + + Inicializa una nueva instancia de la clase . + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Clase de recurso fuertemente tipado para buscar cadenas traducidas, etc. + + + + + Devuelve la instancia de ResourceManager almacenada en caché que usa esta clase. + + + + + Invalida la propiedad CurrentUICulture del subproceso actual para todas + las búsquedas de recursos que usan esta clase de recursos fuertemente tipados. + + + + + Busca una cadena traducida similar a "La cadena de acceso tiene una sintaxis no válida". + + + + + Busca una cadena traducida similar a "La colección esperada contiene {1} repeticiones de <{2}>. La colección actual contiene {3} repeticiones. {0}". + + + + + Busca una cadena traducida similar a "Se encontró un elemento duplicado: <{1}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>. El caso es distinto para el valor real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia no superior a <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1} ({2})>, pero es: <{3} ({4})>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia mayor que <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba cualquier valor excepto: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "No pase tipos de valor a AreSame(). Los valores convertidos a Object no serán nunca iguales. Considere el uso de AreEqual(). {0}". + + + + + Busca una cadena traducida similar a "Error de {0}. {1}". + + + + + Busca una cadena traducida similar a "No se admite un método de prueba asincrónico con UITestMethodAttribute. Quite el método asincrónico o use TestMethodAttribute. + + + + + Busca una cadena traducida similar a "Ambas colecciones están vacías". {0}. + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos". + + + + + Busca una cadena traducida similar a "Las referencias de ambas colecciones apuntan al mismo objeto de colección. {0}". + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos. {0}". + + + + + Busca una cadena traducida similar a "{0}({1})". + + + + + Busca una cadena traducida similar a "(NULL)". + + + + + Busca una cadena traducida similar a "(objeto)". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no contiene la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "{0} ({1})". + + + + + Busca una cadena traducida similar a "No se debe usar Assert.Equals para aserciones. Use Assert.AreEqual y Overloads en su lugar". + + + + + Busca una cadena traducida similar a "El número de elementos de las colecciones no coincide. Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {0} no coincide". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} no es del tipo esperado. Tipo esperado: <{2}>, tipo real: <{3}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} es (NULL). Se esperaba el tipo: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no termina con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "Argumento no válido: EqualsTester no puede utilizar valores NULL". + + + + + Busca una cadena traducida similar a "El objeto de tipo {0} no se puede convertir en {1}". + + + + + Busca una cadena traducida similar a "El objeto interno al que se hace referencia ya no es válido". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. {1}". + + + + + Busca una cadena traducida similar a "La propiedad {0} tiene el tipo {1}; se esperaba el tipo {2}". + + + + + Busca una cadena traducida similar a "{0} Tipo esperado: <{1}>. Tipo real: <{2}>". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "Tipo incorrecto: <{1}>. Tipo real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "No se especificó ningún atributo DataRowAttribute. Se requiere al menos un elemento DataRowAttribute con DataTestMethodAttribute". + + + + + Busca una cadena traducida similar a "No se produjo ninguna excepción. Se esperaba la excepción {1}. {0}". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. El valor no puede ser NULL. {1}". + + + + + Busca una cadena traducida similar a "Número diferente de elementos". + + + + + Busca una cadena traducida similar a + "No se encontró el constructor con la signatura especificada. Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a + "No se encontró el miembro especificado ({0}). Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no empieza con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "El tipo de excepción esperado debe ser System.Exception o un tipo derivado de System.Exception". + + + + + Busca una cadena traducida similar a "No se pudo obtener el mensaje para una excepción del tipo {0} debido a una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba no inició la excepción esperada {0}. {1}". + + + + + Busca una cadena traducida similar a "El método de prueba no inició una excepción. El atributo {0} definido en el método de prueba esperaba una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1}. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1} o un tipo derivado de ella. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "Se produjo la excepción {2}, pero se esperaba la excepción {1}. {0} + Mensaje de excepción: {3} + Seguimiento de la pila: {4}". + + + + + Resultados de la prueba unitaria. + + + + + La prueba se ejecutó, pero hubo problemas. + Entre estos, puede haber excepciones o aserciones con errores. + + + + + La prueba se completó, pero no podemos determinar si el resultado fue correcto o no. + Se puede usar para pruebas anuladas. + + + + + La prueba se ejecutó sin problemas. + + + + + La prueba se está ejecutando. + + + + + Error del sistema al intentar ejecutar una prueba. + + + + + Se agotó el tiempo de espera de la prueba. + + + + + El usuario anuló la prueba. + + + + + La prueba tiene un estado desconocido + + + + + Proporciona funcionalidad auxiliar para el marco de pruebas unitarias. + + + + + Obtiene los mensajes de excepción, incluidos los mensajes de todas las excepciones internas, + de forma recursiva. + + Excepción para la que se obtienen los mensajes + la cadena con información del mensaje de error + + + + Enumeración para cuando se agota el tiempo de espera que se puede usar con el atributo . + El tipo de la enumeración debe coincidir. + + + + + Infinito. + + + + + Atributo de la clase de prueba. + + + + + Obtiene un atributo de método de prueba que habilita la ejecución de esta prueba. + + La instancia de atributo de método de prueba definida en este método. + Tipo que se utilizará para ejecutar esta prueba. + Extensions can override this method to customize how all methods in a class are run. + + + + Atributo del método de prueba. + + + + + Ejecuta un método de prueba. + + El método de prueba para ejecutar. + Una matriz de objetos de TestResult que representan los resultados de la prueba. + Extensions can override this method to customize running a TestMethod. + + + + Atributo para inicializar la prueba. + + + + + Atributo de limpieza de la prueba. + + + + + Atributo de omisión. + + + + + Atributo de propiedad de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El nombre. + + + El valor. + + + + + Obtiene el nombre. + + + + + Obtiene el valor. + + + + + Atributo de inicialización de la clase. + + + + + Atributo de limpieza de la clase. + + + + + Atributo de inicialización del ensamblado. + + + + + Atributo de limpieza del ensamblado. + + + + + Propietario de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El propietario. + + + + + Obtiene el propietario. + + + + + Atributo de prioridad. Se usa para especificar la prioridad de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + La prioridad. + + + + + Obtiene la prioridad. + + + + + Descripción de la prueba. + + + + + Inicializa una nueva instancia de la clase para describir una prueba. + + La descripción. + + + + Obtiene la descripción de una prueba. + + + + + URI de estructura de proyectos de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de estructura de proyecto de CSS. + + URI de estructura de proyectos de CSS. + + + + Obtiene el URI de estructura de proyectos de CSS. + + + + + URI de iteración de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de iteración de CSS. + + URI de iteración de CSS. + + + + Obtiene el URI de iteración de CSS. + + + + + Atributo WorkItem. Se usa para especificar un elemento de trabajo asociado a esta prueba. + + + + + Inicializa una nueva instancia de la clase para el atributo WorkItem. + + Identificador de un elemento de trabajo. + + + + Obtiene el identificador de un elemento de trabajo asociado. + + + + + Atributo de tiempo de espera. Se usa para especificar el tiempo de espera de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + Tiempo de espera. + + + + + Inicializa una nueva instancia de la clase con un tiempo de espera preestablecido. + + + Tiempo de espera + + + + + Obtiene el tiempo de espera. + + + + + Objeto TestResult que debe devolverse al adaptador. + + + + + Inicializa una nueva instancia de la clase . + + + + + Obtiene o establece el nombre para mostrar del resultado. Es útil cuando se devuelven varios resultados. + Si es NULL, se utiliza el nombre del método como nombre para mostrar. + + + + + Obtiene o establece el resultado de la ejecución de pruebas. + + + + + Obtiene o establece la excepción que se inicia cuando la prueba da error. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece el seguimiento de depuración que realiza el código de la prueba. + + + + + Gets or sets the debug traces by test code. + + + + + Obtiene o establece la duración de la ejecución de la prueba. + + + + + Obtiene o establece el índice de la fila de datos en el origen de datos. Se establece solo para resultados + de ejecuciones individuales de filas de datos de una prueba controlada por datos. + + + + + Obtiene o establece el valor devuelto del método de prueba. Actualmente es siempre NULL. + + + + + Obtiene o establece los archivos de resultados que adjunta la prueba. + + + + + Especifica la cadena de conexión, el nombre de tabla y el método de acceso a fila para las pruebas controladas por datos. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nombre de proveedor predeterminado del origen de datos. + + + + + Método de acceso a datos predeterminado. + + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos, una cadena de conexión, una tabla de datos y un método de acceso a datos para acceder al origen de datos. + + Nombre invariable del proveedor de datos, como System.Data.SqlClient + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + Especifica el orden de acceso a los datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con una cadena de conexión y un nombre de tabla. + Especifique la cadena de conexión y la tabla de datos para acceder al origen de datos OLEDB. + + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos y una cadena de conexión asociada al nombre del valor de configuración. + + El nombre de un origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + Obtiene un valor que representa el proveedor de datos del origen de datos. + + + Nombre del proveedor de datos. Si no se designó un proveedor de datos al inicializar el objeto, se devolverá el proveedor predeterminado de System.Data.OleDb. + + + + + Obtiene un valor que representa la cadena de conexión para el origen de datos. + + + + + Obtiene un valor que indica el nombre de la tabla que proporciona los datos. + + + + + Obtiene el método usado para tener acceso al origen de datos. + + + + Uno de los . Si no se ha inicializado, devolverá el valor predeterminado . + + + + + Obtiene el nombre del origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + + Atributo para una prueba controlada por datos donde los datos pueden especificarse insertados. + + + + + Busca todas las filas de datos y las ejecuta. + + + El método de prueba. + + + Una matriz de . + + + + + Ejecuta el método de prueba controlada por datos. + + Método de prueba para ejecutar. + Fila de datos. + Resultados de la ejecución. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..2c1d88abe --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Permet de spécifier l'élément de déploiement (fichier ou répertoire) pour un déploiement par test. + Peut être spécifié sur une classe de test ou une méthode de test. + Peut avoir plusieurs instances de l'attribut pour spécifier plusieurs éléments. + Le chemin de l'élément peut être absolu ou relatif. S'il est relatif, il l'est par rapport à RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Initialise une nouvelle instance de la classe . + + Fichier ou répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + + + + Initialise une nouvelle instance de la classe + + Chemin relatif ou absolu du fichier ou du répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + Chemin du répertoire dans lequel les éléments doivent être copiés. Il peut être absolu ou relatif au répertoire de déploiement. Tous les fichiers et répertoires identifiés par vont être copiés dans ce répertoire. + + + + Obtient le chemin du fichier ou dossier source à copier. + + + + + Obtient le chemin du répertoire dans lequel l'élément est copié. + + + + + Classe TestContext. Cette classe doit être complètement abstraite, et ne doit contenir aucun + membre. L'adaptateur va implémenter les membres. Les utilisateurs du framework ne doivent + y accéder que via une interface bien définie. + + + + + Obtient les propriétés de test d'un test. + + + + + Obtient le nom complet de la classe contenant la méthode de test en cours d'exécution + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtient le nom de la méthode de test en cours d'exécution + + + + + Obtient le résultat de test actuel. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2d63dc056 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod pour exécution. + + + + + Obtient le nom de la méthode de test. + + + + + Obtient le nom de la classe de test. + + + + + Obtient le type de retour de la méthode de test. + + + + + Obtient les paramètres de la méthode de test. + + + + + Obtient le methodInfo de la méthode de test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Appelle la méthode de test. + + + Arguments à passer à la méthode de test. (Exemple : pour un test piloté par les données) + + + Résultat de l'appel de la méthode de test. + + + This call handles asynchronous test methods as well. + + + + + Obtient tous les attributs de la méthode de test. + + + Indique si l'attribut défini dans la classe parente est valide. + + + Tous les attributs. + + + + + Obtient l'attribut du type spécifique. + + System.Attribute type. + + Indique si l'attribut défini dans la classe parente est valide. + + + Attributs du type spécifié. + + + + + Assistance. + + + + + Paramètre de vérification non null. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws argument null exception when parameter is null. + + + + Paramètre de vérification non null ou vide. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws ArgumentException when parameter is null. + + + + Énumération liée à la façon dont nous accédons aux lignes de données dans les tests pilotés par les données. + + + + + Les lignes sont retournées dans un ordre séquentiel. + + + + + Les lignes sont retournées dans un ordre aléatoire. + + + + + Attribut permettant de définir les données inline d'une méthode de test. + + + + + Initialise une nouvelle instance de la classe . + + Objet de données. + + + + Initialise une nouvelle instance de la classe qui accepte un tableau d'arguments. + + Objet de données. + Plus de données. + + + + Obtient les données permettant d'appeler la méthode de test. + + + + + Obtient ou définit le nom d'affichage dans les résultats des tests à des fins de personnalisation. + + + + + Exception d'assertion non concluante. + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Classe InternalTestFailureException. Sert à indiquer l'échec interne d'un cas de test + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + + + + Initialise une nouvelle instance de la classe . + + + + + Attribut indiquant d'attendre une exception du type spécifié + + + + + Initialise une nouvelle instance de la classe avec le type attendu + + Type de l'exception attendue + + + + Initialise une nouvelle instance de la classe avec + le type attendu et le message à inclure quand aucune exception n'est levée par le test. + + Type de l'exception attendue + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient une valeur indiquant le type de l'exception attendue + + + + + Obtient ou définit une valeur indiquant si les types dérivés du type de l'exception attendue peuvent + être éligibles comme prévu + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Vérifie que le type de l'exception levée par le test unitaire est bien attendu + + Exception levée par le test unitaire + + + + Classe de base des attributs qui spécifient d'attendre une exception d'un test unitaire + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception par défaut + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception + + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une + exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message d'absence d'exception par défaut + + Nom du type de l'attribut ExpectedException + Message d'absence d'exception par défaut + + + + Détermine si l'exception est attendue. Si la méthode est retournée, cela + signifie que l'exception est attendue. Si la méthode lève une exception, cela + signifie que l'exception n'est pas attendue, et que le message de l'exception levée + est inclus dans le résultat de test. La classe peut être utilisée par + commodité. Si est utilisé et si l'assertion est un échec, + le résultat de test a la valeur Non concluant. + + Exception levée par le test unitaire + + + + Lève à nouveau l'exception, s'il s'agit de AssertFailedException ou de AssertInconclusiveException + + Exception à lever de nouveau, s'il s'agit d'une exception d'assertion + + + + Cette classe permet à l'utilisateur d'effectuer des tests unitaires pour les types basés sur des types génériques. + GenericParameterHelper répond à certaines contraintes usuelles des types génériques, + exemple : + 1. constructeur par défaut public + 2. implémentation d'une interface commune : IComparable, IEnumerable + + + + + Initialise une nouvelle instance de la classe qui + répond à la contrainte 'newable' dans les génériques C#. + + + This constructor initializes the Data property to a random value. + + + + + Initialise une nouvelle instance de la classe qui + initialise la propriété Data en lui assignant une valeur fournie par l'utilisateur. + + Valeur entière + + + + Obtient ou définit les données + + + + + Compare la valeur de deux objets GenericParameterHelper + + objet à comparer + true si obj a la même valeur que l'objet GenericParameterHelper de 'this'. + sinon false. + + + + Retourne un code de hachage pour cet objet. + + Code de hachage. + + + + Compare les données des deux objets . + + Objet à comparer. + + Nombre signé indiquant les valeurs relatives de cette instance et de cette valeur. + + + Thrown when the object passed in is not an instance of . + + + + + Retourne un objet IEnumerator dont la longueur est dérivée de + la propriété Data. + + Objet IEnumerator + + + + Retourne un objet GenericParameterHelper égal à + l'objet actuel. + + Objet cloné. + + + + Permet aux utilisateurs de journaliser/d'écrire des traces de tests unitaires à des fins de diagnostic. + + + + + Gestionnaire de LogMessage. + + Message à journaliser. + + + + Événement à écouter. Déclenché quand le writer de test unitaire écrit un message. + Sert principalement à être consommé par un adaptateur. + + + + + API à appeler par le writer de test pour journaliser les messages. + + Format de chaîne avec des espaces réservés. + Paramètres des espaces réservés. + + + + Attribut TestCategory utilisé pour spécifier la catégorie d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe et applique la catégorie au test. + + + Catégorie de test. + + + + + Obtient les catégories de test appliquées au test. + + + + + Classe de base de l'attribut "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialise une nouvelle instance de la classe . + Applique la catégorie au test. Les chaînes retournées par TestCategories + sont utilisées avec la commande /category pour filtrer les tests + + + + + Obtient la catégorie de test appliquée au test. + + + + + Classe AssertFailedException. Sert à indiquer l'échec d'un cas de test + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Collection de classes d'assistance permettant de tester diverses conditions dans + des tests unitaires. Si la condition testée n'est pas remplie, une exception + est levée. + + + + + Obtient l'instance singleton de la fonctionnalité Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is true. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null. + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if refers to the same object + as . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is not equal to . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Lève AssertFailedException. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Les surcharges statiques d'equals comparent les instances de deux types pour déterminer si leurs références sont + égales entre elles. Cette méthode ne doit pas être utilisée pour évaluer si deux instances sont + égales entre elles. Cet objet est toujours levé avec Assert.Fail. Utilisez + Assert.AreEqual et les surcharges associées dans vos tests unitaires. + + Objet A + Objet B + False, toujours. + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Remplace les caractères Null ('\0') par "\\0". + + + Chaîne à rechercher. + + + Chaîne convertie où les caractères null sont remplacés par "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Fonction d'assistance qui crée et lève AssertionFailedException + + + nom de l'assertion levant une exception + + + message décrivant les conditions de l'échec d'assertion + + + Paramètres. + + + + + Vérifie la validité des conditions du paramètre + + + Paramètre. + + + Nom de l'assertion. + + + nom du paramètre + + + message d'exception liée à un paramètre non valide + + + Paramètres. + + + + + Convertit en toute sécurité un objet en chaîne, en gérant les valeurs null et les caractères Null. + Les valeurs null sont converties en "(null)". Les caractères Null sont convertis en "\\0". + + + Objet à convertir en chaîne. + + + Chaîne convertie. + + + + + Assertion de chaîne. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if matches . + + + + + Collection de classes d'assistance permettant de tester diverses conditions associées + à des collections dans les tests unitaires. Si la condition testée n'est pas + remplie, une exception est levée. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is found in + . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is not found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if every element in is also found in + . + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Détermine si la première collection est un sous-ensemble de la seconde + collection. Si l'un des deux ensembles contient des éléments dupliqués, le nombre + d'occurrences de l'élément dans le sous-ensemble doit être inférieur ou + égal au nombre d'occurrences dans le sur-ensemble. + + + Collection dans laquelle le test est censé être contenu . + + + Collection que le test est censé contenir . + + + True si est un sous-ensemble de + , sinon false. + + + + + Construit un dictionnaire contenant le nombre d'occurrences de chaque + élément dans la collection spécifiée. + + + Collection à traiter. + + + Nombre d'éléments de valeur null dans la collection. + + + Dictionnaire contenant le nombre d'occurrences de chaque élément + dans la collection spécifiée. + + + + + Recherche un élément incompatible parmi les deux collections. Un élément incompatible + est un élément qui n'apparaît pas avec la même fréquence dans la + collection attendue et dans la collection réelle. Les + collections sont supposées être des références non null distinctes ayant le + même nombre d'éléments. L'appelant est responsable de ce niveau de + vérification. S'il n'existe aucun élément incompatible, la fonction retourne + la valeur false et les paramètres out ne doivent pas être utilisés. + + + Première collection à comparer. + + + Seconde collection à comparer. + + + Nombre attendu d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Nombre réel d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Élément incompatible (pouvant avoir une valeur null), ou valeur null s'il n'existe aucun + élément incompatible. + + + true si un élément incompatible est trouvé ; sinon, false. + + + + + compare les objets via object.Equals + + + + + Classe de base pour les exceptions de framework. + + + + + Initialise une nouvelle instance de la classe . + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. + + + + + Retourne l'instance ResourceManager mise en cache utilisée par cette classe. + + + + + Remplace la propriété CurrentUICulture du thread actuel pour toutes + les recherches de ressources à l'aide de cette classe de ressource fortement typée. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne Access comporte une syntaxe non valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : La collection attendue contient {1} occurrence(s) de <{2}>. La collection réelle contient {3} occurrence(s). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Un élément dupliqué a été trouvé : <{1}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. La casse est différente pour la valeur réelle : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue non supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1} ({2})>. Réel : <{3} ({4})>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Toute valeur attendue sauf : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Ne passez pas de types valeur à AreSame(). Les valeurs converties en Object ne seront plus jamais les mêmes. Si possible, utilisez AreEqual(). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Échec de {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : async TestMethod utilisé avec UITestMethodAttribute n'est pas pris en charge. Supprimez async ou utilisez TestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections sont vides. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent des éléments identiques. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections Reference pointent vers le même objet Collection. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent les mêmes éléments. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0}({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : (null). + + + + + Recherche une chaîne localisée semblable à celle-ci : (objet). + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne contient pas la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} ({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : Assert.Equals ne doit pas être utilisé pour les assertions. Utilisez Assert.AreEqual et des surcharges à la place. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le nombre d'éléments dans les collections ne correspond pas. Attendu : <{1}>. Réel : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les éléments à l'index {0} ne correspondent pas. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} n'est pas du type attendu. Type attendu : <{2}>. Type réel : <{3}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} est (null). Type attendu : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne se termine pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Argument non valide - EqualsTester ne peut pas utiliser de valeurs null. + + + + + Recherche une chaîne localisée semblable à celle-ci : Impossible de convertir un objet de type {0} en {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'objet interne référencé n'est plus valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La propriété {0} a le type {1} ; type attendu {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} Type attendu : <{1}>. Type réel : <{2}>. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne correspond pas au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Type incorrect : <{1}>. Type réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' correspond au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucun DataRowAttribute spécifié. Au moins un DataRowAttribute est nécessaire avec DataTestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucune exception levée. Exception {1} attendue. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. La valeur ne peut pas être null. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Nombre d'éléments différent. + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le constructeur doté de la signature spécifiée est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le membre spécifié ({0}) est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne commence pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le type de l'exception attendue doit être System.Exception ou un type dérivé de System.Exception. + + + + + Recherche une chaîne localisée semblable à celle-ci : (Échec de la réception du message pour une exception de type {0} en raison d'une exception.). + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé l'exception attendue {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé d'exception. Une exception était attendue par l'attribut {0} défini sur la méthode de test. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} (ou un type dérivé de cette dernière) était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'exception {2} a été levée, mais l'exception {1} était attendue. {0} + Message d'exception : {3} + Arborescence des appels de procédure : {4}. + + + + + résultats du test unitaire + + + + + Le test a été exécuté mais des problèmes se sont produits. + Il peut s'agir de problèmes liés à des exceptions ou des échecs d'assertion. + + + + + Test effectué, mais nous ne pouvons pas dire s'il s'agit d'une réussite ou d'un échec. + Utilisable éventuellement pour les tests abandonnés. + + + + + Le test a été exécuté sans problème. + + + + + Le test est en cours d'exécution. + + + + + Une erreur système s'est produite pendant que nous tentions d'exécuter un test. + + + + + Délai d'expiration du test. + + + + + Test abandonné par l'utilisateur. + + + + + Le test est dans un état inconnu + + + + + Fournit une fonctionnalité d'assistance pour le framework de tests unitaires + + + + + Obtient les messages d'exception, notamment les messages de toutes les exceptions internes + de manière récursive + + Exception pour laquelle les messages sont obtenus + chaîne avec les informations du message d'erreur + + + + Énumération des délais d'expiration, qui peut être utilisée avec la classe . + Le type de l'énumération doit correspondre + + + + + Infini. + + + + + Attribut de la classe de test. + + + + + Obtient un attribut de méthode de test qui permet d'exécuter ce test. + + Instance d'attribut de méthode de test définie sur cette méthode. + Le à utiliser pour exécuter ce test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attribut de la méthode de test. + + + + + Exécute une méthode de test. + + Méthode de test à exécuter. + Tableau d'objets TestResult qui représentent le ou les résultats du test. + Extensions can override this method to customize running a TestMethod. + + + + Attribut d'initialisation du test. + + + + + Attribut de nettoyage du test. + + + + + Attribut ignore. + + + + + Attribut de la propriété de test. + + + + + Initialise une nouvelle instance de la classe . + + + Nom. + + + Valeur. + + + + + Obtient le nom. + + + + + Obtient la valeur. + + + + + Attribut d'initialisation de la classe. + + + + + Attribut de nettoyage de la classe. + + + + + Attribut d'initialisation de l'assembly. + + + + + Attribut de nettoyage de l'assembly. + + + + + Propriétaire du test + + + + + Initialise une nouvelle instance de la classe . + + + Propriétaire. + + + + + Obtient le propriétaire. + + + + + Attribut Priority utilisé pour spécifier la priorité d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Priorité. + + + + + Obtient la priorité. + + + + + Description du test + + + + + Initialise une nouvelle instance de la classe pour décrire un test. + + Description. + + + + Obtient la description d'un test. + + + + + URI de structure de projet CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI de structure de projet CSS. + + URI de structure de projet CSS. + + + + Obtient l'URI de structure de projet CSS. + + + + + URI d'itération CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI d'itération CSS. + + URI d'itération CSS. + + + + Obtient l'URI d'itération CSS. + + + + + Attribut WorkItem permettant de spécifier un élément de travail associé à ce test. + + + + + Initialise une nouvelle instance de la classe pour l'attribut WorkItem. + + ID d'un élément de travail. + + + + Obtient l'ID d'un élément de travail associé. + + + + + Attribut Timeout utilisé pour spécifier le délai d'expiration d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Délai d'expiration. + + + + + Initialise une nouvelle instance de la classe avec un délai d'expiration prédéfini + + + Délai d'expiration + + + + + Obtient le délai d'attente. + + + + + Objet TestResult à retourner à l'adaptateur. + + + + + Initialise une nouvelle instance de la classe . + + + + + Obtient ou définit le nom d'affichage du résultat. Utile pour retourner plusieurs résultats. + En cas de valeur null, le nom de la méthode est utilisé en tant que DisplayName. + + + + + Obtient ou définit le résultat de l'exécution du test. + + + + + Obtient ou définit l'exception levée en cas d'échec du test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit les traces de débogage du code de test. + + + + + Gets or sets the debug traces by test code. + + + + + Obtient ou définit la durée de l'exécution du test. + + + + + Obtient ou définit l'index de ligne de données dans la source de données. Défini uniquement pour les résultats de + l'exécution individuelle de la ligne de données d'un test piloté par les données. + + + + + Obtient ou définit la valeur renvoyée de la méthode de test. (Toujours null). + + + + + Obtient ou définit les fichiers de résultats attachés par le test. + + + + + Spécifie la chaîne de connexion, le nom de la table et la méthode d'accès aux lignes pour les tests pilotés par les données. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nom du fournisseur par défaut de DataSource. + + + + + Méthode d'accès aux données par défaut. + + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données, une chaîne de connexion, une table de données et une méthode d'accès aux données pour accéder à la source de données. + + Nom du fournisseur de données invariant, par exemple System.Data.SqlClient + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + Spécifie l'ordre d'accès aux données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec une chaîne de connexion et un nom de table. + Spécifiez la chaîne de connexion et la table de données permettant d'accéder à la source de données OLEDB. + + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données et une chaîne de connexion associés au nom du paramètre. + + Nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + Obtient une valeur représentant le fournisseur de données de la source de données. + + + Nom du fournisseur de données. Si aucun fournisseur de données n'a été désigné au moment de l'initialisation de l'objet, le fournisseur par défaut de System.Data.OleDb est retourné. + + + + + Obtient une valeur représentant la chaîne de connexion de la source de données. + + + + + Obtient une valeur indiquant le nom de la table qui fournit les données. + + + + + Obtient la méthode utilisée pour accéder à la source de données. + + + + Une des valeurs possibles. Si n'est pas initialisé, ce qui entraîne le retour de la valeur par défaut . + + + + + Obtient le nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + + Attribut du test piloté par les données, où les données peuvent être spécifiées inline. + + + + + Recherche toutes les lignes de données et les exécute. + + + Méthode de test. + + + Tableau des . + + + + + Exécute la méthode de test piloté par les données. + + Méthode de test à exécuter. + Ligne de données. + Résultats de l'exécution. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..45a5e139f --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usato per specificare l'elemento di distribuzione (file o directory) per la distribuzione per singolo test. + Può essere specificato in classi o metodi di test. + Può contenere più istanze dell'attributo per specificare più di un elemento. + Il percorso dell'elemento può essere assoluto o relativo; se è relativo, è relativo rispetto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inizializza una nuova istanza della classe . + + File o directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + + + + Inizializza una nuova istanza della classe + + Percorso relativo o assoluto del file o della directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + Percorso della directory in cui vengono copiati gli elementi. Può essere assoluto o relativo rispetto alla directory di distribuzione. Tutte le directory e tutti i file identificati da verranno copiati in questa directory. + + + + Ottiene il percorso della cartella o del file di origine da copiare. + + + + + Ottiene il percorso della directory in cui viene copiato l'elemento. + + + + + Classe TestContext. Questa classe deve essere completamente astratta e non deve + contenere membri. I membri verranno implementati dall'adattatore. Gli utenti del framework devono + accedere a questa classe solo tramite un'interfaccia correttamente definita. + + + + + Ottiene le proprietà di un test. + + + + + Ottiene il nome completo della classe contenente il metodo di test attualmente in esecuzione + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Ottiene il nome del metodo di test attualmente in esecuzione + + + + + Ottiene il risultato del test corrente. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..d3540c8e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metodo di test per l'esecuzione. + + + + + Ottiene il nome del metodo di test. + + + + + Ottiene il nome della classe di test. + + + + + Ottiene il tipo restituito del metodo di test. + + + + + Ottiene i parametri del metodo di test. + + + + + Ottiene l'oggetto methodInfo per il metodo di test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Richiama il metodo di test. + + + Argomenti da passare al metodo di test, ad esempio per test basati sui dati + + + Risultato della chiamata del metodo di test. + + + This call handles asynchronous test methods as well. + + + + + Ottiene tutti gli attributi del metodo di test. + + + Indica se l'attributo definito nella classe padre è valido. + + + Tutti gli attributi. + + + + + Ottiene l'attributo di tipo specifico. + + System.Attribute type. + + Indica se l'attributo definito nella classe padre è valido. + + + Attributi del tipo specificato. + + + + + Helper. + + + + + Parametro check non Null. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws argument null exception when parameter is null. + + + + Parametro check non Null o vuoto. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws ArgumentException when parameter is null. + + + + Enumerazione relativa alla modalità di accesso alle righe di dati nei test basati sui dati. + + + + + Le righe vengono restituite in ordine sequenziale. + + + + + Le righe vengono restituite in ordine casuale. + + + + + Attributo per definire i dati inline per un metodo di test. + + + + + Inizializza una nuova istanza della classe . + + Oggetto dati. + + + + Inizializza una nuova istanza della classe che accetta una matrice di argomenti. + + Oggetto dati. + Altri dati. + + + + Ottiene i dati per chiamare il metodo di test. + + + + + Ottiene o imposta il nome visualizzato nei risultati del test per la personalizzazione. + + + + + Eccezione senza risultati dell'asserzione. + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Classe InternalTestFailureException. Usata per indicare un errore interno per un test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + + + + Inizializza una nuova istanza della classe . + + + + + Attributo che specifica di presupporre un'eccezione del tipo specificato + + + + + Inizializza una nuova istanza della classe con il tipo previsto + + Tipo dell'eccezione prevista + + + + Inizializza una nuova istanza della classe con + il tipo previsto e il messaggio da includere quando il test non genera alcuna eccezione. + + Tipo dell'eccezione prevista + + Messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene un valore che indica il tipo dell'eccezione prevista + + + + + Ottiene o imposta un valore che indica se consentire a tipi derivati dal tipo dell'eccezione prevista + di qualificarsi come previsto + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Verifica che il tipo dell'eccezione generata dallo unit test sia prevista + + Eccezione generata dallo unit test + + + + Classe di base per attributi che specificano se prevedere che uno unit test restituisca un'eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio per indicare nessuna eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio che indica nessuna eccezione + + + Messaggio da includere nel risultato del test se il test non riesce perché non + viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio predefinito per indicare nessuna eccezione + + Nome del tipo di attributo di ExpectedException + Messaggio predefinito per indicare nessuna eccezione + + + + Determina se l'eccezione è prevista. Se il metodo viene completato, si + presuppone che l'eccezione era prevista. Se il metodo genera un'eccezione, si + presuppone che l'eccezione non era prevista e il messaggio dell'eccezione generata + viene incluso nel risultato del test. Si può usare la classe per + comodità. Se si usa e l'asserzione non riesce, + il risultato del test viene impostato su Senza risultati. + + Eccezione generata dallo unit test + + + + Genera di nuovo l'eccezione se si tratta di un'eccezione AssertFailedException o AssertInconclusiveException + + Eccezione da generare di nuovo se si tratta di un'eccezione di asserzione + + + + Questa classe consente all'utente di eseguire testing unità per tipi che usano tipi generici. + GenericParameterHelper soddisfa alcuni dei vincoli di tipo generici più comuni, + ad esempio: + 1. costruttore predefinito pubblico + 2. implementa l'interfaccia comune: IComparable, IEnumerable + + + + + Inizializza una nuova istanza della classe che + soddisfa il vincolo 'newable' nei generics C#. + + + This constructor initializes the Data property to a random value. + + + + + Inizializza una nuova istanza della classe che + inizializza la proprietà Data con un valore fornito dall'utente. + + Qualsiasi valore Integer + + + + Ottiene o imposta i dati + + + + + Esegue il confronto dei valori di due oggetti GenericParameterHelper + + oggetto con cui eseguire il confronto + true se il valore di obj è uguale a quello dell'oggetto GenericParameterHelper 'this'; + in caso contrario, false. + + + + Restituisce un codice hash per questo oggetto. + + Codice hash. + + + + Confronta i dati dei due oggetti . + + Oggetto con cui eseguire il confronto. + + Numero con segno che indica i valori relativi di questa istanza e di questo valore. + + + Thrown when the object passed in is not an instance of . + + + + + Restituisce un oggetto IEnumerator la cui lunghezza viene derivata dalla + proprietà Data. + + L'oggetto IEnumerator + + + + Restituisce un oggetto GenericParameterHelper uguale a + quello corrente. + + Oggetto clonato. + + + + Consente agli utenti di registrare/scrivere tracce degli unit test per la diagnostica. + + + + + Gestore per LogMessage. + + Messaggio da registrare. + + + + Evento di cui rimanere in ascolto. Generato quando il writer di unit test scrive alcuni messaggi. + Utilizzato principalmente dall'adattatore. + + + + + API del writer di test da chiamare per registrare i messaggi. + + Formato stringa con segnaposto. + Parametri per segnaposto. + + + + Attributo TestCategory; usato per specificare la categoria di uno unit test. + + + + + Inizializza una nuova istanza della classe e applica la categoria al test. + + + Categoria di test. + + + + + Ottiene le categorie di test applicate al test. + + + + + Classe di base per l'attributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inizializza una nuova istanza della classe . + Applica la categoria al test. Le stringhe restituite da TestCategories + vengono usate con il comando /category per filtrare i test + + + + + Ottiene la categoria di test applicata al test. + + + + + Classe AssertFailedException. Usata per indicare un errore per un test case + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Raccolta di classi helper per testare diverse condizioni + negli unit test. Se la condizione da testare non viene soddisfatta, + viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is false. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is true. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null. + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if refers to the same object + as . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is not equal to . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Genera un'eccezione AssertFailedException. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Gli overload di uguaglianza statici vengono usati per confrontare istanze di due tipi e stabilire se + i riferimenti sono uguali. Questo metodo non deve essere usato per il confronto di uguaglianza tra due + istanze. Questo oggetto verrà sempre generato con Assert.Fail. Usare + Assert.AreEqual e gli overload associati negli unit test. + + Oggetto A + Oggetto B + Sempre false. + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Sostituisce caratteri Null ('\0') con "\\0". + + + Stringa da cercare. + + + Stringa convertita con caratteri Null sostituiti da "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funzione helper che crea e genera un'eccezione AssertionFailedException + + + nome dell'asserzione che genera un'eccezione + + + messaggio che descrive le condizioni per l'errore di asserzione + + + Parametri. + + + + + Verifica la validità delle condizioni nel parametro + + + Parametro. + + + Nome dell'asserzione. + + + nome del parametro + + + messaggio per l'eccezione di parametro non valido + + + Parametri. + + + + + Converte in modo sicuro un oggetto in una stringa, gestendo valori e caratteri Null. + I valori Null vengono convertiti in "(null)". I caratteri Null vengono convertiti in "\\0". + + + Oggetto da convertire in una stringa. + + + Stringa convertita. + + + + + Asserzione della stringa. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if matches . + + + + + Raccolta di classi helper per testare diverse condizioni associate + alle raccolte negli unit test. Se la condizione da testare non viene + soddisfatta, viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if every element in is also found in + . + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Determina se la prima raccolta è un subset della seconda raccolta. + Se entrambi i set contengono elementi duplicati, il numero delle + occorrenze dell'elemento nel subset deve essere minore o uguale + a quello delle occorrenze nel superset. + + + Raccolta che il test presuppone debba essere contenuta in . + + + Raccolta che il test presuppone debba contenere . + + + True se è un subset di + ; in caso contrario, false. + + + + + Costruisce un dizionario contenente il numero di occorrenze di ogni + elemento nella raccolta specificata. + + + Raccolta da elaborare. + + + Numero di elementi Null presenti nella raccolta. + + + Dizionario contenente il numero di occorrenze di ogni elemento + nella raccolta specificata. + + + + + Trova un elemento senza corrispondenza tra le due raccolte. Per elemento + senza corrispondenza si intende un elemento che appare nella raccolta prevista + un numero di volte diverso rispetto alla raccolta effettiva. Si presuppone + che le raccolte siano riferimenti non Null diversi con lo stesso + numero di elementi. Il chiamante è responsabile di questo livello di + verifica. Se non ci sono elementi senza corrispondenza, la funzione + restituisce false e i parametri out non devono essere usati. + + + Prima raccolta da confrontare. + + + Seconda raccolta da confrontare. + + + Numero previsto di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Numero effettivo di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Elemento senza corrispondenza (può essere Null) o Null se non ci sono elementi + senza corrispondenza. + + + true se è stato trovato un elemento senza corrispondenza; in caso contrario, false. + + + + + confronta gli oggetti usando object.Equals + + + + + Classe di base per le eccezioni del framework. + + + + + Inizializza una nuova istanza della classe . + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + + + + + Restituisce l'istanza di ResourceManager nella cache usata da questa classe. + + + + + Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte + le ricerche di risorse eseguite usando questa classe di risorse fortemente tipizzata. + + + + + Cerca una stringa localizzata simile a La sintassi della stringa di accesso non è valida. + + + + + Cerca una stringa localizzata simile a La raccolta prevista contiene {1} occorrenza/e di <{2}>, mentre quella effettiva ne contiene {3}. {0}. + + + + + Cerca una stringa localizzata simile a È stato trovato un elemento duplicato:<{1}>. {0}. + + + + + Cerca una stringa localizzata simile a Il valore previsto è <{1}>, ma la combinazione di maiuscole/minuscole è diversa per il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza minore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1} ({2})>. Valore effettivo: <{3} ({4})>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza maggiore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È previsto un valore qualsiasi eccetto <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Non passare tipi valore a AreSame(). I valori convertiti in Object non saranno mai uguali. Usare AreEqual(). {0}. + + + + + Cerca una stringa localizzata simile a {0} non riuscita. {1}. + + + + + Cerca una stringa localizzata simile ad async TestMethod con UITestMethodAttribute non supportata. Rimuovere async o usare TestMethodAttribute. + + + + + Cerca una stringa localizzata simile a Le raccolte sono entrambe vuote. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. + + + + + Cerca una stringa localizzata simile a I riferimenti a raccolte puntano entrambi allo stesso oggetto Collection. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. {0}. + + + + + Cerca una stringa localizzata simile a {0}({1}). + + + + + Cerca una stringa localizzata simile a (Null). + + + + + Cerca una stringa localizzata simile a (oggetto). + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non contiene la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a {0} ({1}). + + + + + Cerca una stringa localizzata simile a Per le asserzioni non usare Assert.Equals, ma preferire Assert.AreEqual e gli overload. + + + + + Cerca una stringa localizzata simile a Il numero di elementi nelle raccolte non corrisponde. Valore previsto: <{1}>. Valore effettivo: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {0} non corrisponde. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} non è del tipo previsto. Tipo previsto: <{2}>. Tipo effettivo: <{3}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} è (Null). Tipo previsto: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non termina con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Argomento non valido: EqualsTester non può usare valori Null. + + + + + Cerca una stringa localizzata simile a Non è possibile convertire un oggetto di tipo {0} in {1}. + + + + + Cerca una stringa localizzata simile a L'oggetto interno a cui si fa riferimento non è più valido. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. {1}. + + + + + Cerca una stringa localizzata simile a Il tipo della proprietà {0} è {1}, ma quello previsto è {2}. + + + + + Cerca una stringa localizzata simile a Tipo previsto di {0}: <{1}>. Tipo effettivo: <{2}>. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Tipo errato: <{1}>. Tipo effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Non è stato specificato alcun elemento DataRowAttribute. Con DataTestMethodAttribute è necessario almeno un elemento DataRowAttribute. + + + + + Cerca una stringa localizzata simile a Non è stata generata alcuna eccezione. Era prevista un'eccezione {1}. {0}. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. Il valore non può essere Null. {1}. + + + + + Cerca una stringa localizzata simile a Il numero di elementi è diverso. + + + + + Cerca una stringa localizzata simile a + Il costruttore con la firma specificata non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a + Il membro specificato ({0}) non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non inizia con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Il tipo di eccezione previsto deve essere System.Exception o un tipo derivato da System.Exception. + + + + + Cerca una stringa localizzata simile a Non è stato possibile ottenere il messaggio per un'eccezione di tipo {0} a causa di un'eccezione. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato l'eccezione prevista {0}. {1}. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato un'eccezione. È prevista un'eccezione dall'attributo {0} definito nel metodo di test. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1}. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1} o un tipo derivato da essa. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a È stata generata l'eccezione {2}, ma era prevista un'eccezione {1}. {0} + Messaggio dell'eccezione: {3} + Analisi dello stack: {4}. + + + + + risultati degli unit test + + + + + Il test è stato eseguito, ma si sono verificati errori. + Gli errori possono implicare eccezioni o asserzioni non riuscite. + + + + + Il test è stato completato, ma non è possibile determinare se è stato o meno superato. + Può essere usato per test interrotti. + + + + + Il test è stato eseguito senza problemi. + + + + + Il test è attualmente in corso. + + + + + Si è verificato un errore di sistema durante il tentativo di eseguire un test. + + + + + Timeout del test. + + + + + Il test è stato interrotto dall'utente. + + + + + Il test si trova in uno stato sconosciuto + + + + + Fornisce la funzionalità di helper per il framework degli unit test + + + + + Ottiene i messaggi di eccezione in modo ricorsivo, inclusi quelli relativi a + tutte le eccezioni interne + + Eccezione per cui ottenere i messaggi + stringa con le informazioni sul messaggio di errore + + + + Enumerazione per i timeout, che può essere usata con la classe . + Il tipo dell'enumerazione deve corrispondere + + + + + Valore infinito. + + + + + Attributo della classe di test. + + + + + Ottiene un attributo di metodo di test che consente di eseguire questo test. + + Istanza di attributo del metodo di test definita in questo metodo. + Oggetto da usare per eseguire questo test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attributo del metodo di test. + + + + + Esegue un metodo di test. + + Metodo di test da eseguire. + Matrice di oggetti TestResult che rappresentano il risultato o i risultati del test. + Extensions can override this method to customize running a TestMethod. + + + + Attributo di inizializzazione test. + + + + + Attributo di pulizia dei test. + + + + + Attributo ignore. + + + + + Attributo della proprietà di test. + + + + + Inizializza una nuova istanza della classe . + + + Nome. + + + Valore. + + + + + Ottiene il nome. + + + + + Ottiene il valore. + + + + + Attributo di inizializzazione classi. + + + + + Attributo di pulizia delle classi. + + + + + Attributo di inizializzazione assembly. + + + + + Attributo di pulizia degli assembly. + + + + + Proprietario del test + + + + + Inizializza una nuova istanza della classe . + + + Proprietario. + + + + + Ottiene il proprietario. + + + + + Attributo Priority; usato per specificare la priorità di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Priorità. + + + + + Ottiene la priorità. + + + + + Descrizione del test + + + + + Inizializza una nuova istanza della classe per descrivere un test. + + Descrizione. + + + + Ottiene la descrizione di un test. + + + + + URI della struttura di progetto CSS + + + + + Inizializza una nuova istanza della classe per l'URI della struttura di progetto CSS. + + URI della struttura di progetto CSS. + + + + Ottiene l'URI della struttura di progetto CSS. + + + + + URI dell'iterazione CSS + + + + + Inizializza una nuova istanza della classe per l'URI dell'iterazione CSS. + + URI dell'iterazione CSS. + + + + Ottiene l'URI dell'iterazione CSS. + + + + + Attributo WorkItem; usato per specificare un elemento di lavoro associato a questo test. + + + + + Inizializza una nuova istanza della classe per l'attributo WorkItem. + + ID di un elemento di lavoro. + + + + Ottiene l'ID di un elemento di lavoro associato. + + + + + Attributo Timeout; usato per specificare il timeout di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Timeout. + + + + + Inizializza una nuova istanza della classe con un timeout preimpostato + + + Timeout + + + + + Ottiene il timeout. + + + + + Oggetto TestResult da restituire all'adattatore. + + + + + Inizializza una nuova istanza della classe . + + + + + Ottiene o imposta il nome visualizzato del risultato. Utile quando vengono restituiti più risultati. + Se è Null, come nome visualizzato viene usato il nome del metodo. + + + + + Ottiene o imposta il risultato dell'esecuzione dei test. + + + + + Ottiene o imposta l'eccezione generata quando il test non viene superato. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta le tracce di debug in base al codice del test. + + + + + Gets or sets the debug traces by test code. + + + + + Ottiene o imposta la durata dell'esecuzione dei test. + + + + + Ottiene o imposta l'indice della riga di dati nell'origine dati. Impostare solo per risultati di singole + esecuzioni della riga di dati di un test basato sui dati. + + + + + Ottiene o imposta il valore restituito del metodo di test. Attualmente è sempre Null. + + + + + Ottiene o imposta i file di risultati allegati dal test. + + + + + Specifica la stringa di connessione, il nome tabella e il metodo di accesso alle righe per test basati sui dati. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nome del provider predefinito per DataSource. + + + + + Metodo predefinito di accesso ai dati. + + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati, la stringa di connessione, la tabella dati e il metodo di accesso ai dati per accedere all'origine dati. + + Nome del provider di dati non dipendente da paese/area geografica, ad esempio System.Data.SqlClient + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + Specifica l'ordine per l'accesso ai dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con una stringa di connessione e un nome tabella. + Specificare la stringa di connessione e la tabella dati per accedere all'origine dati OLEDB. + + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati e la stringa di connessione associata al nome dell'impostazione. + + Nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + Ottiene un valore che rappresenta il provider di dati dell'origine dati. + + + Nome del provider di dati. Se non è stato designato un provider di dati durante l'inizializzazione dell'oggetto, verrà restituito il provider predefinito di System.Data.OleDb. + + + + + Ottiene un valore che rappresenta la stringa di connessione per l'origine dati. + + + + + Ottiene un valore che indica il nome della tabella che fornisce i dati. + + + + + Ottiene il metodo usato per accedere all'origine dati. + + + + Uno dei valori di . Se non è inizializzato, restituirà il valore predefinito . + + + + + Ottiene il nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + + Attributo per il test basato sui dati in cui è possibile specificare i dati inline. + + + + + Trova tutte le righe di dati e le esegue. + + + Metodo di test. + + + Matrice di istanze di . + + + + + Esegue il metodo di test basato sui dati. + + Metodo di test da eseguire. + Riga di dati. + Risultati dell'esecuzione. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..c863ca9c9 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + テスト配置ごとに配置項目 (ファイルまたはディレクトリ) を指定するために使用されます。 + テスト クラスまたはテスト メソッドで指定できます。 + 属性に複数のインスタンスを指定して、2 つ以上の項目を指定することができます。 + 項目のパスには絶対パスまたは相対パスを指定できます。相対パスの場合は、RunConfig.RelativePathRoot からの相対パスです。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + クラスの新しいインスタンスを初期化します。 + + 配置するファイルまたはディレクトリ。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + + + + クラスの新しいインスタンスを初期化する + + 配置するファイルまたはディレクトリへの相対パスまたは絶対パス。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + アイテムのコピー先のディレクトリのパス。配置ディレクトリへの絶対パスまたは相対パスのいずれかを指定できます。次で識別されるすべてのファイルとディレクトリは このディレクトリにコピーされます。 + + + + コピーするソース ファイルまたはフォルダーのパスを取得します。 + + + + + 項目のコピー先のディレクトリのパスを取得します。 + + + + + TestContext クラス。このクラスは完全に抽象的でなければならず、かつメンバー + を含んでいてはなりません。アダプターはメンバーを実装します。フレームワーク内のユーザーは + 正しく定義されたインターフェイスを介してのみこのクラスにアクセスする必要があります。 + + + + + テストのテスト プロパティを取得します。 + + + + + 現在実行中のテスト メソッドを含むクラスの完全修飾名を取得する + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 現在実行中のテスト メソッドの名前を取得する + + + + + 現在のテスト成果を取得します。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..922b5b17d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 実行用の TestMethod。 + + + + + テスト メソッドの名前を取得します。 + + + + + テスト クラスの名前を取得します。 + + + + + テスト メソッドの戻り値の型を取得します。 + + + + + テスト メソッドのパラメーターを取得します。 + + + + + テスト メソッドの methodInfo を取得します。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + テスト メソッドを呼び出します。 + + + テスト メソッドに渡す引数。(データ ドリブンの場合など) + + + テスト メソッド呼び出しの結果。 + + + This call handles asynchronous test methods as well. + + + + + テスト メソッドのすべての属性を取得します。 + + + 親クラスで定義されている属性が有効かどうか。 + + + すべての属性。 + + + + + 特定の型の属性を取得します。 + + System.Attribute type. + + 親クラスで定義されている属性が有効かどうか。 + + + 指定した種類の属性。 + + + + + ヘルパー。 + + + + + null でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws argument null exception when parameter is null. + + + + null または空でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws ArgumentException when parameter is null. + + + + データ ドリブン テストのデータ行にアクセスする方法の列挙型。 + + + + + 行は順番に返されます。 + + + + + 行はランダムに返されます。 + + + + + テスト メソッドのインライン データを定義する属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + + + + 引数の配列を受け入れる クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + 追加のデータ。 + + + + テスト メソッドを呼び出すデータを取得します。 + + + + + カスタマイズするために、テスト結果の表示名を取得または設定します。 + + + + + assert inconclusive 例外。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + InternalTestFailureException クラス。テスト ケースの内部エラーを示すために使用されます + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 指定した型の例外を予期するよう指定する属性 + + + + + 予期される型を指定して、 クラスの新しいインスタンスを初期化する + + 予期される例外の型 + + + + 予期される型と、テストで例外がスローされない場合に含めるメッセージとを指定して + クラスの新しいインスタンスを初期化します。 + + 予期される例外の型 + + 例外がスローされなかったことが原因でテストが失敗した場合に、テスト結果に含まれるメッセージ + + + + + 予期される例外の型を示す値を取得する + + + + + 予期される例外の型から派生した型を予期される型として使用できるかどうかを示す値を + 取得または設定する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 単体テストでスローされる例外の型が予期される型であることを検証する + + 単体テストでスローされる例外 + + + + 単体テストからの例外を予期するように指定する属性の基底クラス + + + + + 既定の例外なしメッセージを指定して クラスの新しいインスタンスを初期化する + + + + + 例外なしメッセージを指定して クラスの新しいインスタンスを初期化します + + + 例外がスローされなかったことが原因でテストが失敗した場合に、 + テスト結果に含まれるメッセージ + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 既定の例外なしメッセージを取得する + + ExpectedException 属性の型名 + 既定の例外なしメッセージ + + + + 例外が予期されているかどうかを判断します。メソッドが戻る場合は、 + 例外が予期されていたと解釈されます。メソッドが例外をスローする場合は、 + 例外が予期されていなかったと解釈され、スローされた例外のメッセージが + テスト結果に含められます。便宜上、 クラスを使用できます。 + が使用され、アサーションが失敗すると、 + テスト成果は [結果不確定] に設定されます。 + + 単体テストでスローされる例外 + + + + AssertFailedException または AssertInconclusiveException である場合に、例外を再スローする + + アサーション例外である場合に再スローされる例外 + + + + このクラスは、ジェネリック型を使用する型の単体テストを実行するユーザーを支援するように設計されています。 + GenericParameterHelper は、次のようないくつかの共通ジェネリック型制約を + 満たしています: + 1. パブリックの既定のコンストラクター + 2. 共通インターフェイスを実装します: IComparable、IEnumerable + + + + + C# ジェネリックの 'newable' 制約を満たす + クラスの新しいインスタンスを初期化します。 + + + This constructor initializes the Data property to a random value. + + + + + Data プロパティをユーザー指定の値に初期化する クラスの + 新しいインスタンスを初期化します。 + + 任意の整数値 + + + + データを取得または設定する + + + + + 2 つの GenericParameterHelper オブジェクトの値の比較を実行する + + 次との比較を実行するオブジェクト + オブジェクトの値が 'this' GenericParameterHelper オブジェクトと同じ値である場合は true。 + それ以外の場合は、false。 + + + + このオブジェクトのハッシュコードを返します。 + + ハッシュ コード。 + + + + 2 つの オブジェクトのデータを比較します。 + + 比較対象のオブジェクト。 + + このインスタンスと値の相対値を示す符号付きの数値。 + + + Thrown when the object passed in is not an instance of . + + + + + 長さが Data プロパティから派生している IEnumerator オブジェクト + を返します。 + + IEnumerator オブジェクト + + + + 現在のオブジェクトに相当する GenericParameterHelper + オブジェクトを返します。 + + 複製されたオブジェクト。 + + + + ユーザーが診断用に単体テストからトレースをログ記録/書き込みできるようにします。 + + + + + LogMessage のハンドラー。 + + ログに記録するメッセージ。 + + + + リッスンするイベント。単体テスト ライターがメッセージを書き込むときに発生します。 + 主にアダプターによって消費されます。 + + + + + テスト ライターがメッセージをログ記録するために呼び出す API。 + + プレースホルダーを含む文字列形式。 + プレースホルダーのパラメーター。 + + + + TestCategory 属性。単体テストのカテゴリを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化し、カテゴリをテストに適用します。 + + + テスト カテゴリ。 + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + "Category" 属性の基底クラス + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + クラスの新しいインスタンスを初期化します。 + カテゴリをテストに適用します。TestCategories で返される文字列は + テストをフィルター処理する /category コマンドで使用されます + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + AssertFailedException クラス。テスト ケースのエラーを示すために使用されます + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 単体テスト内のさまざまな条件をテストするヘルパー クラスの + コレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + Assert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is false. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is true. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null. + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not refer to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if refers to the same object + as . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is not equal to . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException をスローします。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + 静的な Equals オーバーロードは、2 つの型のインスタンスを比較して参照の等価性を調べる + ために使用されます。2 つのインスタンスを比較して等価性を調べるためにこのメソッドを使用 + することはできません。このオブジェクトは常に Assert.Fail を使用してスロー + します。単体テストでは、Assert.AreEqual および関連するオーバーロードをご使用ください。 + + オブジェクト A + オブジェクト B + 常に false。 + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + null 文字 ('\0') を "\\0" に置き換えます。 + + + 検索する文字列。 + + + "\\0" で置き換えられた null 文字を含む変換された文字列。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException を作成して、スローするヘルパー関数 + + + 例外をスローするアサーションの名前 + + + アサーション エラーの条件を記述するメッセージ + + + パラメーター。 + + + + + 有効な条件であるかパラメーターを確認します + + + パラメーター。 + + + アサーション名。 + + + パラメーター名 + + + 無効なパラメーター例外のメッセージ + + + パラメーター。 + + + + + 安全にオブジェクトを文字列に変換し、null 値と null 文字を処理します。 + null 値は "(null)" に変換されます。null 文字は "\\0" に変換されます。 + + + 文字列に変換するオブジェクト。 + + + 変換された文字列。 + + + + + 文字列のアサート。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if matches . + + + + + 単体テスト内のコレクションと関連付けられている + さまざまな条件をテストするヘルパー クラスのコレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is found in + . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a two or more equal elements are found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if every element in is also found in + . + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 最初のコレクションが 2 番目のコレクションのサブセットであるかどうかを + 決定します。いずれかのセットに重複する要素が含まれている場合は、 + サブセット内の要素の出現回数は + スーパーセット内の出現回数以下である必要があります。 + + + テストで次に含まれると予期されるコレクション 。 + + + テストで次を含むと予期されるコレクション 。 + + + 次の場合は true 次のサブセットの場合 + 、それ以外の場合は false。 + + + + + 指定したコレクションの各要素の出現回数を含む + 辞書を構築します。 + + + 処理するコレクション。 + + + コレクション内の null 要素の数。 + + + 指定したコレクション内の各要素の + 出現回数を含むディレクトリ。 + + + + + 2 つのコレクション間で一致しない要素を検索します。 + 一致しない要素とは、予期されるコレクションでの出現回数が + 実際のコレクションでの出現回数と異なる要素のことです。 + コレクションは、同じ数の要素を持つ、null ではない + さまざまな参照と見なされます。このレベルの検証を行う責任は + 呼び出し側にあります。一致しない要素がない場合、 + 関数は false を返し、out パラメーターは使用されません。 + + + 比較する最初のコレクション。 + + + 比較する 2 番目のコレクション。 + + + 次の予期される発生回数 + または一致しない要素がない場合は + 0 です。 + + + 次の実際の発生回数 + または一致しない要素がない場合は + 0 です。 + + + 一致しない要素 (null の場合があります)、または一致しない要素がない場合は + null です。 + + + 一致しない要素が見つかった場合は true、それ以外の場合は false。 + + + + + object.Equals を使用してオブジェクトを比較する + + + + + フレームワーク例外の基底クラス。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラス。 + + + + + このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 + + + + + 厳密に型指定されたこのリソース クラスを使用して、現在のスレッドの + CurrentUICulture プロパティをすべてのリソース ルックアップで無視します。 + + + + + "アクセス文字列は無効な構文を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "予期されたコレクションでは、<{2}> が {1} 回発生します。実際のコレクションでは、{3} 回発生します。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "重複する項目が見つかりました:<{1}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要です。実際の値: <{2}> では大文字と小文字が異なります。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> 以内の差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1} ({2})> が必要ですが、<{3} ({4})> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要ですが、<{2}> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> を超える差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> 以外の任意の値が必要ですが、<{2}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "AreSame() に値型を渡すことはできません。オブジェクトに変換された値は同じになりません。AreEqual() を使用することを検討してください。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0} に失敗しました。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "UITestMethodAttribute が指定された非同期の TestMethod はサポートされていません。非同期を削除するか、TestMethodAttribute を使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが空です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションの参照が、同じコレクション オブジェクトにポイントしています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0}({1})" に類似したローカライズされた文字列を検索します。 + + + + + "(null)" に類似したローカライズされた文字列を検索します。 + + + + + Looks up a localized string similar to (object). + + + + + "文字列 '{0}' は文字列 '{1}' を含んでいません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} ({1})" に類似したローカライズされた文字列を検索します。 + + + + + "アサーションには Assert.Equals を使用せずに、Assert.AreEqual とオーバーロードを使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "コレクション内の要素数が一致しません。<{1}> が必要ですが <{2}> が指定されています。{0}。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {0} の要素が一致しません。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は、必要な型ではありません。<{2}> が必要ですが、<{3}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は null です。必要な型:<{2}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は文字列 '{1}' で終わりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "無効な引数 - EqualsTester は null を使用することはできません。" に類似したローカライズされた文字列を検索します。 + + + + + "型 {0} のオブジェクトを {1} に変換できません。" に類似したローカライズされた文字列を検索します。 + + + + + "参照された内部オブジェクトは、現在有効ではありません。" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "プロパティ {0} は型 {1} を含んでいますが、型 {2} が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} には型 <{1}> が必要ですが、型 <{2}> が指定されました。" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は、パターン '{1}' と一致しません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "正しくない型は <{1}> であり、実際の型は <{2}> です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' はパターン '{1}' と一致します。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "DataRowAttribute が指定されていません。DataTestMethodAttribute では少なくとも 1 つの DataRowAttribute が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "例外がスローされませんでした。{1} の例外が予期されていました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。値を null にすることはできません。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "要素数が異なります。" に類似したローカライズされた文字列を検索します。 + + + + + "指定されたシグネチャを使用するコンストラクターが見つかりませんでした。 + プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + PrivateObject のコンストラクターに定義する型を渡す必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + + "指定されたメンバー ({0}) が見つかりませんでした。プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + 定義する型を PrivateObject のコンストラクターに渡す必要があります。" + に類似したローカライズされた文字列を検索します。 + + + + + + "文字列 '{0}' は文字列 '{1}' で始まりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "予期される例外の型は System.Exception または System.Exception の派生型である必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + "(例外が発生したため、型 {0} の例外のメッセージを取得できませんでした。)" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは予期された例外 {0} をスローしませんでした。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは例外をスローしませんでした。テスト メソッドで定義されている属性 {0} で例外が予期されていました。" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} またはその派生型が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "例外 {2} がスローされましたが、例外 {1} が予期されていました。{0} + 例外メッセージ: {3} + スタック トレース: {4}" に類似したローカライズされた文字列を検索します。 + + + + + 単体テストの成果 + + + + + テストを実行しましたが、問題が発生しました。 + 問題には例外または失敗したアサーションが関係している可能性があります。 + + + + + テストが完了しましたが、成功したか失敗したかは不明です。 + 中止したテストに使用される場合があります。 + + + + + 問題なくテストが実行されました。 + + + + + 現在テストを実行しています。 + + + + + テストを実行しようとしているときにシステム エラーが発生しました。 + + + + + テストがタイムアウトしました。 + + + + + ユーザーによってテストが中止されました。 + + + + + テストは不明な状態です + + + + + 単体テストのフレームワークのヘルパー機能を提供する + + + + + すべての内部例外のメッセージなど、例外メッセージを + 再帰的に取得します + + 次のメッセージを取得する例外 + エラー メッセージ情報を含む文字列 + + + + クラスで使用できるタイムアウトの列挙型。 + 列挙型の型は一致している必要があります + + + + + 無限。 + + + + + テスト クラス属性。 + + + + + このテストの実行を可能するテスト メソッド属性を取得します。 + + このメソッドで定義されているテスト メソッド属性インスタンス。 + The 。このテストを実行するために使用されます。 + Extensions can override this method to customize how all methods in a class are run. + + + + テスト メソッド属性。 + + + + + テスト メソッドを実行します。 + + 実行するテスト メソッド。 + テストの結果を表す TestResult オブジェクトの配列。 + Extensions can override this method to customize running a TestMethod. + + + + テスト初期化属性。 + + + + + テスト クリーンアップ属性。 + + + + + Ignore 属性。 + + + + + テストのプロパティ属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 名前。 + + + 値。 + + + + + 名前を取得します。 + + + + + 値を取得します。 + + + + + クラス初期化属性。 + + + + + クラス クリーンアップ属性。 + + + + + アセンブリ初期化属性。 + + + + + アセンブリ クリーンアップ属性。 + + + + + テストの所有者 + + + + + クラスの新しいインスタンスを初期化します。 + + + 所有者。 + + + + + 所有者を取得します。 + + + + + 優先順位属性。単体テストの優先順位を指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 優先順位。 + + + + + 優先順位を取得します。 + + + + + テストの説明 + + + + + テストを記述する クラスの新しいインスタンスを初期化します。 + + 説明。 + + + + テストの説明を取得します。 + + + + + CSS プロジェクト構造の URI + + + + + CSS プロジェクト構造の URI の クラスの新しいインスタンスを初期化します。 + + CSS プロジェクト構造の URI。 + + + + CSS プロジェクト構造の URI を取得します。 + + + + + CSS イテレーション URI + + + + + CSS イテレーション URI の クラスの新しいインスタンスを初期化します。 + + CSS イテレーション URI。 + + + + CSS イテレーション URI を取得します。 + + + + + WorkItem 属性。このテストに関連付けられている作業項目の指定に使用されます。 + + + + + WorkItem 属性の クラスの新しいインスタンスを初期化します。 + + 作業項目に対する ID。 + + + + 関連付けられている作業項目に対する ID を取得します。 + + + + + タイムアウト属性。単体テストのタイムアウトを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + タイムアウト。 + + + + + 事前設定するタイムアウトを指定して クラスの新しいインスタンスを初期化する + + + タイムアウト + + + + + タイムアウトを取得します。 + + + + + アダプターに返される TestResult オブジェクト。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + 結果の表示名を取得または設定します。複数の結果が返される場合に便利です。 + null の場合は、メソッド名が DisplayName として使用されます。 + + + + + テスト実行の成果を取得または設定します。 + + + + + テストが失敗した場合にスローされる例外を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでデバッグ トレースを取得または設定します。 + + + + + Gets or sets the debug traces by test code. + + + + + テスト実行の期間を取得または設定します。 + + + + + データ ソース内のデータ行インデックスを取得または設定します。データ ドリブン テストの一続きのデータ行の + それぞれの結果に対してのみ設定されます。 + + + + + テスト メソッドの戻り値を取得または設定します。(現在は、常に null です)。 + + + + + テストで添付された結果ファイルを取得または設定します。 + + + + + データ ドリブン テストの接続文字列、テーブル名、行アクセス方法を指定します。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource の既定のプロバイダー名。 + + + + + 既定のデータ アクセス方法。 + + + + + クラスの新しいインスタンスを初期化します。このインスタンスは、データ ソースにアクセスするためのデータ プロバイダー、接続文字列、データ テーブル、データ アクセス方法を指定して初期化されます。 + + System.Data.SqlClient などデータ プロバイダーの不変名 + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + データにアクセスする順番をしています。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは接続文字列とテーブル名を指定して初期化されます。 + OLEDB データ ソースにアクセスするには接続文字列とデータ テーブルを指定します。 + + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは設定名に関連付けられているデータ プロバイダーと接続文字列を使用して初期化されます。 + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションにあるデータ ソースの名前。 + + + + データ ソースのデータ プロバイダーを表す値を取得します。 + + + データ プロバイダー名。データ プロバイダーがオブジェクトの初期化時に指定されていなかった場合は、System.Data.OleDb の既定のプロバイダーが返されます。 + + + + + データ ソースの接続文字列を表す値を取得します。 + + + + + データを提供するテーブル名を示す値を取得します。 + + + + + データ ソースへのアクセスに使用するメソッドを取得します。 + + + + 次のいずれか 値。以下の場合 初期化されていない場合は、これは既定値を返します 。 + + + + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションで見つかるデータ ソースの名前を取得します。 + + + + + データをインラインで指定できるデータ ドリブン テストの属性。 + + + + + すべてのデータ行を検索して、実行します。 + + + テスト メソッド。 + + + 次の配列 。 + + + + + データ ドリブン テスト メソッドを実行します。 + + 実行するテスト メソッド。 + データ行. + 実行の結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..8099563a1 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 테스트 배포별 배포 항목(파일 또는 디렉터리)을 지정하는 데 사용됩니다. + 테스트 클래스 또는 테스트 메서드에서 지정할 수 있습니다. + 둘 이상의 항목을 지정하기 위한 여러 특성 인스턴스를 가질 수 있습니다. + 항목 경로는 절대 또는 상대 경로일 수 있으며, 상대 경로인 경우 RunConfig.RelativePathRoot가 기준입니다. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리에 대한 상대 또는 절대 경로. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + 항목을 복사할 디렉터리의 경로. 배포 디렉터리에 대한 절대 경로 또는 상대 경로일 수 있습니다.에 의해 식별되는 모든 파일 및 디렉터리는 이 디렉터리에 복사됩니다. + + + + 복사할 소스 파일 또는 폴더의 경로를 가져옵니다. + + + + + 항목을 복사할 디렉터리의 경로를 가져옵니다. + + + + + TestContext 클래스. 이 클래스는 완전히 추상 클래스여야 하며 멤버를 포함할 + 수 없습니다. 어댑터는 멤버를 구현합니다. 프레임워크의 사용자는 + 잘 정의된 인터페이스를 통해서만 여기에 액세스할 수 있습니다. + + + + + 테스트에 대한 테스트 속성을 가져옵니다. + + + + + 현재 실행 중인 테스트 메서드를 포함하는 클래스의 정규화된 이름을 가져옵니다 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 현재 실행 중인 테스트 메서드의 이름을 가져옵니다. + + + + + 현재 테스트 결과를 가져옵니다. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..22e769ac3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 실행을 위한 TestMethod입니다. + + + + + 테스트 메서드의 이름을 가져옵니다. + + + + + 테스트 클래스의 이름을 가져옵니다. + + + + + 테스트 메서드의 반환 형식을 가져옵니다. + + + + + 테스트 메서드의 매개 변수를 가져옵니다. + + + + + 테스트 메서드에 대한 methodInfo를 가져옵니다. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 테스트 메서드를 호출합니다. + + + 테스트 메서드에 전달할 인수(예: 데이터 기반의 경우) + + + 테스트 메서드 호출의 결과. + + + This call handles asynchronous test methods as well. + + + + + 테스트 메서드의 모든 특성을 가져옵니다. + + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 모든 특성. + + + + + 특정 형식의 특성을 가져옵니다. + + System.Attribute type. + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 지정한 형식의 특성입니다. + + + + + 도우미입니다. + + + + + 검사 매개 변수가 Null이 아닙니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws argument null exception when parameter is null. + + + + 검사 매개 변수가 Null이 아니거나 비어 있습니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws ArgumentException when parameter is null. + + + + 데이터 기반 테스트에서 데이터 행에 액세스하는 방법에 대한 열거형입니다. + + + + + 행이 순차적인 순서로 반환됩니다. + + + + + 행이 임의의 순서로 반환됩니다. + + + + + 테스트 메서드에 대한 인라인 데이터를 정의하는 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + + + + 인수 배열을 사용하는 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + 추가 데이터. + + + + 테스트 메서드 호출을 위한 데이터를 가져옵니다. + + + + + 사용자 지정을 위한 테스트 결과에서 표시 이름을 가져오거나 설정합니다. + + + + + 어설션 불확실 예외입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + InternalTestFailureException 클래스. 테스트 사례에 대한 내부 실패를 나타내는 데 사용됩니다. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 지정된 형식의 예외를 예상하도록 지정하는 특성 + + + + + 예상 형식이 있는 클래스의 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + + + 테스트에서 예외를 throw하지 않을 때 포함할 메시지 및 예상 형식이 있는 클래스의 + 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + 예외를 throw하지 않아 테스트가 실패할 경우 테스트 결과에 포함할 메시지 + + + + + 예상되는 예외의 형식을 나타내는 값을 가져옵니다. + + + + + 예상 예외의 형식에서 파생된 형식이 예상대로 자격을 얻도록 허용할지 여부를 나타내는 값을 가져오거나 + 설정합니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 단위 테스트에 의해 throw되는 예외의 형식이 예상되는지를 확인합니다. + + 단위 테스트에서 throw한 예외 + + + + 단위 테스트에서 예외를 예상하도록 지정하는 특성에 대한 기본 클래스 + + + + + 기본 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + + + 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + 예외를 throw하지 않아서 테스트가 실패할 경우 테스트 결과에 포함할 + 메시지 + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 기본 예외 없음 메시지를 가져옵니다. + + ExpectedException 특성 형식 이름 + 기본 예외 없음 메시지 + + + + 예외가 예상되는지 여부를 확인합니다. 메서드가 반환되면 예외가 + 예상되는 것으로 이해됩니다. 메서드가 예외를 throw하면 예외가 + 예상되지 않는 것으로 이해되고, throw된 예외의 메시지가 + 테스트 결과에 포함됩니다. 클래스는 편의를 위해 사용될 수 + 있습니다. 이(가) 사용되는 경우 어설션에 실패하며, + 테스트 결과가 [결과 불충분]으로 설정됩니다. + + 단위 테스트에서 throw한 예외 + + + + AssertFailedException 또는 AssertInconclusiveException인 경우 예외를 다시 throw합니다. + + 어설션 예외인 경우 예외를 다시 throw + + + + 이 클래스는 제네릭 형식을 사용하는 형식에 대한 사용자의 유닛 테스트를 지원하도록 설계되었습니다. + GenericParameterHelper는 몇 가지 공통된 제네릭 형식 제약 조건을 충족합니다. + 예: + 1. public 기본 생성자 + 2. 공통 인터페이스 구현: IComparable, IEnumerable + + + + + C# 제네릭의 '새로 입력할 수 있는' 제약 조건을 충족하는 클래스의 + 새 인스턴스를 초기화합니다. + + + This constructor initializes the Data property to a random value. + + + + + 데이터 속성을 사용자가 제공한 값으로 초기화하는 클래스의 + 새 인스턴스를 초기화합니다. + + 임의의 정수 값 + + + + 데이터를 가져오거나 설정합니다. + + + + + 두 GenericParameterHelper 개체의 값을 비교합니다. + + 비교할 개체 + 개체의 값이 '이' GenericParameterHelper 개체와 동일한 경우에는 true이고, + 동일하지 않은 경우에는 false입니다. + + + + 이 개체의 해시 코드를 반환합니다. + + 해시 코드입니다. + + + + 두 개체의 데이터를 비교합니다. + + 비교할 개체입니다. + + 이 인스턴스 및 값의 상대 값을 나타내는 부호 있는 숫자입니다. + + + Thrown when the object passed in is not an instance of . + + + + + 길이가 데이터 속성에서 파생된 IEnumerator 개체를 + 반환합니다. + + IEnumerator 개체 + + + + 현재 개체와 동일한 GenericParameterHelper 개체를 + 반환합니다. + + 복제된 개체입니다. + + + + 사용자가 진단을 위해 단위 테스트에서 추적을 로그하거나 쓸 수 있습니다. + + + + + LogMessage용 처리기입니다. + + 로깅할 메시지. + + + + 수신할 이벤트입니다. 단위 테스트 기록기에서 메시지를 기록할 때 발생합니다. + 주로 어댑터에서 사용합니다. + + + + + 메시지를 로그하기 위해 테스트 작성자가 호출하는 API입니다. + + 자리 표시자가 있는 문자열 형식. + 자리 표시자에 대한 매개 변수. + + + + TestCategory 특성 - 단위 테스트의 범주 지정에 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화하고 범주를 테스트에 적용합니다. + + + 테스트 범주. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + "Category" 특성을 위한 기본 클래스 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 클래스의 새 인스턴스를 초기화합니다. + 범주를 테스트에 적용합니다. TestCategories에 의해 반환된 문자열은 + 테스트 필터링을 위한 /category 명령과 함께 사용됩니다. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + AssertFailedException 클래스 - 테스트 사례에 대한 실패를 나타내는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 단위 테스트 내에서 다양한 조건을 테스트하기 위한 도우미 + 클래스의 컬렉션입니다. 테스트 중인 조건이 충족되지 않으면 예외가 + throw됩니다. + + + + + Assert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is false. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is true. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null. + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not refer to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if refers to the same object + as . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is not equal to . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException을 throw합니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + 참조 같음에 대해 두 형식의 인스턴스를 비교하는 데 정적 equals 오버로드가 + 사용됩니다. 이 메서드는 같음에 대해 두 인스턴스를 비교하는 데 사용되지 않습니다. + 이 개체는 항상 Assert.Fail과 함께 throw됩니다. 단위 테스트에서 + Assert.AreEqual 및 관련 오버로드를 사용하세요. + + 개체 A + 개체 B + 항상 False. + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + Null 문자('\0')를 "\\0"으로 바꿉니다. + + + 검색할 문자열. + + + Null 문자가 "\\0"으로 교체된 변환된 문자열. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException을 만들고 throw하는 도우미 함수 + + + 예외를 throw하는 어설션의 이름 + + + 어설션 실패에 대한 조건을 설명하는 메시지 + + + 매개 변수. + + + + + 유효한 조건의 매개 변수를 확인합니다. + + + 매개 변수. + + + 어셜선 이름. + + + 매개 변수 이름 + + + 잘못된 매개 변수 예외에 대한 메시지 + + + 매개 변수. + + + + + 개체를 문자열로 안전하게 변환하고, Null 값 및 Null 문자를 처리합니다. + Null 값은 "(null)"로 변환됩니다. Null 문자는 "\\0"으로 변환됩니다. + + + 문자열로 변환될 개체. + + + 변환된 문자열. + + + + + 문자열 어셜션입니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if matches . + + + + + 단위 테스트 내에서 컬렉션과 연결된 다양한 조건을 테스트하기 + 위한 도우미 클래스의 컬렉션. 테스트 중인 조건이 충족되지 않으면 + 예외가 throw됩니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is found in + . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a two or more equal elements are found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지입니다.. + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 모든 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if every element in is also found in + . + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 첫 번째 컬렉션이 두 번째 컬렉션의 하위 집합인지를 + 확인합니다. 한 집합에 중복된 요소가 포함된 경우, 하위 집합에 있는 요소의 + 발생 횟수는 상위 집합에 있는 발생 횟수와 같거나 + 작아야 합니다. + + + 테스트가 다음에 포함될 것으로 예상하는 컬렉션: . + + + 테스트가 다음을 포함할 것으로 예상하는 컬렉션: . + + + 다음의 경우 True 이(가) + 의 하위 집합인 경우 참, 나머지 경우는 거짓. + + + + + 지정된 컬렉션에서 각 요소의 발생 횟수를 포함하는 + 사전을 생성합니다. + + + 처리할 컬렉션. + + + 컬렉션에 있는 null 요소의 수. + + + 지정된 컬렉션에 있는 각 요소의 발생 횟수를 포함하는 + 딕셔너리. + + + + + 두 컬렉션 간의 불일치 요소를 찾습니다. 불일치 요소란 + 예상 컬렉션에 나타나는 횟수가 실제 컬렉션에 + 나타나는 횟수와 다른 요소를 말합니다. 컬렉션은 + 같은 수의 요소가 있는 Null이 아닌 다른 참조로 + 간주됩니다. 이 수준에서의 확인 작업은 호출자의 + 책임입니다. 불일치 요소가 없으면 함수는 false를 + 반환하고 출력 매개 변수가 사용되지 않습니다. + + + 비교할 첫 번째 컬렉션. + + + 비교할 두 번째 컬렉션. + + + 다음의 예상 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 다음의 실제 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 불일치 요소(null일 수 있음) 또는 불일치 요소가 없는 경우 + null. + + + 불일치 요소가 발견되면 참, 발견되지 않으면 거짓. + + + + + object.Equals를 사용하여 개체 비교합니다. + + + + + 프레임워크 예외에 대한 기본 클래스입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + + + + + 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + + + + + 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 + 대한 현재 스레드의 CurrentUICulture 속성을 재정의합니다. + + + + + [액세스 문자열의 구문이 잘못되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 컬렉션에 <{2}>은(는) {1}개가 포함되어야 하는데 실제 컬렉션에는 {3}개가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [중복된 항목이 있습니다. <{1}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 대/소문자가 다른 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 크지 않아야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}({2})>. 실제 값: <{3}({4})>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 커야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>을(를) 제외한 모든 값. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [AreSame()에 값 형식을 전달하면 안 됩니다. Object로 변환된 값은 동일한 값으로 간주되지 않습니다. AreEqual()을 사용해 보세요. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}이(가) 실패했습니다. {1}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [async TestMethod with UITestMethodAttribute는 지원되지 않습니다. async를 제거하거나 TestMethodAttribute를 사용하세요.]와 유사한 지역화된 문자열 조회합니다. + + + + + [두 컬렉션이 모두 비어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션 참조가 동일한 컬렉션 개체를 가리킵니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [(null)]과 유사한 지역화된 문자열을 조회합니다. + + + + + Looks up a localized string similar to (object). + + + + + ['{0}' 문자열이 '{1}' 문자열을 포함하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [어설션에 Assert.Equals를 사용할 수 없습니다. 대신 Assert.AreEqual 및 오버로드를 사용하세요.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [컬렉션의 요소 수가 일치하지 않습니다. 예상 값: <{1}>. 실제 값: <{2}>.{0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {0}에 있는 요소가 일치하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소는 예상 형식이 아닙니다. 예상 형식: <{2}>. 실제 형식: <{3}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소가 (null)입니다. 예상 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 문자열로 끝나지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 인수 - EqualsTester에는 Null을 사용할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 형식의 개체를 {1} 형식의 개체로 변환할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [참조된 내부 개체가 더 이상 유효하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. {1}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 속성의 형식은 {2}이어야 하는데 실제로는 {1}입니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 예상 형식: <{1}>. 실제 형식: <{2}>.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 형식: <{1}>. 실제 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치합니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [DataRowAttribute가 지정되지 않았습니다. DataTestMethodAttribute에는 하나 이상의 DataRowAttribute가 필요합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 예외가 throw되지 않았습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. 이 값은 Null일 수 없습니다. {1}.](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [요소 수가 다릅니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 시그니처를 가진 생성자를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 멤버({0})를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + ['{0}' 문자열이 '{1}' 문자열로 시작되지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 예외 형식은 System.Exception이거나 System.Exception에서 파생된 형식이어야 합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [(예외로 인해 {0} 형식의 예외에 대한 메시지를 가져오지 못했습니다.)]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외 {0}을(를) throw하지 않았습니다. {1}](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외를 throw하지 않았습니다. 예외는 테스트 메서드에 정의된 {0} 특성에 의해 예상되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외를 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외 또는 해당 예외에서 파생된 형식을 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 {2} 예외를 throw했습니다. {0} + 예외 메시지: {3} + 스택 추적: {4}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + 단위 테스트 결과 + + + + + 테스트가 실행되었지만 문제가 있습니다. + 예외 또는 실패한 어설션과 관련된 문제일 수 있습니다. + + + + + 테스트가 완료되었지만, 성공인지 실패인지를 알 수 없습니다. + 중단된 테스트에 사용된 것일 수 있습니다. + + + + + 아무 문제 없이 테스트가 실행되었습니다. + + + + + 테스트가 현재 실행 중입니다. + + + + + 테스트를 실행하려고 시도하는 동안 시스템 오류가 발생했습니다. + + + + + 테스트가 시간 초과되었습니다. + + + + + 테스트가 사용자에 의해 중단되었습니다. + + + + + 테스트의 상태를 알 수 없습니다. + + + + + 단위 테스트 프레임워크에 대한 도우미 기능을 제공합니다. + + + + + 재귀적으로 모든 내부 예외에 대한 메시지를 포함하여 예외 메시지를 + 가져옵니다. + + 오류 메시지 정보가 포함된 + 문자열에 대한 메시지 가져오기의 예외 + + + + 클래스와 함께 사용할 수 있는 시간 제한에 대한 열거형입니다. + 열거형의 형식은 일치해야 합니다. + + + + + 무제한입니다. + + + + + 테스트 클래스 특성입니다. + + + + + 이 테스트를 실행할 수 있는 테스트 메서드 특성을 가져옵니다. + + 이 메서드에 정의된 테스트 메서드 특성 인스턴스입니다. + 이 테스트를 실행하는 데 사용됩니다. + Extensions can override this method to customize how all methods in a class are run. + + + + 테스트 메서드 특성입니다. + + + + + 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드입니다. + 테스트 결과를 나타내는 TestResult 개체의 배열입니다. + Extensions can override this method to customize running a TestMethod. + + + + 테스트 초기화 특성입니다. + + + + + 테스트 정리 특성입니다. + + + + + 무시 특성입니다. + + + + + 테스트 속성 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 이름. + + + 값. + + + + + 이름을 가져옵니다. + + + + + 값을 가져옵니다. + + + + + 클래스 초기화 특성입니다. + + + + + 클래스 정리 특성입니다. + + + + + 어셈블리 초기화 특성입니다. + + + + + 어셈블리 정리 특성입니다. + + + + + 테스트 소유자 + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 소유자. + + + + + 소유자를 가져옵니다. + + + + + Priority 특성 - 단위 테스트의 우선 순위를 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 우선 순위. + + + + + 우선 순위를 가져옵니다. + + + + + 테스트의 설명 + + + + + 테스트를 설명하는 클래스의 새 인스턴스를 초기화합니다. + + 설명입니다. + + + + 테스트의 설명을 가져옵니다. + + + + + CSS 프로젝트 구조 URI + + + + + CSS 프로젝트 구조 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 프로젝트 구조 URI입니다. + + + + CSS 프로젝트 구조 URI를 가져옵니다. + + + + + CSS 반복 URI + + + + + CSS 반복 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 반복 URI입니다. + + + + CSS 반복 URI를 가져옵니다. + + + + + WorkItem 특성 - 이 테스트와 연결된 작업 항목을 지정하는 데 사용됩니다. + + + + + WorkItem 특성에 대한 클래스의 새 인스턴스를 초기화합니다. + + 작업 항목에 대한 ID입니다. + + + + 연결된 작업 항목에 대한 ID를 가져옵니다. + + + + + Timeout 특성 - 단위 테스트의 시간 제한을 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한. + + + + + 미리 설정된 시간 제한이 있는 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한 + + + + + 시간 제한을 가져옵니다. + + + + + 어댑터에 반환할 TestResult 개체입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 결과의 표시 이름을 가져오거나 설정합니다. 여러 결과를 반환할 때 유용합니다. + Null인 경우 메서드 이름은 DisplayName으로 사용됩니다. + + + + + 테스트 실행의 결과를 가져오거나 설정합니다. + + + + + 테스트 실패 시 throw할 예외를 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에 의한 디버그 추적을 가져오거나 설정합니다. + + + + + Gets or sets the debug traces by test code. + + + + + 테스트 실행의 지속 시간을 가져오거나 설정합니다. + + + + + 데이터 소스에서 데이터 행 인덱스를 가져오거나 설정합니다. 데이터 기반 테스트에서 + 개별 데이터 행 실행의 결과에 대해서만 설정합니다. + + + + + 테스트 메서드의 반환 값을 가져오거나 설정합니다(현재 항상 Null). + + + + + 테스트로 첨부한 결과 파일을 가져오거나 설정합니다. + + + + + 데이터 기반 테스트에 대한 연결 문자열, 테이블 이름 및 행 액세스 방법을 지정합니다. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource의 기본 공급자 이름입니다. + + + + + 기본 데이터 액세스 방법입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 데이터 소스에 액세스할 데이터 공급자, 연결 문자열, 데이터 테이블 및 데이터 액세스 방법으로 초기화됩니다. + + 고정 데이터 공급자 이름(예: System.Data.SqlClient) + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + 데이터에 액세스할 순서를 지정합니다. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 연결 문자열 및 테이블 이름으로 초기화됩니다. + OLEDB 데이터 소스에 액세스하기 위한 연결 문자열 및 데이터 테이블을 지정하세요. + + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 설정 이름과 연결된 연결 문자열 및 데이터 공급자로 초기화됩니다. + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에 있는 데이터 소스의 이름. + + + + 데이터 소스의 데이터 공급자를 나타내는 값을 가져옵니다. + + + 데이터 공급자 이름. 데이터 공급자를 개체 초기화에서 지정하지 않은 경우 System.Data.OleDb의 기본 공급자가 반환됩니다. + + + + + 데이터 소스의 연결 문자열을 나타내는 값을 가져옵니다. + + + + + 데이터를 제공하는 테이블 이름을 나타내는 값을 가져옵니다. + + + + + 데이터 소스에 액세스하는 데 사용되는 메서드를 가져옵니다. + + + + 값 중 하나입니다. 이(가) 초기화되지 않은 경우 다음 기본값이 반환됩니다. . + + + + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에서 찾은 데이터 소스의 이름을 가져옵니다. + + + + + 데이터를 인라인으로 지정할 수 있는 데이터 기반 테스트의 특성입니다. + + + + + 모든 데이터 행을 찾고 실행합니다. + + + 테스트 메서드. + + + 배열 . + + + + + 데이터 기반 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드. + 데이터 행. + 실행 결과. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..d507bf258 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Służy do określenia elementu wdrożenia (pliku lub katalogu) dla wdrożenia testowego. + Może być określony w klasie testowej lub metodzie testowej. + Może mieć wiele wystąpień atrybutu w celu określenia więcej niż jednego elementu. + Ścieżka elementu może być bezwzględna lub względna. Jeśli jest względna, jest określana względem elementu RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicjuje nowe wystąpienie klasy . + + Plik lub katalog do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + + + + Inicjuje nowe wystąpienie klasy + + Względna lub bezwzględna ścieżka do pliku lub katalogu do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + Ścieżka katalogu, do którego mają być kopiowane elementy. Może być bezwzględna lub określana względem katalogu wdrażania. Wszystkie pliki i katalogi określone przez zostaną skopiowane do tego katalogu. + + + + Pobiera ścieżkę źródłowego pliku lub folderu do skopiowania. + + + + + Pobiera ścieżkę katalogu, do którego element jest kopiowany. + + + + + Klasa TestContext. Ta klasa powinna być w pełni abstrakcyjna i nie może zawierać żadnych + elementów członkowskich. Adapter zaimplementuje elementy członkowskie. Użytkownicy platformy powinni + uzyskiwać dostęp do tego elementu tylko za pośrednictwem prawidłowo zdefiniowanego interfejsu. + + + + + Pobiera właściwości testu. + + + + + Pobiera w pełni kwalifikowaną nazwę klasy zawierającej aktualnie wykonywaną metodę testową + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Pobiera nazwę aktualnie wykonywanej metody testowej + + + + + Pobiera wynik bieżącego testu. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..559338436 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metoda TestMethod do wykonania. + + + + + Pobiera nazwę metody testowej. + + + + + Pobiera nazwę klasy testowej. + + + + + Pobiera zwracany typ metody testowej. + + + + + Pobiera parametry metody testowej. + + + + + Pobiera element methodInfo dla metody testowej. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Wywołuje metodę testową. + + + Argumenty przekazywane do metody testowej (np. w przypadku opartej na danych) + + + Wynik wywołania metody testowej. + + + This call handles asynchronous test methods as well. + + + + + Pobierz wszystkie atrybuty metody testowej. + + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Wszystkie atrybuty. + + + + + Pobierz atrybut określonego typu. + + System.Attribute type. + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Atrybuty określonego typu. + + + + + Element pomocniczy. + + + + + Sprawdzany parametr nie ma wartości null. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws argument null exception when parameter is null. + + + + Sprawdzany parametr nie ma wartości null i nie jest pusty. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws ArgumentException when parameter is null. + + + + Wyliczenie dotyczące sposobu dostępu do wierszy danych w teście opartym na danych. + + + + + Wiersze są zwracane po kolei. + + + + + Wiersze są zwracane w kolejności losowej. + + + + + Atrybut do definiowania danych wbudowanych dla metody testowej. + + + + + Inicjuje nowe wystąpienie klasy . + + Obiekt danych. + + + + Inicjuje nowe wystąpienie klasy , które pobiera tablicę argumentów. + + Obiekt danych. + Więcej danych. + + + + Pobiera dane do wywoływania metody testowej. + + + + + Pobiera lub ustawia nazwę wyświetlaną w wynikach testu do dostosowania. + + + + + Wyjątek niejednoznacznej asercji. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Klasa InternalTestFailureException. Używana do określenia wewnętrznego błędu przypadku testowego + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Atrybut określający, że jest oczekiwany wyjątek określonego typu + + + + + Inicjuje nowe wystąpienie klasy z oczekiwanym typem + + Typ oczekiwanego wyjątku + + + + Inicjuje nowe wystąpienie klasy z + oczekiwanym typem i komunikatem do uwzględnienia, gdy test nie zgłasza żadnego wyjątku. + + Typ oczekiwanego wyjątku + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ nie zostanie zgłoszony wyjątek + + + + + Pobiera wartość wskazującą typ oczekiwanego wyjątku + + + + + Pobiera lub ustawia wartość wskazującą, czy typy pochodne typu oczekiwanego wyjątku + są traktowane jako oczekiwane + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Weryfikuje, czy typ wyjątku zgłoszonego przez test jednostkowy jest oczekiwany + + Wyjątek zgłoszony przez test jednostkowy + + + + Klasa podstawowa dla atrybutów, które określają, że jest oczekiwany wyjątek z testu jednostkowego + + + + + Inicjuje nowe wystąpienie klasy z domyślnym komunikatem o braku wyjątku + + + + + Inicjuje nowe wystąpienie klasy z komunikatem o braku wyjątku + + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ + nie zostanie zgłoszony wyjątek + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera domyślny komunikat bez wyjątku + + Nazwa typu atrybutu ExpectedException + Domyślny komunikat bez wyjątku + + + + Określa, czy wyjątek jest oczekiwany. Jeśli wykonanie metody zakończy się normalnie, oznacza to, + że wyjątek był oczekiwany. Jeśli metoda zgłosi wyjątek, oznacza to, + że wyjątek nie był oczekiwany, a komunikat zgłoszonego wyjątku + jest dołączony do wyniku testu. Klasy można użyć dla + wygody. Jeśli zostanie użyta klasa i asercja nie powiedzie się, + wynik testu zostanie ustawiony jako Niejednoznaczny. + + Wyjątek zgłoszony przez test jednostkowy + + + + Zgłoś ponownie wyjątek, jeśli jest to wyjątek AssertFailedException lub AssertInconclusiveException + + Wyjątek do ponownego zgłoszenia, jeśli jest to wyjątek asercji + + + + Ta klasa jest zaprojektowana w taki sposób, aby pomóc użytkownikowi wykonującemu testy jednostkowe dla typów używających typów ogólnych. + Element GenericParameterHelper zachowuje niektóre typowe ograniczenia typów ogólnych, + takie jak: + 1. publiczny konstruktor domyślny + 2. implementuje wspólny interfejs: IComparable, IEnumerable + + + + + Inicjuje nowe wystąpienie klasy , które + spełnia ograniczenie „newable” w typach ogólnych języka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicjuje nowe wystąpienie klasy , które + inicjuje właściwość Data wartością dostarczoną przez użytkownika. + + Dowolna liczba całkowita + + + + Pobiera lub ustawia element Data + + + + + Wykonuje porównanie wartości dwóch obiektów GenericParameterHelper + + obiekt, z którym ma zostać wykonane porównanie + Wartość true, jeśli obiekt ma tę samą wartość co obiekt „this” typu GenericParameterHelper. + W przeciwnym razie wartość false. + + + + Zwraca wartość skrótu tego obiektu. + + Kod skrótu. + + + + Porównuje dane dwóch obiektów . + + Obiekt do porównania. + + Liczba ze znakiem, która wskazuje wartości względne tego wystąpienia i wartości. + + + Thrown when the object passed in is not an instance of . + + + + + Zwraca obiekt IEnumerator, którego długość jest określona na podstawie + właściwości Data. + + Obiekt IEnumerator + + + + Zwraca obiekt GenericParameterHelper równy + bieżącemu obiektowi. + + Sklonowany obiekt. + + + + Umożliwia użytkownikom rejestrowanie/zapisywanie śladów z testów jednostek w celach diagnostycznych. + + + + + Procedura obsługi elementu LogMessage. + + Komunikat do zarejestrowania. + + + + Zdarzenie, które ma być nasłuchiwane. Zgłaszane, gdy składnik zapisywania testu jednostkowego zapisze jakiś komunikat. + Zwykle zużywane przez adapter. + + + + + Interfejs API składnika zapisywania testu do wywołania na potrzeby rejestrowania komunikatów. + + Format ciągu z symbolami zastępczymi. + Parametry dla symboli zastępczych. + + + + Atrybut TestCategory używany do określenia kategorii testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy i stosuje kategorię do testu. + + + Kategoria testu. + + + + + Pobiera kategorie testu, które zostały zastosowane do testu. + + + + + Klasa podstawowa atrybutu „Category” + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicjuje nowe wystąpienie klasy . + Stosuje kategorię do testu. Ciągi zwrócone przez element TestCategories + są używane w poleceniu /category do filtrowania testów + + + + + Pobiera kategorię testu, która została zastosowana do testu. + + + + + Klasa AssertFailedException. Używana do wskazania niepowodzenia przypadku testowego + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków w ramach + testów jednostkowych. Jeśli testowany warunek nie zostanie spełniony, zostanie zgłoszony + wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is true. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null. + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Zgłasza wyjątek AssertFailedException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Statyczne przeciążenia metody equals są używane do porównywania wystąpień dwóch typów pod kątem + równości odwołań. Ta metoda nie powinna być używana do porównywania dwóch wystąpień pod kątem + równości. Ten obiekt zawsze będzie zgłaszał wyjątek za pomocą metody Assert.Fail. Użyj metody + Assert.AreEqual i skojarzonych przeciążeń w testach jednostkowych. + + Obiekt A + Obiekt B + Zawsze wartość false. + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Zastępuje znaki null („\0”) ciągiem „\\0”. + + + Ciąg do wyszukania. + + + Przekonwertowany ciąg ze znakami null zastąpionymi ciągiem „\\0”. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funkcja pomocnicza, która tworzy i zgłasza wyjątek AssertionFailedException + + + nazwa asercji zgłaszającej wyjątek + + + komunikat opisujący warunki dla błędu asercji + + + Parametry. + + + + + Sprawdza parametry pod kątem prawidłowych warunków + + + Parametr. + + + Nazwa asercji. + + + nazwa parametru + + + komunikat dla wyjątku nieprawidłowego parametru + + + Parametry. + + + + + Bezpiecznie konwertuje obiekt na ciąg, obsługując wartości null i znaki null. + Wartości null są konwertowane na ciąg „(null)”. Znaki null są konwertowane na ciąg „\\0”. + + + Obiekt do przekonwertowania na ciąg. + + + Przekonwertowany ciąg. + + + + + Asercja ciągu. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if matches . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków skojarzonych + z kolekcjami w ramach testów jednostkowych. Jeśli testowany warunek + nie jest spełniony, zostanie zgłoszony wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is not found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if every element in is also found in + . + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Określa, czy pierwsza kolekcja jest podzbiorem drugiej kolekcji. + Jeśli któryś zbiór zawiera zduplikowane elementy, liczba wystąpień + elementu w podzbiorze musi być mniejsza lub równa liczbie + wystąpień w nadzbiorze. + + + Kolekcja, co do której test oczekuje, że powinna być zawarta w . + + + Kolekcja, co do której test oczekuje, że powinna zawierać . + + + Wartość true, jeśli jest podzbiorem kolekcji + , w przeciwnym razie wartość false. + + + + + Tworzy słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + Kolekcja do przetworzenia. + + + Liczba elementów o wartości null w kolekcji. + + + Słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + + + Znajduje niezgodny element w dwóch kolekcjach. Niezgodny + element to ten, którego liczba wystąpień w oczekiwanej kolekcji + jest inna niż w rzeczywistej kolekcji. Kolekcje + są uznawane za różne odwołania o wartości innej niż null z tą samą + liczbą elementów. Obiekt wywołujący jest odpowiedzialny za ten poziom weryfikacji. + Jeśli nie ma żadnego niezgodnego elementu, funkcja zwraca wynik + false i parametry wyjściowe nie powinny być używane. + + + Pierwsza kolekcja do porównania. + + + Druga kolekcja do porównania. + + + Oczekiwana liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Rzeczywista liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Niezgodny element (może mieć wartość null) lub wartość null, jeśli + nie ma żadnego niezgodnego elementu. + + + wartość true, jeśli znaleziono niezgodny element; w przeciwnym razie wartość false. + + + + + porównuje obiekty przy użyciu funkcji object.Equals + + + + + Klasa podstawowa dla wyjątków struktury. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itp. + + + + + Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę. + + + + + Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich + przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg dostępu ma nieprawidłową składnię. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana kolekcja zawiera następującą liczbę wystąpień elementu <{2}>: {1}. Rzeczywista kolekcja zawiera następującą liczbę wystąpień: {3}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Znaleziono zduplikowany element: <{1}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano: <{1}>. Przypadek jest inny w wartości rzeczywistej: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy nie większej niż <{3}> między oczekiwaną wartością <{1}> i wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1} ({2})>. Rzeczywista wartość: <{3} ({4})>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1}>. Rzeczywista wartość: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy większej niż <{3}> między oczekiwaną wartością <{1}> a wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano dowolnej wartości z wyjątkiem: <{1}>. Wartość rzeczywista: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie przekazuj typów wartości do metody AreSame(). Wartości przekonwertowane na typ Object nigdy nie będą takie same. Rozważ użycie metody AreEqual(). {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} — niepowodzenie. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do asynchronicznej metody TestMethod z elementem UITestMethodAttribute, które nie są obsługiwane. Usuń element asynchroniczny lub użyj elementu TestMethodAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje są puste. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Odwołania do obu kolekcji wskazują ten sam obiekt kolekcji. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0}({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (null). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (object). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie zawiera ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} ({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można użyć metody Assert.Equals dla asercji. Zamiast tego użyj metody Assert.AreEqual i przeciążeń. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Liczba elementów w kolekcjach nie jest zgodna. Oczekiwana wartość: <{1}>. Wartość rzeczywista: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {0} nie jest zgodny. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} nie ma oczekiwanego typu. Oczekiwany typ: <{2}>. Rzeczywisty typ: <{3}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} ma wartość (null). Oczekiwany typ: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie kończy się ciągiem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nieprawidłowy argument. Element EqualsTester nie może używać wartości null. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można przekonwertować obiektu typu {0} na typ {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Przywoływany obiekt wewnętrzny nie jest już prawidłowy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Właściwość {0} ma typ {1}. Oczekiwano typu {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} Oczekiwany typ: <{1}>. Rzeczywisty typ: <{2}>. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Niepoprawny typ: <{1}>. Rzeczywisty typ: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie określono atrybutu DataRowAttribute. Atrybut DataTestMethodAttribute wymaga co najmniej jednego atrybutu DataRowAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie zgłoszono wyjątku. Oczekiwany wyjątek: {1}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. Wartość nie może być równa null. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Inna liczba elementów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć konstruktora z określoną sygnaturą. Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć określonego elementu członkowskiego ({0}). Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie rozpoczyna się od ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwanym typem wyjątku musi być typ System.Exception lub typ pochodzący od typu System.Exception. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (Nie można pobrać komunikatu dotyczącego wyjątku typu {0} z powodu wyjątku). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła oczekiwanego wyjątku {0}. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła wyjątku. Wyjątek był oczekiwany przez atrybut {0} zdefiniowany w metodzie testowej. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1}. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1} lub typu, który od niego pochodzi. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Zgłoszono wyjątek {2}, ale oczekiwano wyjątku {1}. {0} + Komunikat o wyjątku: {3} + Ślad stosu: {4}. + + + + + wyniki testu jednostkowego + + + + + Test został wykonany, ale wystąpiły problemy. + Problemy mogą obejmować wyjątki lub asercje zakończone niepowodzeniem. + + + + + Test został ukończony, ale nie można stwierdzić, czy zakończył się powodzeniem, czy niepowodzeniem. + Może być używany dla przerwanych testów. + + + + + Test został wykonany bez żadnych problemów. + + + + + Test jest obecnie wykonywany. + + + + + Wystąpił błąd systemu podczas próby wykonania testu. + + + + + Upłynął limit czasu testu. + + + + + Test został przerwany przez użytkownika. + + + + + Stan testu jest nieznany + + + + + Udostępnia funkcjonalność pomocnika dla platformy testów jednostkowych + + + + + Pobiera komunikaty wyjątku, w tym rekursywnie komunikaty wszystkich wewnętrznych + wyjątków + + Wyjątek, dla którego mają zostać pobrane komunikaty + ciąg z informacjami o komunikacie o błędzie + + + + Wyliczenie dla limitów czasu, które może być używane z klasą . + Typ wyliczenia musi być zgodny + + + + + Nieskończone. + + + + + Atrybut klasy testowej. + + + + + Pobiera atrybut metody testowej, który umożliwia uruchomienie tego testu. + + Wystąpienie atrybutu metody testowej zdefiniowane w tej metodzie. + do użycia do uruchamiania tego testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atrybut metody testowej. + + + + + Wykonuje metodę testową. + + Metoda testowa do wykonania. + Tablica obiektów TestResult reprezentujących wyniki testu. + Extensions can override this method to customize running a TestMethod. + + + + Atrybut inicjowania testu. + + + + + Atrybut oczyszczania testu. + + + + + Atrybut ignorowania. + + + + + Atrybut właściwości testu. + + + + + Inicjuje nowe wystąpienie klasy . + + + Nazwa. + + + Wartość. + + + + + Pobiera nazwę. + + + + + Pobiera wartość. + + + + + Atrybut inicjowania klasy. + + + + + Atrybut oczyszczania klasy. + + + + + Atrybut inicjowania zestawu. + + + + + Atrybut oczyszczania zestawu. + + + + + Właściciel testu + + + + + Inicjuje nowe wystąpienie klasy . + + + Właściciel. + + + + + Pobiera właściciela. + + + + + Atrybut priorytetu służący do określania priorytetu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Priorytet. + + + + + Pobiera priorytet. + + + + + Opis testu + + + + + Inicjuje nowe wystąpienie klasy do opisu testu. + + Opis. + + + + Pobiera opis testu. + + + + + Identyfikator URI struktury projektu CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI struktury projektu CSS. + + Identyfikator URI struktury projektu CSS. + + + + Pobiera identyfikator URI struktury projektu CSS. + + + + + Identyfikator URI iteracji CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI iteracji CSS. + + Identyfikator URI iteracji CSS. + + + + Pobiera identyfikator URI iteracji CSS. + + + + + Atrybut elementu roboczego służący do określania elementu roboczego skojarzonego z tym testem. + + + + + Inicjuje nowe wystąpienie klasy dla atrybutu WorkItem. + + Identyfikator dla elementu roboczego. + + + + Pobiera identyfikator dla skojarzonego elementu roboczego. + + + + + Atrybut limitu czasu służący do określania limitu czasu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Limit czasu. + + + + + Inicjuje nowe wystąpienie klasy ze wstępnie ustawionym limitem czasu + + + Limit czasu + + + + + Pobiera limit czasu. + + + + + Obiekt TestResult zwracany do adaptera. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Pobiera lub ustawia nazwę wyświetlaną wyniku. Przydatny w przypadku zwracania wielu wyników. + Jeśli ma wartość null, nazwa metody jest używana jako nazwa wyświetlana. + + + + + Pobiera lub ustawia wynik wykonania testu. + + + + + Pobiera lub ustawia wyjątek zgłoszony, gdy test kończy się niepowodzeniem. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia ślady debugowania przez kod testu. + + + + + Gets or sets the debug traces by test code. + + + + + Pobiera lub ustawia czas trwania wykonania testu. + + + + + Pobiera lub ustawia indeks wiersza danych w źródle danych. Ustawia tylko dla wyników oddzielnych + uruchomień wiersza danych w teście opartym na danych. + + + + + Pobiera lub ustawia wartość zwracaną metody testowej. (Obecnie zawsze wartość null). + + + + + Pobiera lub ustawia pliki wyników dołączone przez test. + + + + + Określa parametry połączenia, nazwę tabeli i metodę dostępu do wiersza w przypadku testowania opartego na danych. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nazwa domyślnego dostawcy dla źródła danych. + + + + + Domyślna metoda uzyskiwania dostępu do danych. + + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych, parametrami połączenia, tabelą danych i metodą dostępu do danych w celu uzyskania dostępu do źródła danych. + + Niezmienna nazwa dostawcy danych, taka jak System.Data.SqlClient + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + Określa kolejność dostępu do danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z parametrami połączenia i nazwą tabeli. + Określ parametry połączenia i tabelę danych w celu uzyskania dostępu do źródła danych OLEDB. + + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych i parametrami połączenia skojarzonymi z nazwą ustawienia. + + Nazwa źródła danych znaleziona w sekcji <microsoft.visualstudio.qualitytools> pliku app.config. + + + + Pobiera wartość reprezentującą dostawcę danych źródła danych. + + + Nazwa dostawcy danych. Jeśli dostawca danych nie został wyznaczony w czasie inicjowania obiektu, zostanie zwrócony domyślny dostawca obiektu System.Data.OleDb. + + + + + Pobiera wartość reprezentującą parametry połączenia dla źródła danych. + + + + + Pobiera wartość wskazującą nazwę tabeli udostępniającej dane. + + + + + Pobiera metodę używaną do uzyskiwania dostępu do źródła danych. + + + + Jedna z . Jeśli nie zainicjowano , zwróci wartość domyślną . + + + + + Pobiera nazwę źródła danych znajdującego się w sekcji <microsoft.visualstudio.qualitytools> w pliku app.config. + + + + + Atrybut dla testu opartego na danych, w którym dane można określić bezpośrednio. + + + + + Znajdź wszystkie wiersze danych i wykonaj. + + + Metoda testowa. + + + Tablica elementów . + + + + + Uruchamianie metody testowej dla testu opartego na danych. + + Metoda testowa do wykonania. + Wiersz danych. + Wyniki wykonania. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..7fe8bcaca --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usado para especificar o item de implantação (arquivo ou diretório) para implantação por teste. + Pode ser especificado em classe de teste ou em método de teste. + Pode ter várias instâncias do atributo para especificar mais de um item. + O caminho do item pode ser absoluto ou relativo. Se relativo, é relativo a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Inicializa uma nova instância da classe . + + O arquivo ou o diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + + + + Inicializa uma nova instância da classe + + O caminho relativo ou absoluto ao arquivo ou ao diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + O caminho do diretório para o qual os itens deverão ser copiados. Ele pode ser absoluto ou relativo ao diretório de implantação. Todos os arquivos e diretórios identificados por serão copiados para esse diretório. + + + + Obtém o caminho da pasta ou do arquivo de origem a ser copiado. + + + + + Obtém o caminho do diretório para o qual o item é copiado. + + + + + Classe TestContext. Essa classe deve ser totalmente abstrata e não conter nenhum + membro. O adaptador implementará os membros. Os usuários na estrutura devem + acessá-la somente por meio de uma interface bem definida. + + + + + Obtém as propriedades de teste para um teste. + + + + + Obtém o Nome totalmente qualificado da classe contendo o método de teste executado no momento + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtém o Nome do método de teste executado no momento + + + + + Obtém o resultado do teste atual. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2b63dd5e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + O TestMethod para a execução. + + + + + Obtém o nome do método de teste. + + + + + Obtém o nome da classe de teste. + + + + + Obtém o tipo de retorno do método de teste. + + + + + Obtém os parâmetros do método de teste. + + + + + Obtém o methodInfo para o método de teste. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca o método de teste. + + + Argumentos a serem passados ao método de teste. (Por exemplo, para testes controlados por dados) + + + Resultado da invocação do método de teste. + + + This call handles asynchronous test methods as well. + + + + + Obter todos os atributos do método de teste. + + + Se o atributo definido na classe pai é válido. + + + Todos os atributos. + + + + + Obter atributo de tipo específico. + + System.Attribute type. + + Se o atributo definido na classe pai é válido. + + + Os atributos do tipo especificado. + + + + + O auxiliar. + + + + + O parâmetro de verificação não nulo. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws argument null exception when parameter is null. + + + + O parâmetro de verificação não nulo nem vazio. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws ArgumentException when parameter is null. + + + + Enumeração para como acessamos as linhas de dados no teste controlado por dados. + + + + + As linhas são retornadas em ordem sequencial. + + + + + As linhas são retornadas em ordem aleatória. + + + + + O atributo para definir dados embutidos para um método de teste. + + + + + Inicializa uma nova instância da classe . + + O objeto de dados. + + + + Inicializa a nova instância da classe que ocupa uma matriz de argumentos. + + Um objeto de dados. + Mais dados. + + + + Obtém Dados para chamar o método de teste. + + + + + Obtém ou define o nome de exibição nos resultados de teste para personalização. + + + + + A exceção inconclusiva da asserção. + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Classe InternalTestFailureException. Usada para indicar falha interna de um caso de teste + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + + + + Inicializa uma nova instância da classe . + + + + + Atributo que especifica que uma exceção do tipo especificado é esperada + + + + + Inicializa uma nova instância da classe com o tipo especificado + + Tipo da exceção esperada + + + + Inicializa uma nova instância da classe com + o tipo esperado e a mensagem a ser incluída quando nenhuma exceção é gerada pelo teste. + + Tipo da exceção esperada + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma exceção + + + + + Obtém um valor que indica o Tipo da exceção esperada + + + + + Obtém ou define um valor que indica se é para permitir tipos derivados do tipo da exceção esperada para + qualificá-la como esperada + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Verifica se o tipo da exceção gerada pelo teste de unidade é esperado + + A exceção gerada pelo teste de unidade + + + + Classe base para atributos que especificam que uma exceção de um teste de unidade é esperada + + + + + Inicializa uma nova instância da classe com uma mensagem de não exceção padrão + + + + + Inicializa a nova instância da classe com uma mensagem de não exceção + + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma + exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem de não exceção padrão + + O nome do tipo de atributo ExpectedException + A mensagem de não exceção padrão + + + + Determina se uma exceção é esperada. Se o método é retornado, entende-se + que a exceção era esperada. Se o método gera uma exceção, entende-se + que a exceção não era esperada e a mensagem de exceção gerada + é incluída no resultado do teste. A classe pode ser usada para + conveniência. Se é usada e há falha de asserção, + o resultado do teste é definido como Inconclusivo. + + A exceção gerada pelo teste de unidade + + + + Gerar a exceção novamente se for uma AssertFailedException ou uma AssertInconclusiveException + + A exceção a ser gerada novamente se for uma exceção de asserção + + + + Essa classe é projetada para ajudar o usuário a executar o teste de unidade para os tipos que usam tipos genéricos. + GenericParameterHelper satisfaz algumas restrições comuns de tipos genéricos, + como: + 1. construtor público padrão + 2. implementa interface comum: IComparable, IEnumerable + + + + + Inicializa a nova instância da classe que + satisfaz a restrição 'newable' em genéricos C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa a nova instância da classe que + inicializa a propriedade Data para um valor fornecido pelo usuário. + + Qualquer valor inteiro + + + + Obtém ou define Data + + + + + Executa a comparação de valores de dois objetos GenericParameterHelper + + objeto com o qual comparar + verdadeiro se o objeto tem o mesmo valor que 'esse' objeto GenericParameterHelper. + Caso contrário, falso. + + + + Retorna um código hash para esse objeto. + + O código hash. + + + + Compara os dados dos dois objetos . + + O objeto com o qual comparar. + + Um número assinado indicando os valores relativos dessa instância e valor. + + + Thrown when the object passed in is not an instance of . + + + + + Retorna um objeto IEnumerator cujo comprimento é derivado + da propriedade Data. + + O objeto IEnumerator + + + + Retorna um objeto GenericParameterHelper que é igual ao + objeto atual. + + O objeto clonado. + + + + Permite que usuários registrem/gravem rastros de testes de unidade para diagnósticos. + + + + + Manipulador para LogMessage. + + Mensagem a ser registrada. + + + + Evento a ser escutado. Acionado quando o gerador do teste de unidade escreve alguma mensagem. + Principalmente para ser consumido pelo adaptador. + + + + + API para o gravador de teste chamar Registrar mensagens. + + Formato de cadeia de caracteres com espaços reservados. + Parâmetros dos espaços reservados. + + + + Atributo TestCategory. Usado para especificar a categoria de um teste de unidade. + + + + + Inicializa a nova instância da classe e aplica a categoria ao teste. + + + A Categoria de teste. + + + + + Obtém as categorias de teste aplicadas ao teste. + + + + + Classe base para o atributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa a nova instância da classe . + Aplica a categoria ao teste. As cadeias de caracteres retornadas por TestCategories + são usadas com o comando /category para filtrar os testes + + + + + Obtém a categoria de teste aplicada ao teste. + + + + + Classe AssertFailedException. Usada para indicar falha em um caso de teste + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Uma coleção de classes auxiliares para testar várias condições nos + testes de unidade. Se a condição testada não é atendida, uma exceção + é gerada. + + + + + Obtém uma instância singleton da funcionalidade Asserção. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is false. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is true. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null. + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if refers to the same object + as . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is not equal to . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Gera uma AssertFailedException. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Os métodos estático igual a sobrecargas são usados para comparar instâncias de dois tipos em relação à igualdade de + referência. Esse método não deve ser usado para comparar a igualdade de + duas instâncias. Esse objeto sempre gerará Assert.Fail. Use + Assert.AreEqual e sobrecargas associadas nos testes de unidade. + + Objeto A + Objeto B + Sempre falso. + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Substitui os caracteres nulos ('\0') por "\\0". + + + A cadeia de caracteres a ser pesquisada. + + + A cadeia de caracteres convertida com os caracteres nulos substituídos por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Função auxiliar que cria e gera uma AssertionFailedException + + + nome da asserção que gera uma exceção + + + mensagem que descreve as condições da falha de asserção + + + Os parâmetros. + + + + + Verifica o parâmetro das condições válidas + + + O parâmetro. + + + O Nome da asserção. + + + nome do parâmetro + + + mensagem da exceção de parâmetro inválido + + + Os parâmetros. + + + + + Converte com segurança um objeto em uma cadeia de caracteres manipulando valores e caracteres nulos. + Os valores nulos são convertidos em "(null)". Os caracteres nulos são convertidos em "\\0". + + + O objeto a ser convertido em uma cadeia de caracteres. + + + A cadeia de caracteres convertida. + + + + + A asserção da cadeia de caracteres. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if matches . + + + + + Uma coleção de classes auxiliares para testar várias condições associadas + às coleções nos testes de unidade. Se a condição testada não é + atendida, uma exceção é gerada. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is found in + . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if every element in is also found in + . + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Determina se a primeira coleção é um subconjunto da segunda + coleção. Se os conjuntos contiverem elementos duplicados, o número + de ocorrências do elemento no subconjunto deverá ser menor ou igual + ao número de ocorrências no superconjunto. + + + A coleção que o teste espera que esteja contida em . + + + A coleção que o teste espera que contenha . + + + Verdadeiro se é um subconjunto de + , caso contrário, falso. + + + + + Cria um dicionário contendo o número de ocorrências de cada + elemento na coleção especificada. + + + A coleção a ser processada. + + + O número de elementos nulos na coleção. + + + Um dicionário contendo o número de ocorrências de cada elemento + na coleção especificada. + + + + + Encontra um elemento incompatível entre as duas coleções. Um elemento + incompatível é aquele que aparece um número diferente de vezes na + coleção esperada em relação à coleção real. É pressuposto que + as coleções sejam referências não nulas diferentes com o + mesmo número de elementos. O chamador é responsável por esse nível de + verificação. Se não houver nenhum elemento incompatível, a função retornará + falso e os parâmetros de saída não deverão ser usados. + + + A primeira coleção a ser comparada. + + + A segunda coleção a ser comparada. + + + O número esperado de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O número real de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O elemento incompatível (poderá ser nulo) ou nulo se não houver nenhum + elemento incompatível. + + + verdadeiro se um elemento incompatível foi encontrado. Caso contrário, falso. + + + + + compara os objetos usando object.Equals + + + + + Classe base para exceções do Framework. + + + + + Inicializa uma nova instância da classe . + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Uma classe de recurso fortemente tipada para pesquisar cadeias de caracteres localizadas, etc. + + + + + Retorna a instância de ResourceManager armazenada em cache usada por essa classe. + + + + + Substitui a propriedade CurrentUICulture do thread atual em todas + as pesquisas de recursos usando essa classe de recurso fortemente tipada. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres de acesso tem sintaxe inválida. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A coleção esperada contém {1} ocorrência(s) de <{2}>. A coleção real contém {3} ocorrência(s). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Item duplicado encontrado:<{1}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Maiúsculas e minúsculas diferentes para o valor real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença não maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1} ({2})>. Real:<{3} ({4})>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a É esperado qualquer valor, exceto:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não passe tipos de valores para AreSame(). Os valores convertidos em Object nunca serão os mesmos. Considere usar AreEqual(). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante à Falha em {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada similar a TestMethod assíncrono com UITestMethodAttribute sem suporte. Remova o assíncrono ou use o TestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções estão vazias. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as referências de coleções apontam para o mesmo objeto de coleção. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0}({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (nulo). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (objeto). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não contém a cadeia de caracteres '{1}'. {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} ({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Assert.Equals não deve ser usado para Asserções. Use Assert.AreEqual e sobrecargas em seu lugar. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O número de elementos nas coleções não corresponde. Esperado:<{1}>. Real:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {0} não corresponde. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} não é de tipo esperado. Tipo esperado:<{2}>. Tipo real:<{3}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} é (nulo). Tipo esperado:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não termina com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Argumento inválido – EqualsTester não pode usar nulos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não é possível converter objeto do tipo {0} em {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O objeto interno referenciado não é mais válido. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A propriedade {0} é do tipo {1}; tipo esperado {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} Tipo esperado:<{1}>. Tipo real:<{2}>.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Tipo incorreto:<{1}>. Tipo real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhum DataRowAttribute especificado. Pelo menos um DataRowAttribute é necessário com DataTestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhuma exceção gerada. A exceção {1} era esperada. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. O valor não pode ser nulo. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Número diferente de elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O construtor com a assinatura especificada não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O membro especificado ({0}) não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não começa com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O tipo de exceção esperado deve ser System.Exception ou um tipo derivado de System.Exception. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (Falha ao obter a mensagem para uma exceção do tipo {0} devido a uma exceção.). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou a exceção esperada {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou uma exceção. Uma exceção era esperada pelo atributo {0} definido no método de teste. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperada a exceção {1}. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperado a exceção {1} ou um tipo derivado dela. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Exceção gerada {2}, mas a exceção {1} era esperada. {0} + Mensagem de Exceção: {3} + Rastreamento de Pilha: {4}. + + + + + resultados de teste de unidade + + + + + O teste foi executado, mas ocorreram problemas. + Os problemas podem envolver exceções ou asserções com falha. + + + + + O teste foi concluído, mas não é possível dizer se houve aprovação ou falha. + Pode ser usado para testes anulados. + + + + + O teste foi executado sem nenhum problema. + + + + + O teste está em execução no momento. + + + + + Ocorreu um erro de sistema ao tentarmos executar um teste. + + + + + O tempo limite do teste foi atingido. + + + + + O teste foi anulado pelo usuário. + + + + + O teste está em um estado desconhecido + + + + + Fornece funcionalidade auxiliar para a estrutura do teste de unidade + + + + + Obtém as mensagens de exceção, incluindo as mensagens para todas as exceções internas + recursivamente + + Exceção ao obter mensagens para + cadeia de caracteres com informações de mensagem de erro + + + + Enumeração para tempos limite, a qual pode ser usada com a classe . + O tipo de enumeração deve corresponder + + + + + O infinito. + + + + + O atributo da classe de teste. + + + + + Obtém um atributo de método de teste que habilita a execução desse teste. + + A instância de atributo do método de teste definida neste método. + O a ser usado para executar esse teste. + Extensions can override this method to customize how all methods in a class are run. + + + + O atributo do método de teste. + + + + + Executa um método de teste. + + O método de teste a ser executado. + Uma matriz de objetos TestResult que representam resultados do teste. + Extensions can override this method to customize running a TestMethod. + + + + O atributo de inicialização do teste. + + + + + O atributo de limpeza do teste. + + + + + O atributo ignorar. + + + + + O atributo de propriedade de teste. + + + + + Inicializa uma nova instância da classe . + + + O nome. + + + O valor. + + + + + Obtém o nome. + + + + + Obtém o valor. + + + + + O atributo de inicialização de classe. + + + + + O atributo de limpeza de classe. + + + + + O atributo de inicialização de assembly. + + + + + O atributo de limpeza de assembly. + + + + + Proprietário do Teste + + + + + Inicializa uma nova instância da classe . + + + O proprietário. + + + + + Obtém o proprietário. + + + + + Atributo de prioridade. Usado para especificar a prioridade de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + A prioridade. + + + + + Obtém a prioridade. + + + + + Descrição do teste + + + + + Inicializa uma nova instância da classe para descrever um teste. + + A descrição. + + + + Obtém a descrição de um teste. + + + + + URI de Estrutura do Projeto de CSS + + + + + Inicializa a nova instância da classe para o URI da Estrutura do Projeto CSS. + + O URI da Estrutura do Projeto ECSS. + + + + Obtém o URI da Estrutura do Projeto CSS. + + + + + URI de Iteração de CSS + + + + + Inicializa uma nova instância da classe para o URI de Iteração do CSS. + + O URI de iteração do CSS. + + + + Obtém o URI de Iteração do CSS. + + + + + Atributo WorkItem. Usado para especificar um item de trabalho associado a esse teste. + + + + + Inicializa a nova instância da classe para o Atributo WorkItem. + + A ID para o item de trabalho. + + + + Obtém a ID para o item de trabalho associado. + + + + + Atributo de tempo limite. Usado para especificar o tempo limite de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + O tempo limite. + + + + + Inicializa a nova instância da classe com um tempo limite predefinido + + + O tempo limite + + + + + Obtém o tempo limite. + + + + + O objeto TestResult a ser retornado ao adaptador. + + + + + Inicializa uma nova instância da classe . + + + + + Obtém ou define o nome de exibição do resultado. Útil ao retornar vários resultados. + Se for nulo, o nome do Método será usado como o DisplayName. + + + + + Obtém ou define o resultado da execução de teste. + + + + + Obtém ou define a exceção gerada quando o teste falha. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define os rastreamentos de depuração pelo código de teste. + + + + + Gets or sets the debug traces by test code. + + + + + Obtém ou define a duração de execução do teste. + + + + + Obtém ou define o índice de linha de dados na fonte de dados. Defina somente para os resultados de execuções + individuais de um teste controlado por dados. + + + + + Obtém ou define o valor retornado do método de teste. (Sempre nulo no momento). + + + + + Obtém ou define os arquivos de resultado anexados pelo teste. + + + + + Especifica a cadeia de conexão, o nome de tabela e o método de acesso de linha para teste controlado por dados. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + O nome do provedor padrão para a DataSource. + + + + + O método de acesso a dados padrão. + + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados, uma cadeia de conexão, uma tabela de dados e um método de acesso a dados para acessar a fonte de dados. + + Nome do provedor de dados invariável, como System.Data.SqlClient + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + Especifica a ordem para acessar os dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com uma cadeia de conexão e um nome da tabela. + Especifique a cadeia de conexão e a tabela de dados para acessar a fonte de dados OLEDB. + + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados e com uma cadeia de conexão associada ao nome da configuração. + + O nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> do arquivo app.config. + + + + Obtém o valor que representa o provedor de dados da fonte de dados. + + + O nome do provedor de dados. Se um provedor de dados não foi designado na inicialização do objeto, o provedor de dados padrão de System.Data.OleDb será retornado. + + + + + Obtém o valor que representa a cadeia de conexão da fonte de dados. + + + + + Obtém um valor que indica o nome da tabela que fornece dados. + + + + + Obtém o método usado para acessar a fonte de dados. + + + + Um dos valores. Se o não for inicializado, o valor padrão será retornado . + + + + + Obtém o nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> no arquivo app.config. + + + + + O atributo para teste controlado por dados em que os dados podem ser especificados de maneira embutida. + + + + + Encontrar todas as linhas de dados e executar. + + + O Método de teste. + + + Uma matriz de . + + + + + Executa o método de teste controlado por dados. + + O método de teste a ser executado. + Linha de Dados. + Resultados de execução. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..f6977067b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Используется для указания элемента развертывания (файл или каталог) для развертывания каждого теста. + Может указываться для тестового класса или метода теста. + Чтобы указать несколько элементов, можно использовать несколько экземпляров атрибута. + Путь к элементу может быть абсолютным или относительным, в последнем случае он указывается по отношению к RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + Инициализирует новый экземпляр класса . + + Файл или каталог для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + + + + Инициализирует новый экземпляр класса + + Относительный или абсолютный путь к файлу или каталогу для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + Путь к каталогу, в который должны быть скопированы элементы. Он может быть абсолютным или относительным (по отношению к каталогу развертывания). Все файлы и каталоги, обозначенные при помощи будет скопировано в этот каталог. + + + + Получает путь к копируемым исходному файлу или папке. + + + + + Получает путь к каталогу, в который копируется элемент. + + + + + Класс TestContext. Этот класс должен быть полностью абстрактным и не должен содержать ни одного элемента. + Элементы будут реализованы в адаптере. Пользователи платформы должны обращаться к этому классу + только при помощи четко определенного интерфейса. + + + + + Получает свойства теста. + + + + + Получает полное имя класса, содержащего метод теста, который выполняется в данный момент + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Получает имя метода теста, выполняемого в данный момент + + + + + Получает текущий результат теста. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..f278594a3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4202 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod для выполнения. + + + + + Получает имя метода теста. + + + + + Получает имя тестового класса. + + + + + Получает тип возвращаемого значения метода теста. + + + + + Получает параметры метода теста. + + + + + Получает methodInfo для метода теста. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Вызывает метод теста. + + + Аргументы, передаваемые методу теста (например, для управляемых данными тестов). + + + Результат вызова метода теста. + + + This call handles asynchronous test methods as well. + + + + + Получить все атрибуты метода теста. + + + Допустим ли атрибут, определенный в родительском классе. + + + Все атрибуты. + + + + + Получить атрибут указанного типа. + + System.Attribute type. + + Допустим ли атрибут, определенный в родительском классе. + + + Атрибуты указанного типа. + + + + + Вспомогательный метод. + + + + + Параметр проверки не имеет значения NULL. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws argument null exception when parameter is null. + + + + Параметр проверки не равен NULL или не пуст. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws ArgumentException when parameter is null. + + + + Перечисление, описывающее способ доступа к строкам данных в тестах, управляемых данными. + + + + + Строки возвращаются в последовательном порядке. + + + + + Строки возвращаются в случайном порядке. + + + + + Атрибут для определения встроенных данных для метода теста. + + + + + Инициализирует новый экземпляр класса . + + Объект данных. + + + + Инициализирует новый экземпляр класса , принимающий массив аргументов. + + Объект данных. + Дополнительные данные. + + + + Получает данные для вызова метода теста. + + + + + Получает или задает отображаемое имя в результатах теста для настройки. + + + + + Исключение утверждения с неопределенным результатом. + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Класс InternalTestFailureException. Используется для указания внутреннего сбоя для тестового случая + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + + + + Инициализирует новый экземпляр класса . + + + + + Атрибут, который указывает, что ожидается исключение указанного типа + + + + + Инициализирует новый экземпляр класса ожидаемого типа + + Тип ожидаемого исключения + + + + Инициализирует новый экземпляр класса + ожидаемого типа c сообщением для включения, когда тест не создает исключение. + + Тип ожидаемого исключения + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал исключение + + + + + Получает значение, указывающее тип ожидаемого исключения + + + + + Получает или задает значение, которое означает, являются ли ожидаемыми типы, производные + от типа ожидаемого исключения + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Проверяет, является ли ожидаемым тип исключения, созданного модульным тестом + + Исключение, созданное модульным тестом + + + + Базовый класс для атрибутов, которые указывают ожидать исключения из модульного теста + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений по умолчанию + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений + + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал + исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение по умолчанию об отсутствии исключений + + Название типа для атрибута ExpectedException + Сообщение об отсутствии исключений по умолчанию + + + + Определяет, ожидается ли исключение. Если метод возвращает управление, то + считается, что ожидалось исключение. Если метод создает исключение, то + считается, что исключение не ожидалось, и сообщение созданного исключения + включается в результат теста. Для удобства можно использовать класс . + Если используется и утверждение завершается с ошибкой, + то результат теста будет неопределенным. + + Исключение, созданное модульным тестом + + + + Повторно создать исключение при возникновении исключения AssertFailedException или AssertInconclusiveException + + Исключение, которое необходимо создать повторно, если это исключение утверждения + + + + Этот класс предназначен для пользователей, выполняющих модульное тестирование для универсальных типов. + GenericParameterHelper удовлетворяет некоторым распространенным ограничениям для универсальных типов, + например. + 1. Открытый конструктор по умолчанию + 2. Реализует общий интерфейс: IComparable, IEnumerable + + + + + Инициализирует новый экземпляр класса , который + удовлетворяет ограничению newable в универсальных типах C#. + + + This constructor initializes the Data property to a random value. + + + + + Инициализирует новый экземпляр класса , который + инициализирует свойство Data в указанное пользователем значение. + + Любое целочисленное значение + + + + Получает или задает данные + + + + + Сравнить значения двух объектов GenericParameterHelper + + объект, с которым будет выполнено сравнение + True, если obj имеет то же значение, что и объект "this" GenericParameterHelper. + В противном случае False. + + + + Возвращает хэш-код для этого объекта. + + Хэш-код. + + + + Сравнивает данные двух объектов . + + Объект для сравнения. + + Число со знаком, указывающее относительные значения этого экземпляра и значения. + + + Thrown when the object passed in is not an instance of . + + + + + Возвращает объект IEnumerator, длина которого является производной + от свойства Data. + + Объект IEnumerator + + + + Возвращает объект GenericParameterHelper, равный + текущему объекту. + + Клонированный объект. + + + + Позволяет пользователям регистрировать/записывать трассировки от модульных тестов для диагностики. + + + + + Обработчик LogMessage. + + Сообщение для записи в журнал. + + + + Прослушиваемое событие. Возникает, когда средство записи модульных тестов записывает сообщение. + Главным образом используется адаптером. + + + + + API, при помощи которого средство записи теста будет обращаться к сообщениям журнала. + + Строка формата с заполнителями. + Параметры для заполнителей. + + + + Атрибут TestCategory; используется для указания категории модульного теста. + + + + + Инициализирует новый экземпляр класса и применяет категорию к тесту. + + + Категория теста. + + + + + Возвращает или задает категории теста, которые были применены к тесту. + + + + + Базовый класс для атрибута Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Инициализирует новый экземпляр класса . + Применяет к тесту категорию. Строки, возвращаемые TestCategories , + используются с командой /category для фильтрации тестов + + + + + Возвращает или задает категорию теста, которая была применена к тесту. + + + + + Класс AssertFailedException. Используется для указания сбоя тестового случая + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Коллекция вспомогательных классов для тестирования различных условий в + модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is true. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is null. + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if refers to the same object + as . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is not equal to . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Создает исключение AssertFailedException. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Статические переопределения равенства используются для сравнения экземпляров двух типов на равенство + ссылок. Этот метод не должен использоваться для сравнения двух экземпляров на + равенство. Этот объект всегда создает исключение с Assert.Fail. Используйте в ваших модульных тестах + Assert.AreEqual и связанные переопределения. + + Объект A + Объект B + False (всегда). + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Заменяет NULL-символы ("\0") символами "\\0". + + + Искомая строка. + + + Преобразованная строка, в которой NULL-символы были заменены на "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Вспомогательная функция, которая создает и вызывает AssertionFailedException + + + имя утверждения, создавшего исключение + + + сообщение с описанием условий для сбоя утверждения + + + Параметры. + + + + + Проверяет параметр на допустимые условия + + + Параметр. + + + Имя утверждения. + + + имя параметра + + + сообщение об исключении, связанном с недопустимым параметром + + + Параметры. + + + + + Безопасно преобразует объект в строку, обрабатывая значения NULL и NULL-символы. + Значения NULL преобразуются в "(null)", NULL-символы — в "\\0". + + + Объект для преобразования в строку. + + + Преобразованная строка. + + + + + Утверждение строки. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not begin with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not end with + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not match + . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if matches . + + + + + Коллекция вспомогательных классов для тестирования различных условий, связанных + с коллекциями в модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is found in + . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a null element is found in . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is not found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if every element in is also found in + . + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Определяет, является ли первая коллекция подмножеством второй + коллекции. Если любое из множеств содержит одинаковые элементы, то число + вхождений элемента в подмножестве должно быть меньше или + равно количеству вхождений в супермножестве. + + + Коллекция, которая с точки зрения теста должна содержаться в . + + + Коллекция, которая с точки зрения теста должна содержать . + + + Значение True, если является подмножеством + , в противном случае — False. + + + + + Создает словарь с числом вхождений каждого элемента + в указанной коллекции. + + + Обрабатываемая коллекция. + + + Число элементов, имеющих значение NULL, в коллекции. + + + Словарь с числом вхождений каждого элемента + в указанной коллекции. + + + + + Находит несоответствующий элемент между двумя коллекциями. Несоответствующий + элемент — это элемент, количество вхождений которого в ожидаемой коллекции отличается + от фактической коллекции. В качестве коллекций + ожидаются различные ссылки, отличные от null, с одинаковым + количеством элементов. За этот уровень проверки отвечает + вызывающий объект. Если несоответствующих элементов нет, функция возвращает + False, и выходные параметры использовать не следует. + + + Первая сравниваемая коллекция. + + + Вторая сравниваемая коллекция. + + + Ожидаемое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Фактическое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Несоответствующий элемент (может иметь значение NULL) или значение NULL, если несоответствующий + элемент отсутствует. + + + Значение True, если был найден несоответствующий элемент, в противном случае — False. + + + + + сравнивает объекты при помощи object.Equals + + + + + Базовый класс для исключений платформы. + + + + + Инициализирует новый экземпляр класса . + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Строго типизированный класс ресурса для поиска локализованных строк и т. д. + + + + + Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + + + + + Переопределяет свойство CurrentUICulture текущего потока для всех операций + поиска ресурсов, в которых используется этот строго типизированный класс. + + + + + Ищет локализованную строку, похожую на "Синтаксис строки доступа неверен". + + + + + Ищет локализованную строку, похожую на "Ожидаемая коллекция содержит {1} вхождений <{2}>. Фактическая коллекция содержит {3} вхождений. {0}". + + + + + Ищет локализованную строку, похожую на "Обнаружен элемент-дубликат: <{1}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое значение имеет другой регистр: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять не больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1} ({2})>. Фактическое: <{3} ({4})>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидалось любое значение, кроме: <{1}>. Фактическое значение: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Не передавайте типы значений в AreSame(). Значения, преобразованные в объекты, никогда не будут одинаковыми. Воспользуйтесь методом AreEqual(). {0}". + + + + + Ищет локализованную строку, похожую на "Сбой {0}. {1}". + + + + + Ищет локализованную строку, аналогичную "Асинхронный метод TestMethod с UITestMethodAttribute не поддерживается. Удалите async или используйте TestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Обе коллекции пусты. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы". + + + + + Ищет локализованную строку, похожую на "Ссылки на обе коллекции указывают на один объект коллекции. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы. {0}". + + + + + Ищет локализованную строку, похожую на "{0}({1})". + + + + + Ищет локализованную строку, похожую на "(NULL)". + + + + + Ищет локализованную строку, похожую на "(объект)". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не содержит строку "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "{0} ({1})". + + + + + Ищет локализованную строку, похожую на "Assert.Equals не следует использовать для Assertions. Используйте Assert.AreEqual и переопределения". + + + + + Ищет локализованную строку, похожую на "Число элементов в коллекциях не совпадает. Ожидаемое число: <{1}>. Фактическое: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {0} не соответствует". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет непредвиденный тип. Ожидаемый тип: <{2}>. Фактический тип: <{3}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет значение (NULL). Ожидаемый тип: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не заканчивается строкой "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Недопустимый аргумент — EqualsTester не может использовать значения NULL". + + + + + Ищет локализованную строку, похожую на "Невозможно преобразовать объект типа {0} в {1}". + + + + + Ищет локализованную строку, похожую на "Внутренний объект, на который была сделана ссылка, более не действителен". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. {1}". + + + + + Ищет локализованную строку, похожую на "Свойство {0} имеет тип {1}; ожидаемый тип: {2}". + + + + + Ищет локализованную строку, похожую на "{0} Ожидаемый тип: <{1}>. Фактический тип: <{2}>". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Неправильный тип: <{1}>. Фактический тип: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Не указан атрибут DataRowAttribute. Необходимо указать как минимум один атрибут DataRowAttribute с атрибутом DataTestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Исключение не было создано. Ожидалось исключение {1}. {0}". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. Значение не может быть равно NULL. {1}". + + + + + Ищет локализованную строку, похожую на "Число элементов различается". + + + + + Ищет локализованную строку, похожую на + "Не удалось найти конструктор с указанной сигнатурой. Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор класса PrivateObject". + . + + + + + Ищет локализованную строку, похожую на + "Не удалось найти указанный элемент ({0}). Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор PrivateObject". + . + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не начинается со строки "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое исключение должно иметь тип System.Exception или производный от него тип". + + + + + Ищет локализованную строку, похожую на "(Не удалось получить сообщение для исключения типа {0} из-за исключения.)". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал ожидаемое исключение {0}. {1}". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал исключение. Исключение ожидалось атрибутом {0}, определенным в методе теста". + + + + + Ищет локализованную строку, похожую на "Метод теста создан исключение {0}, а ожидалось исключение {1}. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Метод теста создал исключение {0}, а ожидалось исключение {1} или производный от него тип. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Создано исключение {2}, а ожидалось исключение {1}. {0} + Сообщение исключения: {3} + Стек трассировки: {4}". + + + + + результаты модульного теста + + + + + Тест был выполнен, но при его выполнении возникли проблемы. + Эти проблемы могут включать исключения или сбой утверждений. + + + + + Тест завершен, но результат его завершения неизвестен. + Может использоваться для прерванных тестов. + + + + + Тест был выполнен без проблем. + + + + + Тест выполняется в данный момент. + + + + + При попытке выполнения теста возникла ошибка в системе. + + + + + Время ожидания для теста истекло. + + + + + Тест прерван пользователем. + + + + + Тест находится в неизвестном состоянии + + + + + Предоставляет вспомогательные функции для платформы модульных тестов + + + + + Получает сообщения с исключениями, включая сообщения для всех внутренних исключений + (рекурсивно) + + Исключение, для которого следует получить сообщения + строка с сообщением об ошибке + + + + Перечисление для времен ожидания, которое можно использовать с классом . + Тип перечисления должен соответствовать + + + + + Бесконечно. + + + + + Атрибут тестового класса. + + + + + Получает атрибут метода теста, включающий выполнение этого теста. + + Для этого метода определен экземпляр атрибута метода теста. + + для использования для выполнения этого теста. + Extensions can override this method to customize how all methods in a class are run. + + + + Атрибут метода теста. + + + + + Выполняет метод теста. + + Выполняемый метод теста. + Массив объектов TestResult, представляющих результаты теста. + Extensions can override this method to customize running a TestMethod. + + + + Атрибут инициализации теста. + + + + + Атрибут очистки теста. + + + + + Атрибут игнорирования. + + + + + Атрибут свойства теста. + + + + + Инициализирует новый экземпляр класса . + + + Имя. + + + Значение. + + + + + Получает имя. + + + + + Получает значение. + + + + + Атрибут инициализации класса. + + + + + Атрибут очистки класса. + + + + + Атрибут инициализации сборки. + + + + + Атрибут очистки сборки. + + + + + Владелец теста + + + + + Инициализирует новый экземпляр класса . + + + Владелец. + + + + + Получает владельца. + + + + + Атрибут Priority; используется для указания приоритета модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Приоритет. + + + + + Получает приоритет. + + + + + Описание теста + + + + + Инициализирует новый экземпляр класса для описания теста. + + Описание. + + + + Получает описание теста. + + + + + URI структуры проекта CSS + + + + + Инициализирует новый экземпляр класса для URI структуры проекта CSS. + + URI структуры проекта CSS. + + + + Получает URI структуры проекта CSS. + + + + + URI итерации CSS + + + + + Инициализирует новый экземпляр класса для URI итерации CSS. + + URI итерации CSS. + + + + Получает URI итерации CSS. + + + + + Атрибут WorkItem; используется для указания рабочего элемента, связанного с этим тестом. + + + + + Инициализирует новый экземпляр класса для атрибута WorkItem. + + Идентификатор рабочего элемента. + + + + Получает идентификатор связанного рабочего элемента. + + + + + Атрибут Timeout; используется для указания времени ожидания модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Время ожидания. + + + + + Инициализирует новый экземпляр класса с заданным временем ожидания + + + Время ожидания + + + + + Получает время ожидания. + + + + + Объект TestResult, который возвращается адаптеру. + + + + + Инициализирует новый экземпляр класса . + + + + + Получает или задает отображаемое имя результата. Удобно для возврата нескольких результатов. + Если параметр равен NULL, имя метода используется в качестве DisplayName. + + + + + Получает или задает результат выполнения теста. + + + + + Получает или задает исключение, создаваемое, если тест не пройден. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает трассировки отладки для кода теста. + + + + + Gets or sets the debug traces by test code. + + + + + Получает или задает продолжительность выполнения теста. + + + + + Возвращает или задает индекс строки данных в источнике данных. Задается только для результатов выполнения + отдельных строк данных для теста, управляемого данными. + + + + + Получает или задает возвращаемое значение для метода теста. (Сейчас всегда равно NULL.) + + + + + Возвращает или задает файлы результатов, присоединенные во время теста. + + + + + Задает строку подключения, имя таблицы и метод доступа к строкам для тестов, управляемых данными. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Имя поставщика по умолчанию для DataSource. + + + + + Метод доступа к данным по умолчанию. + + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных, строкой подключения, таблицей данных и методом доступа к данным для доступа к источнику данных. + + Имя инвариантного поставщика данных, например System.Data.SqlClient + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + Задает порядок доступа к данным. + + + + Инициализирует новый экземпляр класса . Этот экземпляр будет инициализирован с строкой подключения и именем таблицы. + Укажите строку подключения и таблицу данных для доступа к источнику данных OLEDB. + + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных и строкой подключения, связанной с именем параметра. + + Имя источника данных, обнаруженного в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + Получает значение, представляющее поставщик данных для источника данных. + + + Имя поставщика данных. Если поставщик данных не был определен при инициализации объекта, будет возвращен поставщик по умолчанию, System.Data.OleDb. + + + + + Получает значение, представляющее строку подключения для источника данных. + + + + + Получает значение с именем таблицы, содержащей данные. + + + + + Возвращает метод, используемый для доступа к источнику данных. + + + + Один из значений. Если не инициализировано, возвращается значение по умолчанию . + + + + + Возвращает имя источника данных, обнаруженное в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + + Атрибут для тестов, управляемых данными, в которых данные могут быть встроенными. + + + + + Найти все строки данных и выполнить. + + + Метод теста. + + + Массив . + + + + + Выполнение метода теста, управляемого данными. + + Выполняемый метод теста. + Строка данных. + Результаты выполнения. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..cfddb524a --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Test başına dağıtım için dağıtım öğesi (dosya veya dizin) belirtmek üzere kullanılır. + Test sınıfında veya test metodunda belirtilebilir. + Birden fazla öğe belirtmek için özniteliğin birden fazla örneğini içerebilir. + Öğe yolu mutlak veya göreli olabilir; göreli ise RunConfig.RelativePathRoot ile görelidir. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + sınıfının yeni bir örneğini başlatır. + + Dağıtılacak dosya veya dizin. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + + + + sınıfının yeni bir örneğini başlatır + + Dağıtılacak dosya veya dizinin göreli ya da mutlak yolu. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + Öğelerin kopyalanacağı dizinin yolu. Dağıtım dizinine göre mutlak veya göreli olabilir. Tüm dosyalar ve dizinler şuna göre tanımlanır: bu dizine kopyalanacak. + + + + Kopyalanacak kaynak dosya veya klasörün yolunu alır. + + + + + Öğenin kopyalandığı dizinin yolunu alır. + + + + + TestContext sınıfı. Bu sınıf tamamen soyut olmalı ve herhangi bir üye + içermemelidir. Üyeler bağdaştırıcı tarafından uygulanır. Çerçevedeki kullanıcılar + buna yalnızca iyi tanımlanmış bir arabirim üzerinden erişmelidir. + + + + + Bir testin test özelliklerini alır. + + + + + O anda yürütülen test metodunu içeren sınıfın tam adını alır + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Yürütülmekte olan test metodunun Adını alır + + + + + Geçerli test sonucunu alır. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..b7a00291b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Yürütülecek TestMethod. + + + + + Test metodunun adını alır. + + + + + Test sınıfının adını alır. + + + + + Test metodunun dönüş türünü alır. + + + + + Test metodunun parametrelerini alır. + + + + + Test metodu için methodInfo değerini alır. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Test metodunu çağırır. + + + Test metoduna geçirilecek bağımsız değişkenler. (Örn. Veri temelli için) + + + Test yöntemi çağırma sonucu. + + + This call handles asynchronous test methods as well. + + + + + Test metodunun tüm özniteliklerini alır. + + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Tüm öznitelikler. + + + + + Belirli bir türdeki özniteliği alır. + + System.Attribute type. + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Belirtilen türün öznitelikleri. + + + + + Yardımcı. + + + + + Denetim parametresi null değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws argument null exception when parameter is null. + + + + Denetim parametresi null veya boş değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws ArgumentException when parameter is null. + + + + Veri tabanlı testlerde veri satırlarına erişme şekline yönelik sabit listesi. + + + + + Satırlar sıralı olarak döndürülür. + + + + + Satırlar rastgele sırayla döndürülür. + + + + + Bir test metodu için satır içi verileri tanımlayan öznitelik. + + + + + sınıfının yeni bir örneğini başlatır. + + Veri nesnesi. + + + + Bir bağımsız değişken dizisi alan sınıfının yeni bir örneğini başlatır. + + Bir veri nesnesi. + Daha fazla veri. + + + + Çağıran test metodu verilerini alır. + + + + + Özelleştirme için test sonuçlarında görünen adı alır veya ayarlar. + + + + + Onay sonuçlandırılmadı özel durumu. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + InternalTestFailureException sınıfı. Bir test çalışmasının iç hatasını belirtmek için kullanılır + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Belirtilen türde bir özel durum beklemeyi belirten öznitelik + + + + + Beklenen tür ile sınıfının yeni bir örneğini başlatır + + Beklenen özel durum türü + + + + Beklenen tür ve test tarafından özel durum oluşturulmadığında eklenecek ileti ile sınıfının + yeni bir örneğini başlatır. + + Beklenen özel durum türü + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna dahil edilecek ileti + + + + + Beklenen özel durumun Türünü belirten bir değer alır + + + + + Beklenen özel durumun türünden türetilmiş türlerin beklenen özel durum türü olarak değerlendirilmesine izin verilip verilmeyeceğini + belirten değeri alır veya ayarlar + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Birim testi tarafından oluşturulan özel durum türünün beklendiğini doğrular + + Birim testi tarafından oluşturulan özel durum + + + + Birim testinden bir özel durum beklemek için belirtilen özniteliklerin temel sınıfı + + + + + Varsayılan bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + + + Bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna + dahil edilecek özel durum + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Varsayılan 'özel durum yok' iletisini alır + + ExpectedException özniteliği tür adı + Özel durum olmayan varsayılan ileti + + + + Özel durumun beklenip beklenmediğini belirler. Metot dönüş yapıyorsa, özel + durumun beklendiği anlaşılır. Metot bir özel durum oluşturuyorsa, özel durumun + beklenmediği anlaşılır ve oluşturulan özel durumun iletisi test sonucuna + eklenir. Kolaylık sağlamak amacıyla sınıfı kullanılabilir. + kullanılırsa ve onaylama başarısız olursa, + test sonucu Belirsiz olarak ayarlanır. + + Birim testi tarafından oluşturulan özel durum + + + + Özel durum bir AssertFailedException veya AssertInconclusiveException ise özel durumu yeniden oluşturur + + Bir onaylama özel durumu ise yeniden oluşturulacak özel durum + + + + Bu sınıf, kullanıcının genel türler kullanan türlere yönelik birim testleri yapmasına yardımcı olmak üzere tasarlanmıştır. + GenericParameterHelper bazı genel tür kısıtlamalarını yerine getirir; + örneğin: + 1. genel varsayılan oluşturucu + 2. ortak arabirim uygular: IComparable, IEnumerable + + + + + sınıfının C# genel türlerindeki 'newable' + kısıtlamasını karşılayan yeni bir örneğini başlatır. + + + This constructor initializes the Data property to a random value. + + + + + sınıfının, Data özelliğini kullanıcı + tarafından sağlanan bir değerle başlatan yeni bir örneğini başlatır. + + Herhangi bir tamsayı değeri + + + + Verileri alır veya ayarlar + + + + + İki GenericParameterHelper nesnesi için değer karşılaştırması yapar + + karşılaştırma yapılacak nesne + nesne bu 'this' GenericParameterHelper nesnesiyle aynı değere sahipse true. + aksi takdirde false. + + + + Bu nesne için bir karma kod döndürür. + + Karma kod. + + + + İki nesnesinin verilerini karşılaştırır. + + Karşılaştırılacak nesne. + + Bu örnek ve değerin göreli değerlerini gösteren, işaretli sayı. + + + Thrown when the object passed in is not an instance of . + + + + + Uzunluğu Data özelliğinden türetilmiş bir IEnumerator nesnesi + döndürür. + + IEnumerator nesnesi + + + + Geçerli nesneye eşit olan bir GenericParameterHelper nesnesi + döndürür. + + Kopyalanan nesne. + + + + Kullanıcıların tanılama amacıyla birim testlerindeki izlemeleri günlüğe kaydetmesini/yazmasını sağlar. + + + + + LogMessage işleyicisi. + + Günlüğe kaydedilecek ileti. + + + + Dinlenecek olay. Birim testi yazıcı bir ileti yazdığında oluşturulur. + Genellikle bağdaştırıcı tarafından kullanılır. + + + + + İletileri günlüğe kaydetmek için çağrılacak test yazıcısı API'si. + + Yer tutucuları olan dize biçimi. + Yer tutucu parametreleri. + + + + TestCategory özniteliği; bir birim testinin kategorisini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır ve kategoriyi teste uygular. + + + Test Kategorisi. + + + + + Teste uygulanan test kategorilerini alır. + + + + + "Category" özniteliğinin temel sınıfı + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + sınıfının yeni bir örneğini başlatır. + Kategoriyi teste uygular. TestCategories tarafından döndürülen + dizeler /category komutu içinde testleri filtrelemek için kullanılır + + + + + Teste uygulanan test kategorisini alır. + + + + + AssertFailedException sınıfı. Test çalışmasının başarısız olduğunu göstermek için kullanılır + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Birim testleri içindeki çeşitli koşulları test etmeye yönelik yardımcı + sınıf koleksiyonu. Test edilen koşul karşılanmazsa bir özel durum + oluşturulur. + + + + + Assert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is false. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is true. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null. + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if refers to the same object + as . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is not equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Bir AssertFailedException oluşturur. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Statik eşit aşırı yüklemeler iki türün örneklerini başvuru eşitliği bakımından + karşılaştırmak için kullanılır. Bu metot iki örneği eşitlik bakımından karşılaştırmak için + kullanılmamalıdır. Bu nesne her zaman Assert.Fail ile oluşturulur. + Lütfen birim testlerinizde Assert.AreEqual ve ilişkili aşırı yüklemelerini kullanın. + + Nesne A + Nesne B + Her zaman false. + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + Null karakterleri ('\0'), "\\0" ile değiştirir. + + + Aranacak dize. + + + Null karakterler içeren dönüştürülmüş dize "\\0" ile değiştirildi. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException oluşturan yardımcı işlev + + + özel durum oluşturan onaylamanın adı + + + onaylama hatası koşullarını açıklayan ileti + + + Parametreler. + + + + + Parametreyi geçerli koşullar için denetler + + + Parametre. + + + Onaylama Adı. + + + parametre adı + + + iletisi geçersiz parametre özel durumu içindir + + + Parametreler. + + + + + Bir nesneyi güvenli bir şekilde dizeye dönüştürür, null değerleri ve null karakterleri işler. + Null değerler "(null)" değerine dönüştürülür. Null karakterler "\\0" değerine dönüştürülür. + + + Dizeye dönüştürülecek nesne. + + + Dönüştürülmüş dize. + + + + + Dize onayı. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if matches . + + + + + Birim testleri içindeki koleksiyonlarla ilişkili çeşitli koşulları test etmeye + yönelik yardımcı sınıf koleksiyonu. Test edilen koşul karşılanmazsa + bir özel durum oluşturulur. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a two or more equal elements are found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if every element in is also found in + . + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Şu parametre biçimlendirilirken kullanılacak parametre dizisi: . + + + Thrown if is equal to . + + + + + Birinci koleksiyonun ikinci koleksiyona ait bir alt küme olup + olmadığını belirler. Kümelerden biri yinelenen öğeler içeriyorsa, + öğenin alt kümedeki oluşum sayısı üst kümedeki oluşum sayısına + eşit veya bu sayıdan daha az olmalıdır. + + + Testin içinde bulunmasını beklediği koleksiyon . + + + Testin içermesini beklediği koleksiyon . + + + Şu durumda true: şunun bir alt kümesidir: + , aksi takdirde false. + + + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren bir + sözlük oluşturur. + + + İşlenecek koleksiyon. + + + Koleksiyondaki null öğe sayısı. + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren + bir sözlük. + + + + + İki koleksiyon arasında eşleşmeyen bir öğe bulur. Eşleşmeyen öğe, + beklenen koleksiyonda gerçek koleksiyondakinden farklı sayıda görünen + öğedir. Koleksiyonların, + aynı sayıda öğeye sahip null olmayan farklı başvurular olduğu + varsayılır. Bu doğrulama düzeyinden + çağıran sorumludur. Eşleşmeyen bir öğe yoksa işlev + false değerini döndürür ve dış parametreler kullanılmamalıdır. + + + Karşılaştırılacak birinci koleksiyon. + + + Karşılaştırılacak ikinci koleksiyon. + + + Şunun için beklenen oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Gerçek oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Uyumsuz öğe (null olabilir) veya uyumsuz bir + öğe yoksa null. + + + uyumsuz bir öğe bulunduysa true; aksi takdirde false. + + + + + object.Equals kullanarak nesneleri karşılaştırır + + + + + Çerçeve Özel Durumları için temel sınıf. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + Yerelleştirilmiş dizeleri aramak gibi işlemler için, türü kesin olarak belirtilmiş kaynak sınıfı. + + + + + Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. + + + + + Türü kesin olarak belirlenmiş bu kaynak sınıfını kullanan + tüm kaynak aramaları için geçerli iş parçacığının CurrentUICulture özelliğini geçersiz kılar. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Erişim dizesinde geçersiz söz dizimi var. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen koleksiyon {1} <{2}> oluşumu içeriyor. Gerçek koleksiyon {3} oluşum içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yinelenen öğe bulundu:<{1}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek değer için büyük/küçük harf kullanımı farklı:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında en fazla <{3}> fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1} ({2})>. Gerçek:<{3} ({4})>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında <{3}> değerinden büyük bir fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: <{1}> dışında bir değer bekleniyordu. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Değer türlerini AreSame() metoduna geçirmeyin. Object türüne dönüştürülen değerler hiçbir zaman aynı olmaz. AreEqual(). kullanmayı deneyin {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} başarısız oldu. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: UITestMethodAttribute özniteliğine sahip async TestMethod metodu desteklenmiyor. async ifadesini kaldırın ya da TestMethodAttribute özniteliğini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da boş. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon başvurusu da aynı koleksiyon nesnesini işaret ediyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0}({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: null. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: nesne. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesini içermiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} ({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Assert.Equals, Onaylamalar için kullanılmamalıdır. Lütfen bunun yerine Assert.AreEqual ve aşırı yüklemelerini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Koleksiyonlardaki öğe sayıları eşleşmiyor. Beklenen:<{1}>. Gerçek:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} dizinindeki öğe eşleşmiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {1} dizinindeki öğe beklenen türde değil. Beklenen tür:<{2}>. Gerçek tür:<{3}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dizeyi arar: {1} dizinindeki öğe (null). Beklenen tür:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle bitmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Geçersiz bağımsız değişken. EqualsTester null değerler kullanamaz. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} türündeki nesne {1} türüne dönüştürülemiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Başvurulan iç nesne artık geçerli değil. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} özelliği {1} türüne sahip; beklenen tür {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} Beklenen tür:<{1}>. Gerçek tür:<{2}>. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yanlış Tür:<{1}>. Gerçek tür:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: No DataRowAttribute belirtilmedi. DataTestMethodAttribute ile en az bir DataRowAttribute gereklidir. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Özel durum oluşturulmadı. {1} özel durumu bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. Değer null olamaz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Farklı sayıda öğe. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen imzaya sahip oluşturucu bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi + tanımlayan türü PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen üye ({0}) bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi tanımlayan türü + PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle başlamıyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen özel durum türü System.Exception veya System.Exception'dan türetilmiş bir tür olmalıdır. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Bir özel durum nedeniyle {0} türündeki özel durum için ileti alınamadı. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu beklenen {0} özel durumunu oluşturmadı. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu bir özel durum oluşturmadı. Test metodunda tanımlanan {0} özniteliği tarafından bir özel durum bekleniyordu. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu veya bundan türetilmiş bir tür bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {2} özel durumu oluşturuldu, ancak {1} özel durumu bekleniyordu. {0} + Özel Durum İletisi: {3} + Yığın İzleme: {4}. + + + + + birim testi sonuçları + + + + + Test yürütüldü ancak sorunlar oluştu. + Sorunlar özel durumları veya başarısız onaylamaları içerebilir. + + + + + Test tamamlandı ancak başarılı olup olmadığı belli değil. + İptal edilen testler için kullanılabilir. + + + + + Test bir sorun olmadan yürütüldü. + + + + + Test şu anda yürütülüyor. + + + + + Test yürütülmeye çalışılırken bir sistem hatası oluştu. + + + + + Test zaman aşımına uğradı. + + + + + Test, kullanıcı tarafından iptal edildi. + + + + + Test bilinmeyen bir durumda + + + + + Birim testi çerçevesi için yardımcı işlevini sağlar + + + + + Yinelemeli olarak tüm iç özel durumların iletileri dahil olmak üzere + özel durum iletilerini alır + + Şunun için iletilerin alınacağı özel durum: + hata iletisi bilgilerini içeren dize + + + + Zaman aşımları için sınıfı ile birlikte kullanılabilen sabit listesi. + Sabit listesinin türü eşleşmelidir + + + + + Sonsuz. + + + + + Test sınıfı özniteliği. + + + + + Bu testi çalıştırmayı sağlayan bir test metodu özniteliği alır. + + Bu metot üzerinde tanımlanan test metodu özniteliği örneği. + The bu testi çalıştırmak için kullanılabilir. + Extensions can override this method to customize how all methods in a class are run. + + + + Test metodu özniteliği. + + + + + Bir test metodu yürütür. + + Yürütülecek test metodu. + Testin sonuçlarını temsil eden bir TestResult nesneleri dizisi. + Extensions can override this method to customize running a TestMethod. + + + + Test başlatma özniteliği. + + + + + Test temizleme özniteliği. + + + + + Ignore özniteliği. + + + + + Test özelliği özniteliği. + + + + + sınıfının yeni bir örneğini başlatır. + + + Ad. + + + Değer. + + + + + Adı alır. + + + + + Değeri alır. + + + + + Sınıf başlatma özniteliği. + + + + + Sınıf temizleme özniteliği. + + + + + Bütünleştirilmiş kod başlatma özniteliği. + + + + + Bütünleştirilmiş kod temizleme özniteliği. + + + + + Test Sahibi + + + + + sınıfının yeni bir örneğini başlatır. + + + Sahip. + + + + + Sahibi alır. + + + + + Priority özniteliği; birim testinin önceliğini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Öncelik. + + + + + Önceliği alır. + + + + + Testin açıklaması + + + + + Bir testi açıklamak için kullanılan sınıfının yeni bir örneğini başlatır. + + Açıklama. + + + + Bir testin açıklamasını alır. + + + + + CSS Proje Yapısı URI'si + + + + + CSS Proje Yapısı URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Proje Yapısı URI'si. + + + + CSS Proje Yapısı URI'sini alır. + + + + + CSS Yineleme URI'si + + + + + CSS Yineleme URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Yineleme URI'si. + + + + CSS Yineleme URI'sini alır. + + + + + WorkItem özniteliği; bu testle ilişkili bir çalışma öğesini belirtmek için kullanılır. + + + + + WorkItem Özniteliği için sınıfının yeni bir örneğini başlatır. + + Bir iş öğesinin kimliği. + + + + İlişkili bir iş öğesinin kimliğini alır. + + + + + Timeout özniteliği; bir birim testinin zaman aşımını belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Zaman aşımı. + + + + + sınıfının önceden ayarlanmış bir zaman aşımı ile yeni bir örneğini başlatır + + + Zaman aşımı + + + + + Zaman aşımını alır. + + + + + Bağdaştırıcıya döndürülecek TestResult nesnesi. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + Sonucun görünen adını alır veya ayarlar. Birden fazla sonuç döndürürken yararlıdır. + Null ise Metot adı DisplayName olarak kullanılır. + + + + + Test yürütmesinin sonucunu alır veya ayarlar. + + + + + Test başarısız olduğunda oluşturulan özel durumu alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test koduna göre hata ayıklama izlemelerini alır veya ayarlar. + + + + + Gets or sets the debug traces by test code. + + + + + Test yürütme süresini alır veya ayarlar. + + + + + Veri kaynağındaki veri satırı dizinini alır veya ayarlar. Yalnızca, veri tabanlı bir testin tek bir veri satırının + çalıştırılmasına ait sonuçlar için ayarlayın. + + + + + Test metodunun dönüş değerini alır veya ayarlar. (Şu anda her zaman null). + + + + + Test tarafından eklenen sonuç dosyalarını alır veya ayarlar. + + + + + Veri tabanlı test için bağlantı dizesini, tablo adını ve satır erişim metodunu belirtir. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource için varsayılan sağlayıcı adı. + + + + + Varsayılan veri erişimi metodu. + + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı, bağlantı dizesi, veri tablosu ve veri kaynağına erişmek için kullanılan veri erişimi metodu ile başlatılır. + + System.Data.SqlClient gibi değişmez veri sağlayıcısı adı + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + Verilere erişme sırasını belirtir. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir bağlantı dizesi ve tablo adı ile başlatılır. + OLEDB veri kaynağına erişmek için kullanılan bağlantı dizesini ve veri tablosunu belirtin. + + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı ile ve ayar adıyla ilişkili bir bağlantı dizesi ile başlatılır. + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan veri kaynağının adı. + + + + Veri kaynağının veri sağlayıcısını temsil eden bir değer alır. + + + Veri sağlayıcısı adı. Nesne başlatılırken bir veri sağlayıcısı belirtilmemişse varsayılan System.Data.OleDb sağlayıcısı döndürülür. + + + + + Veri kaynağının bağlantı dizesini temsil eden bir değer alır. + + + + + Verileri sağlayan tablo adını belirten bir değer alır. + + + + + Veri kaynağına erişmek için kullanılan metodu alır. + + + + Bir değerlerdir. Eğer başlatılmazsa, varsayılan değeri döndürür . + + + + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan bir veri kaynağının adını alır. + + + + + Verilerin satır içi belirtilebileceği veri tabanlı testin özniteliği. + + + + + Tüm veri satırlarını bulur ve yürütür. + + + Test Yöntemi. + + + Bir . + + + + + Veri tabanlı test metodunu çalıştırır. + + Yürütülecek test yöntemi. + Veri Satırı. + Yürütme sonuçları. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..c839eabef --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用于为预测试部署指定部署项(文件或目录)。 + 可在测试类或测试方法上指定。 + 可使用多个特性实例来指定多个项。 + 项路径可以是绝对路径或相对路径,如果为相对路径,则相对于 RunConfig.RelativePathRoot。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + 初始化 类的新实例。 + + 要部署的文件或目录。路径与生成输出目录相关。将项复制到与已部署测试程序集相同的目录。 + + + + 初始化 类的新实例 + + 要部署的文件或目录的相对路径或绝对路径。该路径相对于生成输出目录。将项复制到与已部署测试程序集相同的目录。 + 要将项复制到其中的目录路径。它可以是绝对部署目录或相对部署目录。所有由以下对象标识的文件和目录: 将复制到此目录。 + + + + 获取要复制的源文件或文件夹的路径。 + + + + + 获取将项复制到其中的目录路径。 + + + + + TestContext 类。此类应完全抽象,且不包含任何 + 成员。适配器将实现成员。框架中的用户应 + 仅通过定义完善的接口对此进行访问。 + + + + + 获取测试的测试属性。 + + + + + 获取包含当前正在执行的测试方法的类的完全限定名称 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 获取当前正在执行的测试方法的名称 + + + + + 获取当前测试结果。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..0ccce3fa9 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用于执行的 TestMethod。 + + + + + 获取测试方法的名称。 + + + + + 获取测试类的名称。 + + + + + 获取测试方法的返回类型。 + + + + + 获取测试方法的参数。 + + + + + 获取测试方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 调用测试方法。 + + + 传递到测试方法的参数(例如,对于数据驱动) + + + 测试方法调用的结果。 + + + This call handles asynchronous test methods as well. + + + + + 获取测试方法的所有属性。 + + + 父类中定义的任何属性都有效。 + + + 所有特性。 + + + + + 获取特定类型的属性。 + + System.Attribute type. + + 父类中定义的任何属性都有效。 + + + 指定类型的属性。 + + + + + 帮助程序。 + + + + + 非 null 的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws argument null exception when parameter is null. + + + + 不为 null 或不为空的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws ArgumentException when parameter is null. + + + + 枚举在数据驱动测试中访问数据行的方式。 + + + + + 按连续顺序返回行。 + + + + + 按随机顺序返回行。 + + + + + 用于定义测试方法内联数据的属性。 + + + + + 初始化 类的新实例。 + + 数据对象。 + + + + 初始化采用参数数组的 类的新实例。 + + 一个数据对象。 + 更多数据。 + + + + 获取数据以调用测试方法。 + + + + + 在测试结果中为自定义获取或设置显示名称。 + + + + + 断言无结论异常。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + InternalTestFailureException 类。用来指示测试用例的内部错误 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 类的新实例。 + + 异常消息。 + 异常。 + + + + 初始化 类的新实例。 + + 异常消息。 + + + + 初始化 类的新实例。 + + + + + 指定引发指定类型异常的属性 + + + + + 初始化含有预期类型的 类的新实例 + + 预期异常的类型 + + + + 初始化 类的新实例, + 测试未引发异常时,该类中会包含预期类型和消息。 + + 预期异常的类型 + + 测试由于未引发异常而失败时测试结果中要包含的消息 + + + + + 获取指示预期异常类型的值 + + + + + 获取或设置一个值,指示是否允许将派生自预期异常类型的类型 + 作为预期类型 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 验证由单元测试引发的异常类型是否为预期类型 + + 由单元测试引发的异常 + + + + 指定应从单元测试引发异常的属性基类 + + + + + 初始化含有默认无异常消息的 类的新实例 + + + + + 初始化含有一条无异常消息的 类的新实例 + + + 测试由于未引发异常而失败时测试结果中要包含的 + 消息 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 获取默认无异常消息 + + ExpectedException 特性类型名称 + 默认非异常消息 + + + + 确定该异常是否为预期异常。如果返回了方法,则表示 + 该异常为预期异常。如果方法引发异常,则表示 + 该异常不是预期异常,且引发的异常消息 + 包含在测试结果中。为了方便, + 可使用 类。如果使用了 且断言失败, + 则表示测试结果设置为了“无结论”。 + + 由单元测试引发的异常 + + + + 如果异常为 AssertFailedException 或 AssertInconclusiveException,则再次引发该异常 + + 如果是断言异常则要重新引发的异常 + + + + 此类旨在帮助用户使用泛型类型为类型执行单元测试。 + GenericParameterHelper 满足某些常见的泛型类型限制, + 如: + 1.公共默认构造函数 + 2.实现公共接口: IComparable,IEnumerable + + + + + 初始化 类的新实例, + 该类满足 C# 泛型中的“可续订”约束。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 类的新实例, + 该类将数据属性初始化为用户提供的值。 + + 任意整数值 + + + + 获取或设置数据 + + + + + 比较两个 GenericParameterHelper 对象的值 + + 要进行比较的对象 + 如果 obj 与“此”GenericParameterHelper 对象具有相同的值,则为 true。 + 反之则为 false。 + + + + 为此对象返回哈希代码。 + + 哈希代码。 + + + + 比较两个 对象的数据。 + + 要比较的对象。 + + 有符号的数字表示此实例和值的相对值。 + + + Thrown when the object passed in is not an instance of . + + + + + 返回一个 IEnumerator 对象,该对象的长度派生自 + 数据属性。 + + IEnumerator 对象 + + + + 返回与当前对象相同的 GenericParameterHelper + 对象。 + + 克隆对象。 + + + + 允许用户记录/编写单元测试的跟踪以进行诊断。 + + + + + 用于 LogMessage 的处理程序。 + + 要记录的消息。 + + + + 要侦听的事件。单元测试编写器编写某些消息时引发。 + 主要供适配器使用。 + + + + + 测试编写器要将其调用到日志消息的 API。 + + 带占位符的字符串格式。 + 占位符的参数。 + + + + TestCategory 属性;用于指定单元测试的分类。 + + + + + 初始化 类的新实例并将分类应用到该测试。 + + + 测试类别。 + + + + + 获取已应用到测试的测试类别。 + + + + + "Category" 属性的基类 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 类的新实例。 + 将分类应用到测试。TestCategories 返回的字符串 + 与 /category 命令一起使用,以筛选测试 + + + + + 获取已应用到测试的测试分类。 + + + + + AssertFailedException 类。用于指示测试用例失败 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + 帮助程序类的集合,用于测试单元测试中 + 的各种条件。如果不满足被测条件,则引发 + 一个异常。 + + + + + 获取 Assert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is false. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is true. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null. + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if refers to the same object + as . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is not equal to . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 引发 AssertFailedException。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 静态相等重载用于比较两种类型实例的引用 + 相等。此方法应用于比较两个实例的 + 相等。此对象始终会引发 Assert.Fail。请在单元测试中使用 + Assert.AreEqual 和关联的重载。 + + 对象 A + 对象 B + 始终为 False。 + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + + 在格式化时使用的参数数组 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 将 null 字符("\0")替换为 "\\0"。 + + + 要搜索的字符串。 + + + 其中 null 字符替换为 "\\0" 的转换字符串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 用于创建和引发 AssertionFailedException 的帮助程序函数 + + + 引发异常的断言名称 + + + 描述断言失败条件的消息 + + + 参数。 + + + + + 检查有效条件的参数 + + + 参数。 + + + 断言名称。 + + + 参数名称 + + + 无效参数异常的消息 + + + 参数。 + + + + + 将对象安全地转换为字符串,处理 null 值和 null 字符。 + 将 null 值转换为 "(null)"。将 null 字符转换为 "\\0"。 + + + 要转换为字符串的对象。 + + + 转换的字符串。 + + + + + 字符串断言。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not begin with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not end with + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not match + . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if matches . + + + + + 帮助程序类的集合,用于测试与单元测试内的集合相关联的 + 多种条件。如果不满足被测条件, + 则引发一个异常。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is found in + . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a null element is found in . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if every element in is also found in + . + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组。 + + + Thrown if is equal to . + + + + + 确定第一个集合是否为第二个 + 集合的子集。如果任一集合包含重复元素,则子集中元素 + 出现的次数必须小于或 + 等于在超集中元素出现的次数。 + + + 测试预期包含在以下对象中的集合: 。 + + + 测试预期要包含的集合 。 + + + 为 True,如果 是一个子集 + ,反之则为 False。 + + + + + 构造包含指定集合中每个元素的出现次数 + 的字典。 + + + 要处理的集合。 + + + 集合中 null 元素的数量。 + + + 包含指定集合中每个元素的发生次数 + 的字典。 + + + + + 在两个集合之间查找不匹配的元素。不匹配的元素是指 + 在预期集合中显示的次数与 + 在实际集合中显示的次数不相同的元素。假定 + 集合是具有相同元素数目 + 的不同非 null 引用。 调用方负责此级别的验证。 + 如果存在不匹配的元素,函数将返回 + false,并且不会使用 out 参数。 + + + 要比较的第一个集合。 + + + 要比较的第二个集合。 + + + 预期出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 实际出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 不匹配元素(可能为 null),或者如果没有不匹配元素, + 则为 null。 + + + 如果找到不匹配的元素,则为 True;反之则为 False。 + + + + + 使用 Object.Equals 比较对象 + + + + + 框架异常的基类。 + + + + + 初始化 类的新实例。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 一个强类型资源类,用于查找已本地化的字符串等。 + + + + + 返回此类使用的缓存的 ResourceManager 实例。 + + + + + 使用此强类型资源类为所有资源查找替代 + 当前线程的 CurrentUICulture 属性。 + + + + + 查找类似于“访问字符串具有无效语法。”的已本地化字符串。 + + + + + 查找类似于“预期集合包含 {1} 个 <{2}> 的匹配项。实际集合包含 {3} 个匹配项。{0}”的已本地化字符串。 + + + + + 查找类似于“找到了重复项: <{1}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际值的大小写有所不同: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应不大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1} ({2})>。实际为: <{3} ({4})>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为除 <{1}>外的任何值。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“不要向 AreSame() 传递值类型。转换为对象的值永远不会相同。请考虑使用 AreEqual()。{0}”的已本地化字符串。 + + + + + 查找类似于“{0} 失败。{1}”的已本地化字符串。 + + + + + 查找类似于“不支持具有 UITestMethodAttribute 的异步 TestMethod。请删除异步或使用 TestMethodAttribute。” 的已本地化字符串。 + + + + + 查找类似于“这两个集合都为空。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同元素。”的已本地化字符串。 + + + + + 查找类似于“这两个集合引用指向同一个集合对象。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同的元素。{0}”的已本地化字符串。 + + + + + 查找类似于“{0}({1})”的已本地化字符串。 + + + + + 查找类似于 "(null)" 的已本地化字符串。 + + + + + 查找类似于“(对象)”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不包含字符串“{1}”。{2}。”的已本地化字符串。 + + + + + 查找类似于“{0} ({1})”的已本地化字符串。 + + + + + 查找类似于“Assert.Equals 不应用于断言。请改用 Assert.AreEqual 和重载。”的已本地化字符串。 + + + + + 查找类似于“集合中的元素数目不匹配。预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {0} 处的元素不匹配。”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素不是预期类型。预期类型为: <{2}>。实际类型为: <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素为 (null)。预期类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”结尾。{2}。”的已本地化字符串。 + + + + + 查找类似于“参数无效 - EqualsTester 不能使用 null。”的已本地化字符串。 + + + + + 查找类似于“无法将类型 {0} 的对象转换为 {1}。”的本地化字符串。 + + + + + 查找类似于“引用的内部对象不再有效。”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。{1}。”的已本地化字符串。 + + + + + 查找类似于“属性 {0} 具有类型 {1};预期类型为 {2}。”的已本地化字符串。 + + + + + 查找类似于“{0} 预期类型: <{1}>。实际类型: <{2}>。”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”不匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“错误类型: <{1}>。实际类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“未指定 DataRowAttribute。DataTestMethodAttribute 至少需要一个 DataRowAttribute。”的已本地化字符串。 + + + + + 查找类似于“未引发异常。预期为 {1} 异常。{0}”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。值不能为 null。{1}。”的已本地化字符串。 + + + + + 查找类似于“不同元素数。”的已本地化字符串。 + + + + + 查找类似于 + “找不到具有指定签名的构造函数。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型传递到 + PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于 + “找不到指定成员({0})。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型 + 传递到 PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”开头。{2}。”的已本地化字符串。 + + + + + 查找类似于“预期异常类型必须是 System.Exception 或派生自 System.Exception 的类型。”的已本地化字符串。 + + + + + 查找类似于“(由于出现异常,未能获取 {0} 类型异常的消息。)”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发预期异常 {0}。{1}”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发异常。预期测试方法上定义的属性 {0} 会引发异常。”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1}。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1} 或从其派生的类型。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“引发异常 {2},但预期为异常 {1}。{0} + 异常消息: {3} + 堆栈跟踪: {4}”的已本地化字符串。 + + + + + 单元测试结果 + + + + + 测试已执行,但出现问题。 + 问题可能涉及异常或失败的断言。 + + + + + 测试已完成,但无法确定它是已通过还是失败。 + 可用于已中止的测试。 + + + + + 测试已执行,未出现任何问题。 + + + + + 当前正在执行测试。 + + + + + 尝试执行测试时出现了系统错误。 + + + + + 测试已超时。 + + + + + 用户中止了测试。 + + + + + 测试处于未知状态 + + + + + 为单元测试框架提供帮助程序功能 + + + + + 以递归方式获取包括所有内部异常消息在内的 + 异常消息 + + 获取消息的异常 + 包含错误消息信息的字符串 + + + + 超时枚举,可与 类共同使用。 + 枚举类型必须相符 + + + + + 无限。 + + + + + 测试类属性。 + + + + + 获取可运行此测试的测试方法属性。 + + 在此方法上定义的测试方法属性实例。 + 将用于运行此测试。 + Extensions can override this method to customize how all methods in a class are run. + + + + 测试方法属性。 + + + + + 执行测试方法。 + + 要执行的测试方法。 + 表示测试结果的 TestResult 对象数组。 + Extensions can override this method to customize running a TestMethod. + + + + 测试初始化属性。 + + + + + 测试清理属性。 + + + + + 忽略属性。 + + + + + 测试属性特性。 + + + + + 初始化 类的新实例。 + + + 名称。 + + + 值。 + + + + + 获取名称。 + + + + + 获取值。 + + + + + 类初始化属性。 + + + + + 类清理属性。 + + + + + 程序集初始化属性。 + + + + + 程序集清理属性。 + + + + + 测试所有者 + + + + + 初始化 类的新实例。 + + + 所有者。 + + + + + 获取所有者。 + + + + + 优先级属性;用于指定单元测试的优先级。 + + + + + 初始化 类的新实例。 + + + 属性。 + + + + + 获取属性。 + + + + + 测试的描述 + + + + + 初始化 类的新实例,描述测试。 + + 说明。 + + + + 获取测试的说明。 + + + + + CSS 项目结构 URI + + + + + 为 CSS 项目结构 URI 初始化 类的新实例。 + + CSS 项目结构 URI。 + + + + 获取 CSS 项目结构 URI。 + + + + + CSS 迭代 URI + + + + + 为 CSS 迭代 URI 初始化 类的新实例。 + + CSS 迭代 URI。 + + + + 获取 CSS 迭代 URI。 + + + + + 工作项属性;用来指定与此测试关联的工作项。 + + + + + 为工作项属性初始化 类的新实例。 + + 工作项的 ID。 + + + + 获取关联工作项的 ID。 + + + + + 超时属性;用于指定单元测试的超时。 + + + + + 初始化 类的新实例。 + + + 超时。 + + + + + 初始化含有预设超时的 类的新实例 + + + 超时 + + + + + 获取超时。 + + + + + 要返回到适配器的 TestResult 对象。 + + + + + 初始化 类的新实例。 + + + + + 获取或设置结果的显示名称。这在返回多个结果时很有用。 + 如果为 null,则表示方法名用作了 DisplayName。 + + + + + 获取或设置测试执行的结果。 + + + + + 获取或设置测试失败时引发的异常。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 通过测试代码获取或设置调试跟踪。 + + + + + Gets or sets the debug traces by test code. + + + + + 获取或设置测试执行的持续时间。 + + + + + 获取或设置数据源中的数据行索引。仅对数据驱动测试的数据行单次运行结果 + 进行设置。 + + + + + 获取或设置测试方法的返回值。(当前始终为 null)。 + + + + + 获取或设置测试附加的结果文件。 + + + + + 为数据驱动测试指定连接字符串、表名和行访问方法。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource 的默认提供程序名称。 + + + + + 默认数据访问方法。 + + + + + 初始化 类的新实例。将使用数据提供程序、连接字符串、数据表和访问数据源的数据访问方法初始化此实例。 + + 不变的数据提供程序名称,例如 System.Data.SqlClient + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + 指定访问数据的顺序。 + + + + 初始化 类的新实例。将使用连接字符串和表名初始化此实例。 + 指定连接字符串和数据表,访问 OLEDB 数据源。 + + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + + + + 初始化 类的新实例。将使用数据提供程序和与设置名称关联的连接字符串初始化此实例。 + + 在 app.config 文件中 <microsoft.visualstudio.qualitytools> 部分找到的数据源的名称。 + + + + 获取表示数据源的数据提供程序的值。 + + + 数据提供程序名称。如果数据提供程序未在对象初始化时进行指定,则将返回 System.Data.OleDb 的默认提供程序。 + + + + + 获取表示数据源的连接字符串的值。 + + + + + 获取指示提供数据的表名的值。 + + + + + 获取用于访问数据源的方法。 + + + + 其中一个 值。如果 未初始化,这将返回默认值。 + + + + + 获取 app.config 文件的 <microsoft.visualstudio.qualitytools> 部分中找到的数据源的名称。 + + + + + 可在其中将数据指定为内联的数据驱动测试的属性。 + + + + + 查找所有数据行并执行。 + + + 测试方法。 + + + 一系列。 + + + + + 运行数据驱动测试方法。 + + 要执行的测试方法。 + 数据行。 + 执行的结果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..f335cdfc8 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,93 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用來指定每個測試部署的部署項目 (檔案或目錄)。 + 可以指定於測試類別或測試方法。 + 可以有屬性的多個執行個體來指定多個項目。 + 項目路徑可以是相對或絕對路徑,如果是相對路徑,則是 RunConfig.RelativePathRoot 的相對路徑。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future. + + + + + 初始化 類別的新執行個體。 + + 要部署的檔案或目錄。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + + + + 初始化 類別的新執行個體 + + 要部署之檔案或目錄的相對或絕對路徑。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + 要將項目複製到其中之目錄的路徑。它可以是部署目錄的絕對或相對路徑。下者所識別的所有檔案和目錄: 將會複製到這個目錄中。 + + + + 取得要複製之來源檔案或資料夾的路徑。 + + + + + 取得要將項目複製到其中之目錄的路徑。 + + + + + TestContext 類別。這個類別應該是完全抽象的,而且未包含任何 + 成員。配接器將會實作成員。架構中的使用者只 + 應透過妥善定義的介面來存取這個項目。 + + + + + 取得測試的測試屬性。 + + + + + 取得包含目前正在執行之測試方法的類別完整名稱 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 取得目前正在執行的測試方法名稱 + + + + + 取得目前測試結果。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..611e17b6e --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用於執行的 TestMethod。 + + + + + 取得測試方法的名稱。 + + + + + 取得測試類別的名稱。 + + + + + 取得測試方法的傳回型別。 + + + + + 取得測試方法的參數。 + + + + + 取得測試方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 叫用測試方法。 + + + 要傳遞至測試方法的引數。(例如,針對資料驅動) + + + 測試方法引動過程結果。 + + + This call handles asynchronous test methods as well. + + + + + 取得測試方法的所有屬性。 + + + 父類別中定義的屬性是否有效。 + + + 所有屬性。 + + + + + 取得特定類型的屬性。 + + System.Attribute type. + + 父類別中定義的屬性是否有效。 + + + 指定類型的屬性。 + + + + + 協助程式。 + + + + + 檢查參數不為 null。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws argument null exception when parameter is null. + + + + 檢查參數不為 null 或為空白。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws ArgumentException when parameter is null. + + + + 如何在資料驅動測試中存取資料列的列舉。 + + + + + 會以循序順序傳回資料列。 + + + + + 會以隨機順序傳回資料列。 + + + + + 用以定義測試方法之內嵌資料的屬性。 + + + + + 初始化 類別的新執行個體。 + + 資料物件。 + + + + 初始化 類別 (其採用引數的陣列) 的新執行個體。 + + 資料物件。 + 其他資料。 + + + + 取得用於呼叫測試方法的資料。 + + + + + 取得或設定測試結果中的顯示名稱來進行自訂。 + + + + + 判斷提示結果不明例外狀況。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + InternalTestFailureException 類別。用來表示測試案例的內部失敗 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 屬性,其指定預期所指定類型的例外狀況 + + + + + 初始化具預期類型之 類別的新執行個體 + + 預期的例外狀況類型 + + + + 初始化 類別 + (其具預期類型及訊息,用以在測試未擲回任何例外狀況時予以納入) 的新執行個體。 + + 預期的例外狀況類型 + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的訊息 + + + + + 取得值,指出預期例外狀況的類型 + + + + + 取得或設定值,指出是否允許類型衍生自預期例外狀況類型, + 以符合預期 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 驗證預期有單元測試所擲回的例外狀況類型 + + 單元測試所擲回的例外狀況 + + + + 指定以預期單元測試發生例外狀況之屬性的基底類別 + + + + + 使用預設無例外狀況訊息初始化 類別的新執行個體 + + + + + 初始化具無例外狀況訊息之 類別的新執行個體 + + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的 + 訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 取得預設無例外狀況訊息 + + ExpectedException 屬性類型名稱 + 預設無例外狀況訊息 + + + + 判斷是否預期會發生例外狀況。如果傳回方法,則了解 + 預期會發生例外狀況。如果方法擲回例外狀況,則了解 + 預期不會發生例外狀況,而且測試結果中 + 會包含所擲回例外狀況的訊息。 類別可以基於便利 + 使用。如果使用 並且判斷提示失敗, + 則測試結果設定為 [結果不明]。 + + 單元測試所擲回的例外狀況 + + + + 如果它是 AssertFailedException 或 AssertInconclusiveException,會重新擲回例外狀況 + + 如果是判斷提示例外狀況,則重新擲回例外狀況 + + + + 這個類別的設計目的是要協助使用者執行使用泛型型別之類型的單元測試。 + GenericParameterHelper 滿足一些常用泛型型別條件約束 + 例如: + 1. 公用預設建構函式 + 2. 實作公用介面: IComparable、IEnumerable + + + + + 初始化 類別 (其符合 C# 泛型中的 'newable' 限制式) + 的新執行個體。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 類別 (其將 Data 屬性初始化為使用者提供的值) + 的新執行個體。 + + 任何整數值 + + + + 取得或設定資料 + + + + + 執行兩個 GenericParameterHelper 物件的值比較 + + 要與之執行比較的物件 + 如果 obj 的值與 'this' GenericParameterHelper 物件相同,則為 true。 + 否則為 false。 + + + + 傳回這個物件的雜湊碼。 + + 雜湊碼。 + + + + 比較這兩個 物件的資料。 + + 要比較的物件。 + + 已簽署的編號,表示此執行個體及值的相對值。 + + + Thrown when the object passed in is not an instance of . + + + + + 傳回長度衍生自 Data 屬性的 + IEnumerator 物件。 + + IEnumerator 物件 + + + + 傳回等於目前物件的 + GenericParameterHelper 物件。 + + 複製的物件。 + + + + 讓使用者從單位測試記錄/寫入追蹤以進行診斷。 + + + + + LogMessage 的處理常式。 + + 要記錄的訊息。 + + + + 要接聽的事件。在單元測試寫入器寫入一些訊息時引發。 + 主要由配接器取用。 + + + + + API,供測試寫入者呼叫以記錄訊息。 + + 含預留位置的字串格式。 + 預留位置的參數。 + + + + TestCategory 屬性; 用來指定單元測試的分類。 + + + + + 初始化 類別的新執行個體,並將分類套用至測試。 + + + 測試「分類」。 + + + + + 取得已套用至測試的測試分類。 + + + + + "Category" 屬性的基底類別 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 類別的新執行個體。 + 將分類套用至測試。TestCategories 所傳回的字串 + 會與 /category 命令搭配使用,以篩選測試 + + + + + 取得已套用至測試的測試分類。 + + + + + AssertFailedException 類別。用來表示測試案例失敗 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 要測試單元測試內各種條件的協助程式類別集合。 + 如果不符合正在測試的條件,則會擲回 + 例外狀況。 + + + + + 取得 Assert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is true. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null. + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is not equal to . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 擲回 AssertFailedException。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 「靜態等於多載」用於比較兩種類型的執行個體的參考 + 相等。這種方法不應該用於比較兩個執行個體是否 + 相等。這個物件一律會擲出 Assert.Fail。請在單元測試中使用 + Assert.AreEqual 和相關聯多載。 + + 物件 A + 物件 B + 一律為 False。 + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 以 "\\0" 取代 null 字元 ('\0')。 + + + 要搜尋的字串。 + + + null 字元以 "\\0" 取代的已轉換字串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 建立並擲回 AssertionFailedException 的 Helper 函數 + + + 擲回例外狀況的判斷提示名稱 + + + 描述判斷提示失敗條件的訊息 + + + 參數。 + + + + + 檢查參數的有效條件 + + + 參數。 + + + 判斷提示「名稱」。 + + + 參數名稱 + + + 無效參數例外狀況的訊息 + + + 參數。 + + + + + 將物件安全地轉換成字串,並處理 null 值和 null 字元。 + Null 值會轉換成 "(null)"。Null 字元會轉換成 "\\0"。 + + + 要轉換為字串的物件。 + + + 已轉換的字串。 + + + + + 字串判斷提示。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if matches . + + + + + 要測試與單元測試內集合相關聯之各種條件的 + 協助程式類別集合。如果不符合正在測試的條件, + 則會擲回例外狀況。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is found in + . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if every element in is also found in + . + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 參數陣列,使用時機為格式 。 + + + Thrown if is equal to . + + + + + 判斷第一個集合是否為第二個集合的子集。 + 如果任一個集合包含重複的元素,則元素 + 在子集中的出現次數必須小於或 + 等於在超集中的出現次數。 + + + 測試預期包含在下者中的集合: 。 + + + 測試預期包含下者的集合: 。 + + + True 的情況為 是下者的子集: + ,否則為 false。 + + + + + 建構字典,內含每個元素在所指定集合中 + 的出現次數。 + + + 要處理的集合。 + + + 集合中的 null 元素數目。 + + + 包含每個元素在所指定集合內之出現次數 + 的字典。 + + + + + 尋找兩個集合之間不相符的元素。不相符的元素 + 為出現在預期集合中的次數 + 不同於它在實際集合中出現的次數。 + 集合假設為具有數目相同之元素的不同非 null 參考。 + 呼叫者負責這個層級的驗證。 + 如果沒有不相符的元素,則函數會傳回 false, + 而且不應該使用 out 參數。 + + + 要比較的第一個集合。 + + + 要比較的第二個集合。 + + + 下者的預期出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 下者的實際出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 不相符的元素 (可能為 null) 或 null (如果沒有 + 不相符的元素)。 + + + 如果找到不相符的元素,則為 true,否則為 false。 + + + + + 使用 object.Equals 來比較物件 + + + + + 架構例外狀況的基底類別。 + + + + + 初始化 類別的新執行個體。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 強型別資源類別,用於查詢當地語系化字串等。 + + + + + 傳回這個類別所使用的快取的 ResourceManager 執行個體。 + + + + + 針對使用這個強型別資源類別的所有資源查閱, + 覆寫目前執行緒的 CurrentUICulture 屬性。 + + + + + 查閱與「存取字串有無效的語法。」類似的當地語系化字串。 + + + + + 查閱與「預期在集合中包含 {1} 項 <{2}>,但實際的集合卻有 {3} 項。{0}」類似的當地語系化字串。 + + + + + 查閱與「找到重複的項目:<{1}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。大小寫與下列實際值不同:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異不大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1} ({2})>。實際:<{3} ({4})>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期任何值 (<{1}> 除外)。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「不要將實值型別傳遞給 AreSame()。轉換成 Object 的值從此不再一樣。請考慮使用 AreEqual()。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0} 失敗。{1}」類似的當地語系化字串。 + + + + + 不支援查詢類似非同步處理 TestMethod 與 UITestMethodAttribute 的當地語系化字串。移除非同步處理或使用 TestMethodAttribute。 + + + + + 查閱與「兩個集合都是空的。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。」類似的當地語系化字串。 + + + + + 查閱與「兩個集合參考都指向同一個集合物件。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「(null)」類似的當地語系化字串。 + + + + + 查閱與「(物件)」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 未包含字串 '{1}'。{2}。」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「Assert.Equals 不應使用於判斷提示。請改用 Assert.AreEqual 及多載。」類似的當地語系化字串。 + + + + + 查閱與「集合中的元素數目不符。預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {0} 的元素不符。」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的項目不是預期的類型。預期的類型:<{2}>。實際的類型:<{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的元素是 (null)。預期的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 結尾。{2}。」類似的當地語系化字串。 + + + + + 查閱與「無效的引數 - EqualsTester 無法使用 null。」類似的當地語系化字串。 + + + + + 查閱與「無法將 {0} 類型的物件轉換為 {1}。」類似的當地語系化字串。 + + + + + 查閱與「所參考的內部物件已不再有效。」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。{1}。」類似的當地語系化字串。 + + + + + 查閱與「屬性 {0} 具有類型 {1}; 預期為類型 {2}。」類似的當地語系化字串。 + + + + + 查閱與「{0} 預期的類型:<{1}>。實際的類型:<{2}>。」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 不符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「錯誤的類型:<{1}>。實際的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 相符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「未指定 DataRowAttribute。至少一個 DataRowAttribute 必須配合 DataTestMethodAttribute 使用。」類似的當地語系化字串。 + + + + + 查閱與「未擲回任何例外狀況。預期為 {1} 例外狀況。{0}」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。值不能為 null。{1}。」類似的當地語系化字串。 + + + + + 查閱與「元素數目不同。」類似的當地語系化字串。 + + + + + 查閱與「找不到具有所指定簽章的建構函式。 + 您可能必須重新產生私用存取子,或者該成員可能為私用, + 並且定義在基底類別上。如果是後者,您必須將定義 + 該成員的類型傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「找不到所指定的成員 ({0})。 + 您可能必須重新產生私用存取子, + 或者該成員可能為私用,並且定義在基底類別上。如果是後者,您必須將定義該成員的類型 + 傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 開頭。{2}。」類似的當地語系化字串。 + + + + + 查閱與「預期的例外狀況類型必須是 System.Exception 或衍生自 System.Exception 的類型。」類似的當地語系化字串。 + + + + + 查閱與「(由於發生例外狀況,所以無法取得 {0} 類型之例外狀況的訊息。)」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回預期的例外狀況 {0}。{1}」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回例外狀況。測試方法上定義的屬性 {0} 需要例外狀況。」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1}。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1} 或由它衍生的類型。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「擲回例外狀況 {2},但需要的是例外狀況 {1}。{0} + 例外狀況訊息: {3} + 堆疊追蹤: {4}」類似的當地語系化字串。 + + + + + 單元測試結果 + + + + + 已執行測試,但發生問題。 + 問題可能包含例外狀況或失敗的判斷提示。 + + + + + 測試已完成,但是無法指出成功還是失敗。 + 可能用於已中止測試。 + + + + + 已執行測試且沒有任何問題。 + + + + + 目前正在執行測試。 + + + + + 嘗試執行測試時發生系統錯誤。 + + + + + 測試逾時。 + + + + + 使用者已中止測試。 + + + + + 測試處於未知狀態 + + + + + 提供單元測試架構的協助程式功能 + + + + + 遞迴地取得例外狀況訊息 (包含所有內部例外狀況 + 的訊息) + + 要為其取得訊息的例外狀況 + 含有錯誤訊息資訊的字串 + + + + 逾時的列舉,可以與 類別搭配使用。 + 列舉的類型必須相符 + + + + + 無限。 + + + + + 測試類別屬性。 + + + + + 取得可讓您執行此測試的測試方法屬性。 + + 此方法上所定義的測試方法屬性執行個體。 + 要用來執行此測試。 + Extensions can override this method to customize how all methods in a class are run. + + + + 測試方法屬性。 + + + + + 執行測試方法。 + + 要執行的測試方法。 + 代表測試結果的 TestResult 物件陣列。 + Extensions can override this method to customize running a TestMethod. + + + + 測試初始化屬性。 + + + + + 測試清除屬性。 + + + + + Ignore 屬性。 + + + + + 測試屬性 (property) 屬性 (attribute)。 + + + + + 初始化 類別的新執行個體。 + + + 名稱。 + + + 值。 + + + + + 取得名稱。 + + + + + 取得值。 + + + + + 類別會將屬性初始化。 + + + + + 類別清除屬性。 + + + + + 組件會將屬性初始化。 + + + + + 組件清除屬性。 + + + + + 測試擁有者 + + + + + 初始化 類別的新執行個體。 + + + 擁有者。 + + + + + 取得擁有者。 + + + + + Priority 屬性; 用來指定單元測試的優先順序。 + + + + + 初始化 類別的新執行個體。 + + + 優先順序。 + + + + + 取得優先順序。 + + + + + 測試描述 + + + + + 初始化 類別的新執行個體來描述測試。 + + 描述。 + + + + 取得測試的描述。 + + + + + CSS 專案結構 URI + + + + + 初始化用於 CSS 專案結構 URI 之 類別的新執行個體。 + + CSS 專案結構 URI。 + + + + 取得 CSS 專案結構 URI。 + + + + + CSS 反覆項目 URI + + + + + 初始化用於 CSS 反覆項目 URI 之 類別的新執行個體。 + + CSS 反覆項目 URI。 + + + + 取得 CSS 反覆項目 URI。 + + + + + 工作項目屬性; 用來指定與這個測試相關聯的工作項目。 + + + + + 初始化用於工作項目屬性之 類別的新執行個體。 + + 工作項目的識別碼。 + + + + 取得建立關聯之工作項目的識別碼。 + + + + + Timeout 屬性; 用來指定單元測試的逾時。 + + + + + 初始化 類別的新執行個體。 + + + 逾時。 + + + + + 初始化具有預設逾時之 類別的新執行個體 + + + 逾時 + + + + + 取得逾時。 + + + + + 要傳回給配接器的 TestResult 物件。 + + + + + 初始化 類別的新執行個體。 + + + + + 取得或設定結果的顯示名稱。適用於傳回多個結果時。 + 如果為 null,則使用「方法名稱」當成 DisplayName。 + + + + + 取得或設定測試執行的結果。 + + + + + 取得或設定測試失敗時所擲回的例外狀況。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 透過測試程式碼取得或設定偵錯追蹤。 + + + + + Gets or sets the debug traces by test code. + + + + + 取得或設定測試執行的持續時間。 + + + + + 取得或設定資料來源中的資料列索引。僅針對個別執行資料驅動測試之資料列 + 的結果所設定。 + + + + + 取得或設定測試方法的傳回值 (目前一律為 null)。 + + + + + 取得或設定測試所附加的結果檔案。 + + + + + 指定連接字串、表格名稱和資料列存取方法來進行資料驅動測試。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + 資料來源的預設提供者名稱。 + + + + + 預設資料存取方法。 + + + + + 初始化 類別的新執行個體。將使用資料提供者、連接字串、運算列表和資料存取方法將這個執行個體初始化,以存取資料來源。 + + 非變異資料提供者名稱 (例如 System.Data.SqlClient) + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + 指定資料的存取順序。 + + + + 初始化 類別的新執行個體。此執行個體將使用連接字串和表格名稱進行初始化。 + 指定連接字串和運算列表以存取 OLEDB 資料來源。 + + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + + + + 初始化 類別的新執行個體。將使用與設定名稱相關聯的資料提供者和連接字串將這個執行個體初始化。 + + 在 app.config 檔案的 <microsoft.visualstudio.qualitytools> 區段中找到資料來源名稱。 + + + + 取得值,代表資料來源的資料提供者。 + + + 資料提供者名稱。如果未在物件初始化時指定資料提供者,將會傳回 System.Data.OleDb 的預設提供者。 + + + + + 取得值,代表資料來源的連接字串。 + + + + + 取得值,指出提供資料的表格名稱。 + + + + + 取得用來存取資料來源的方法。 + + + + 下列其中之一: 值。如果 未進行初始化,則這會傳回預設值 。 + + + + + 取得在 app.config 檔案 <microsoft.visualstudio.qualitytools> 區段中找到的資料來源名稱。 + + + + + 可在其中內嵌指定資料之資料驅動測試的屬性。 + + + + + 尋找所有資料列,並執行。 + + + 測試「方法」。 + + + 下列項目的陣列: 。 + + + + + 執行資料驅動測試方法。 + + 要執行的測試方法。 + 資料列。 + 執行結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML new file mode 100644 index 000000000..7fd6e5022 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML @@ -0,0 +1,149 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Used to specify deployment item (file or directory) for per-test deployment. + Can be specified on test class or test method. + Can have multiple instances of the attribute to specify more than one item. + The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensibility point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Initializes a new instance of the class. + + The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + + + + Initializes a new instance of the class + + The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies. + The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by will be copied to this directory. + + + + Gets the path of the source file or folder to be copied. + + + + + Gets the path of the directory to which the item is copied. + + + + + Execute test code in UI thread for Windows store apps. + + + + + Executes the test method on the UI Thread. + + + The test method. + + + An array of instances. + + Throws when run on an async test method. + + + + + TestContext class. This class should be fully abstract and not contain any + members. The adapter will implement the members. Users in the framework should + only access this via a well-defined interface. + + + + + Gets test properties for a test. + + + + + Gets or sets the cancellation token source. This token source is cancelled when test times out. Also when explicitly cancelled the test will be aborted + + + + + Gets Fully-qualified name of the class containing the test method currently being executed + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Gets the fully specified type name metadata format. + + + + + Gets the fully specified method name metadata format. + + + + + Gets the Name of the test method currently being executed + + + + + Gets the current test outcome. + + + + + Adds a file name to the list in TestResult.ResultFileNames. + + + The file name. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll new file mode 100644 index 000000000..3c48fec5a Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML new file mode 100644 index 000000000..910f6f624 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.XML @@ -0,0 +1,5318 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + The assembly cleanup attribute. + + + + + The assembly initialize attribute. + + + + + The class cleanup attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Initializes a new instance of the class. + + + Specifies the ClassCleanup Inheritance Behavior + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets the Inheritance Behavior + + + + + Gets when to run class cleanup methods. + + + + + When to run ClassCleanup during test execution + + + + + Run at end of assembly + + + + + Run at end of class + + + + + Specification for when to run class cleanup methods. + + + + + Default class cleanup execution + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Specifies the class clean-up behavior. + To capture output of class clean-up method in logs + must be set to . + + + + + Gets when to run class cleanup methods. + + + + + The class initialize attribute. + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + + + Initializes a new instance of the class. + ClassInitializeAttribute + + + Specifies the ClassInitialize Inheritance Behavior + + + + + Gets the Inheritance Behavior + + + + + CSS Iteration URI + + + + + Initializes a new instance of the class for CSS Iteration URI. + + The CSS Iteration URI. + + + + Gets the CSS Iteration URI. + + + + + CSS Project Structure URI + + + + + Initializes a new instance of the class for CSS Project Structure URI. + + The CSS Project Structure URI. + + + + Gets the CSS Project Structure URI. + + + + + Attribute for data driven test where data can be specified in-line. + + + + + Description of the test + + + + + Initializes a new instance of the class to describe a test. + + The description. + + + + Gets the description of a test. + + + + + The presence of this attribute in a test assembly causes MSTest to discover test classes (i.e. classes having + the "TestClass" attribute) and test methods (i.e. methods having the "TestMethod" attribute) which are declared + internal in addition to test classes and test methods which are declared public. When this attribute is not + present in a test assembly the tests in such classes will not be discovered. + + + + + Specification to disable parallelization. + + + + + Enum to specify whether the data is stored as property or in method. + + + + + Data is declared as property. + + + + + Data is declared in method. + + + + + Attribute to define dynamic data for a test method. + + + + + Initializes a new instance of the class. + + + The name of method or property having test data. + + + Specifies whether the data is stored as property or in method. + + + + + Initializes a new instance of the class when the test data is present in a class different + from test method's class. + + + The name of method or property having test data. + + + The declaring type of property or method having data. Useful in cases when declaring type is present in a class different from + test method's class. If null, declaring type defaults to test method's class type. + + + Specifies whether the data is stored as property or in method. + + + + + Gets or sets the name of method used to customize the display name in test results. + + + + + Gets or sets the declaring type used to customize the display name in test results. + + + + + + + + + + + The ignore attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Message specifies reason for ignoring. + + + + + Gets the owner. + + + + + Enumeration for inheritance behavior, that can be used with both the class + and class. + Defines the behavior of the ClassInitialize and ClassCleanup methods of base classes. + The type of the enumeration must match + + + + + None. + + + + + Before each derived class. + + + + + Test Owner + + + + + Initializes a new instance of the class. + + + The owner. + + + + + Gets the owner. + + + + + Specification for parallelization level for a test run. + + + + + The default scope for the parallel run. Although method level gives maximum parallelization, the default is set to + class level to enable maximum number of customers to easily convert their tests to run in parallel. In most cases within + a class tests aren't thread safe. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the number of workers to be used for the parallel run. + + + + + Gets or sets the scope of the parallel run. + + + To enable all classes to run in parallel set this to . + To get the maximum parallelization level set this to . + + + + + Parallel execution mode. + + + + + Each thread of execution will be handed a TestClass worth of tests to execute. + Within the TestClass, the test methods will execute serially. + + + + + Each thread of execution will be handed TestMethods to execute. + + + + + Priority attribute; used to specify the priority of a unit test. + + + + + Initializes a new instance of the class. + + + The priority. + + + + + Gets the priority. + + + + + The test class attribute. + + + + + Gets a test method attribute that enables running this test. + + The test method attribute instance defined on this method. + The to be used to run this test. + Extensions can override this method to customize how all methods in a class are run. + + + + The test cleanup attribute marks methods that are executed after every test marked with a . + + + + + Specifies how to discover ITestDataSource tests. + + + + + Initializes a new instance of the class. + + + Sets which to use when discovering ITestDataSource tests. + + + + + Gets specified discovery option. + + + + + Supported TestDataSource discovery modes + + + + + Discover tests during execution. + This was the default option on version 2.2.3 and before. + + + + + Discover and expand ITestDataSource based tests. + This is the default behavior after version 2.2.3. + + + + + The test initialize attribute. + + + + + The test method attribute. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + + Display name for the test. + + + + + Gets display name for the test. + + + + + Executes a test method. + + The test method to execute. + An array of TestResult objects that represent the outcome(s) of the test. + Extensions can override this method to customize running a TestMethod. + + + + The test property attribute. + + + + + Initializes a new instance of the class. + + + The name. + + + The value. + + + + + Gets the name. + + + + + Gets the value. + + + + + TestResult object to be returned to adapter. + + + + + Initializes a new instance of the class. + + + + + Gets or sets the display name of the result. Useful when returning multiple results. + If null then Method name is used as DisplayName. + + + + + Gets or sets the outcome of the test execution. + + + + + Gets or sets the exception thrown when test is failed. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the output of the message logged by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the debug traces by test code. + + + + + Gets or sets the execution id of the result. + + + + + Gets or sets the parent execution id of the result. + + + + + Gets or sets the inner results count of the result. + + + + + Gets or sets the duration of test execution. + + + + + Gets or sets the data row index in data source. Set only for results of individual + run of data row of a data driven test. + + + + + Gets or sets the return value of the test method. (Currently null always). + + + + + Gets or sets the result files attached by the test. + + + + + Enumeration for timeouts, that can be used with the class. + The type of the enumeration must match + + + + + The infinite. + + + + + Timeout attribute; used to specify the timeout of a unit test. + + + + + Initializes a new instance of the class. + + + The timeout in milliseconds. + + + + + Initializes a new instance of the class with a preset timeout + + + The timeout + + + + + Gets the timeout in milliseconds. + + + + + WorkItem attribute; used to specify a work item associated with this test. + + + + + Initializes a new instance of the class for the WorkItem Attribute. + + The Id to a work item. + + + + Gets the Id to a work item associated. + + + + + Test data source for data driven tests. + + + + + Gets the test data from custom test data source. + + + The method info of test method. + + + Test data for calling test method. + + + + + Gets the display name corresponding to test data row for displaying in TestResults. + + + The method info of test method. + + + The test data which is passed to test method. + + + The . + + + + + TestMethod for execution. + + + + + Gets the name of test method. + + + + + Gets the name of test class. + + + + + Gets the return type of test method. + + + + + Gets the arguments with which test method is invoked. + + + + + Gets the parameters of test method. + + + + + Gets the methodInfo for test method. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invokes the test method. + + + Arguments to pass to test method. (E.g. For data driven) + + + Result of test method invocation. + + + This call handles asynchronous test methods as well. + + + + + Get all attributes of the test method. + + + Whether attribute defined in parent class is valid. + + + All attributes. + + + + + Get attribute of specific type. + + System.Attribute type. + + Whether attribute defined in parent class is valid. + + + The attributes of the specified type. + + + + + The helper. + + + + + The check parameter not null. + + + The parameter. + + + The parameter name. + + + The message. + + Throws argument null exception when parameter is null. + + + + The check parameter not null or empty. + + + The parameter. + + + The parameter name. + + + The message. + + Throws ArgumentException when parameter is null. + + + + Enumeration for how we access data rows in data driven testing. + + + + + Rows are returned in sequential order. + + + + + Rows are returned in random order. + + + + + Attribute to define in-line data for a test method. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The data object. + + + + Initializes a new instance of the class which takes in an array of arguments. + + A data object. + More data. + + + + Gets data for calling test method. + + + + + Gets or sets display name in test results for customization. + + + + + + + + + + + The assert inconclusive exception. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + InternalTestFailureException class. Used to indicate internal failure for a test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initializes a new instance of the class. + + The exception message. + The exception. + + + + Initializes a new instance of the class. + + The exception message. + + + + Initializes a new instance of the class. + + + + + Attribute that specifies to expect an exception of the specified type + + + + + Initializes a new instance of the class with the expected type + + Type of the expected exception + + + + Initializes a new instance of the class with + the expected type and the message to include when no exception is thrown by the test. + + Type of the expected exception + + Message to include in the test result if the test fails due to not throwing an exception + + + + + Gets a value indicating the Type of the expected exception + + + + + Gets or sets a value indicating whether to allow types derived from the type of the expected exception to + qualify as expected + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Verifies that the type of the exception thrown by the unit test is expected + + The exception thrown by the unit test + + + + Base class for attributes that specify to expect an exception from a unit test + + + + + Initializes a new instance of the class with a default no-exception message + + + + + Initializes a new instance of the class with a no-exception message + + + Message to include in the test result if the test fails due to not throwing an + exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the message to include in the test result if the test fails due to not throwing an exception + + + + + Gets the default no-exception message + + The ExpectedException attribute type name + The default no-exception message + + + + Determines whether the exception is expected. If the method returns, then it is + understood that the exception was expected. If the method throws an exception, then it + is understood that the exception was not expected, and the thrown exception's message + is included in the test result. The class can be used for + convenience. If is used and the assertion fails, + then the test outcome is set to Inconclusive. + + The exception thrown by the unit test + + + + Rethrow the exception if it is an AssertFailedException or an AssertInconclusiveException + + The exception to rethrow if it is an assertion exception + + + + This class is designed to help user doing unit testing for types which uses generic types. + GenericParameterHelper satisfies some common generic type constraints + such as: + 1. public default constructor + 2. implements common interface: IComparable, IEnumerable + + + + + Initializes a new instance of the class that + satisfies the 'newable' constraint in C# generics. + + + This constructor initializes the Data property to a random value. + + + + + Initializes a new instance of the class that + initializes the Data property to a user-supplied value. + + Any integer value + + + + Gets or sets the Data + + + + + Do the value comparison for two GenericParameterHelper object + + object to do comparison with + true if obj has the same value as 'this' GenericParameterHelper object. + false otherwise. + + + + Returns a hashcode for this object. + + The hash code. + + + + Compares the data of the two objects. + + The object to compare with. + + A signed number indicating the relative values of this instance and value. + + + Thrown when the object passed in is not an instance of . + + + + + Returns an IEnumerator object whose length is derived from + the Data property. + + The IEnumerator object + + + + Returns a GenericParameterHelper object that is equal to + the current object. + + The cloned object. + + + + Enables users to log/write traces from unit tests for diagnostics. + + + + + Handler for LogMessage. + + Message to log. + + + + Event to listen. Raised when unit test writer writes some message. + Mainly to consume by adapter. + + + + + API for test writer to call to Log messages. + + String format with placeholders. + Parameters for placeholders. + + + + TestCategory attribute; used to specify the category of a unit test. + + + + + Initializes a new instance of the class and applies the category to the test. + + + The test Category. + + + + + Gets the test categories that has been applied to the test. + + + + + Base class for the "Category" attribute + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initializes a new instance of the class. + Applies the category to the test. The strings returned by TestCategories + are used with the /category command to filter tests + + + + + Gets the test category that has been applied to the test. + + + + + AssertFailedException class. Used to indicate failure for a test case + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + Initializes a new instance of the class. + + + + + A collection of helper classes to test various conditions within + unit tests. If the condition being tested is not met, an exception + is thrown. + + + + + Gets the singleton instance of the Assert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is true and throws an exception + if the condition is false. + + + The condition the test expects to be true. + + + The message to include in the exception when + is false. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is false. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified condition is false and throws an exception + if the condition is true. + + + The condition the test expects to be false. + + + The message to include in the exception when + is true. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is true. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + Thrown if is not null. + + + + + Tests whether the specified object is null and throws an exception + if it is not. + + + The object the test expects to be null. + + + The message to include in the exception when + is not null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + Thrown if is null. + + + + + Tests whether the specified object is non-null and throws an exception + if it is null. + + + The object the test expects not to be null. + + + The message to include in the exception when + is null. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null. + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects both refer to the same object and + throws an exception if the two inputs do not refer to the same object. + + + The first object to compare. This is the value the test expects. + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not the same as . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not refer to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified objects refer to different objects and + throws an exception if the two inputs refer to the same object. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is the same as . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if refers to the same object + as . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is not equal to . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are equal and throws an exception + if the two values are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the tests expects. + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified values are unequal and throws an exception + if the two values are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The type of values to compare. + + + The first value to compare. This is the value the test expects not + to match . + + + The second value to compare. This is the value produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are equal and throws an exception + if the two objects are not equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the object the tests expects. + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified objects are unequal and throws an exception + if the two objects are equal. Different numeric types are treated + as unequal even if the logical values are equal. 42L is not equal to 42. + + + The first object to compare. This is the value the test expects not + to match . + + + The second object to compare. This is the object produced by the code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are equal and throws an exception + if they are not equal. + + + The first float to compare. This is the float the tests expects. + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified floats are unequal and throws an exception + if they are equal. + + + The first float to compare. This is the float the test expects not to + match . + + + The second float to compare. This is the float produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are equal and throws an exception + if they are not equal. + + + The first decimal to compare. This is the decimal the tests expects. + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified decimals are unequal and throws an exception + if they are equal. + + + The first decimal to compare. This is the decimal the test expects not to + match . + + + The second decimal to compare. This is the decimal produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are equal and throws an exception + if they are not equal. + + + The first long to compare. This is the long the tests expects. + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified longs are unequal and throws an exception + if they are equal. + + + The first long to compare. This is the long the test expects not to + match . + + + The second long to compare. This is the long produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + Thrown if is not equal to + . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are equal and throws an exception + if they are not equal. + + + The first double to compare. This is the double the tests expects. + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by more than . + + + The message to include in the exception when + is different than by more than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + The first double to compare. This is the double the test expects not to + match . + + + The second double to compare. This is the double produced by the code under test. + + + The required accuracy. An exception will be thrown only if + is different than + by at most . + + + The message to include in the exception when + is equal to or different by less than + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are equal and throws an exception + if they are not equal. + + + The first string to compare. This is the string the tests expects. + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. The invariant culture is used for the comparison. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified strings are unequal and throws an exception + if they are equal. + + + The first string to compare. This is the string the test expects not to + match . + + + The second string to compare. This is the string produced by the code under test. + + + A Boolean indicating a case-sensitive or insensitive comparison. (true + indicates a case-insensitive comparison.) + + + A CultureInfo object that supplies culture-specific comparison information. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is an instance of the expected + type and throws an exception if the expected type is not in the + inheritance hierarchy of the object. + + + The object the test expects to be of the specified type. + + + The expected type of . + + + The message to include in the exception when + is not an instance of . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Tests whether the specified object is not an instance of the wrong + type and throws an exception if the specified type is in the + inheritance hierarchy of the object. + + + The object the test expects not to be of the specified type. + + + The type that should not be. + + + The message to include in the exception when + is an instance of . The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Throws an AssertFailedException. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertFailedException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + Always thrown. + + + + + Throws an AssertInconclusiveException. + + + The message to include in the exception. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Always thrown. + + + + + Static equals overloads are used for comparing instances of two types for reference + equality. This method should not be used for comparison of two instances for + equality. This object will always throw with Assert.Fail. Please use + Assert.AreEqual and associated overloads in your unit tests. + + Object A + Object B + False, always. + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The exception that was thrown. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + + Delegate to code to be tested and which is expected to throw exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Tests whether the code specified by delegate throws exact given exception of type (and not of derived type) + and throws AssertFailedException if code does not throws exception or throws exception of type other than . + + Delegate to code to be tested and which is expected to throw exception. + + The message to include in the exception when + does not throws exception of type . + + + An array of parameters to use when formatting . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + The executing the delegate. + + + + + Replaces null characters ('\0') with "\\0". + + + The string to search. + + + The converted string with null characters replaced by "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Helper function that creates and throws an AssertionFailedException + + + name of the assertion throwing an exception + + + message describing conditions for assertion failure + + + The parameters. + + + + + Checks the parameter for valid conditions + + + The parameter. + + + The assertion Name. + + + parameter name + + + message for the invalid parameter exception + + + The parameters. + + + + + Safely converts an object to a string, handling null values and null characters. + Null values are converted to "(null)". Null characters are converted to "\\0". + + + The object to convert to a string. + + + The converted string. + + + + + The string assert. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert customAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string contains the specified substring + and throws an exception if the substring does not occur within the + test string. + + + The string that is expected to contain . + + + The string expected to occur within . + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string begins with the specified substring + and throws an exception if the test string does not start with the + substring. + + + The string that is expected to begin with . + + + The string expected to be a prefix of . + + + The message to include in the exception when + does not begin with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not begin with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + Thrown if does not end with + . + + + + + Tests whether the specified string ends with the specified substring + and throws an exception if the test string does not end with the + substring. + + + The string that is expected to end with . + + + The string expected to be a suffix of . + + + The message to include in the exception when + does not end with . The message is + shown in test results. + + + The comparison method to compare strings . + + + An array of parameters to use when formatting . + + + Thrown if does not end with + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + Thrown if does not match + . + + + + + Tests whether the specified string matches a regular expression and + throws an exception if the string does not match the expression. + + + The string that is expected to match . + + + The regular expression that is + expected to match. + + + The message to include in the exception when + does not match . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if does not match + . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + Thrown if matches . + + + + + Tests whether the specified string does not match a regular expression + and throws an exception if the string matches the expression. + + + The string that is expected not to match . + + + The regular expression that is + expected to not match. + + + The message to include in the exception when + matches . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if matches . + + + + + A collection of helper classes to test various conditions associated + with collections within unit tests. If the condition being tested is not + met, an exception is thrown. + + + + + Gets the singleton instance of the CollectionAssert functionality. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert customAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + Thrown if is not found in + . + + + + + Tests whether the specified collection contains the specified element + and throws an exception if the element is not in the collection. + + + The collection in which to search for the element. + + + The element that is expected to be in the collection. + + + The message to include in the exception when + is not in . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + Thrown if is found in + . + + + + + Tests whether the specified collection does not contain the specified + element and throws an exception if the element is in the collection. + + + The collection in which to search for the element. + + + The element that is expected not to be in the collection. + + + The message to include in the exception when + is in . The message is shown in test + results. + + + An array of parameters to use when formatting . + + + Thrown if is found in + . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are non-null and throws + an exception if any element is null. + + + The collection in which to search for null elements. + + + The message to include in the exception when + contains a null element. The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if a null element is found in . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether all items in the specified collection are unique or not and + throws if any two elements in the collection are equal. + + + The collection in which to search for duplicate elements. + + + The message to include in the exception when + contains at least one duplicate element. The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if a two or more equal elements are found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is a subset of another collection and + throws an exception if any element in the subset is not also in the + superset. + + + The collection expected to be a subset of . + + + The collection expected to be a superset of + + + The message to include in the exception when an element in + is not found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is not found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + Thrown if every element in is also found in + . + + + + + Tests whether one collection is not a subset of another collection and + throws an exception if all elements in the subset are also in the + superset. + + + The collection expected not to be a subset of . + + + The collection expected not to be a superset of + + + The message to include in the exception when every element in + is also found in . + The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if every element in is also found in + . + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the same elements and throws an + exception if either collection contains an element not in the other + collection. + + + The first collection to compare. This contains the elements the test + expects. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when an element was found + in one of the collections but not the other. The message is shown + in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether two collections contain the different elements and throws an + exception if the two collections contain identical elements without regard + to order. + + + The first collection to compare. This contains the elements the test + expects to be different than the actual collection. + + + The second collection to compare. This is the collection produced by + the code under test. + + + The message to include in the exception when + contains the same elements as . The message + is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether all elements in the specified collection are instances + of the expected type and throws an exception if the expected type is + not in the inheritance hierarchy of one or more of the elements. + + + The collection containing elements the test expects to be of the + specified type. + + + The expected type of each element of . + + + The message to include in the exception when an element in + is not an instance of + . The message is shown in test results. + + + An array of parameters to use when formatting . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Whether two elements are the same + is checked using method. + Different references to the same value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are equal and throws an exception + if the two collections are not equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects. + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is not equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is not equal to + . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + Thrown if is equal to . + + + + + Tests whether the specified collections are unequal and throws an exception + if the two collections are equal. Equality is defined as having the same + elements in the same order and quantity. Different references to the same + value are considered equal. + + + The first collection to compare. This is the collection the tests expects + not to match . + + + The second collection to compare. This is the collection produced by the + code under test. + + + The compare implementation to use when comparing elements of the collection. + + + The message to include in the exception when + is equal to . The message is shown in + test results. + + + An array of parameters to use when formatting . + + + Thrown if is equal to . + + + + + Determines whether the first collection is a subset of the second + collection. If either set contains duplicate elements, the number + of occurrences of the element in the subset must be less than or + equal to the number of occurrences in the superset. + + + The collection the test expects to be contained in . + + + The collection the test expects to contain . + + + True if is a subset of + , false otherwise. + + + + + Constructs a dictionary containing the number of occurrences of each + element in the specified collection. + + + The collection to process. + + + The number of null elements in the collection. + + + A dictionary containing the number of occurrences of each element + in the specified collection. + + + + + Finds a mismatched element between the two collections. A mismatched + element is one that appears a different number of times in the + expected collection than it does in the actual collection. The + collections are assumed to be different non-null references with the + same number of elements. The caller is responsible for this level of + verification. If there is no mismatched element, the function returns + false and the out parameters should not be used. + + + The first collection to compare. + + + The second collection to compare. + + + The expected number of occurrences of + or 0 if there is no mismatched + element. + + + The actual number of occurrences of + or 0 if there is no mismatched + element. + + + The mismatched element (may be null) or null if there is no + mismatched element. + + + true if a mismatched element was found; false otherwise. + + + + + compares the objects using object.Equals + + + + + Base class for Framework Exceptions. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The message. + The exception. + + + + Initializes a new instance of the class. + + The message. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Access string has invalid syntax.. + + + + + Looks up a localized string similar to The expected collection contains {1} occurrence(s) of <{2}>. The actual collection contains {3} occurrence(s). {0}. + + + + + Looks up a localized string similar to Duplicate item found:<{1}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Case is different for actual value:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference no greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected:<{1} ({2})>. Actual:<{3} ({4})>. {0}. + + + + + Looks up a localized string similar to Expected:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Expected a difference greater than <{3}> between expected value <{1}> and actual value <{2}>. {0}. + + + + + Looks up a localized string similar to Expected any value except:<{1}>. Actual:<{2}>. {0}. + + + + + Looks up a localized string similar to Do not pass value types to AreSame(). Values converted to Object will never be the same. Consider using AreEqual(). {0}. + + + + + Looks up a localized string similar to {0} must derive from {1}!. + + + + + Looks up a localized string similar to {0} failed. {1}. + + + + + Looks up a localized string similar to async TestMethod with UITestMethodAttribute are not supported. Either remove async or use TestMethodAttribute.. + + + + + Looks up a localized string similar to UITestMethodAttribute.DispatcherQueue should not be null. To use UITestMethodAttribute within a WinUI Desktop App, remember to set the static UITestMethodAttribute.DispatcherQueue during the test initialization.. + + + + + Looks up a localized string similar to Both collections are empty. {0}. + + + + + Looks up a localized string similar to Both collection contain same elements.. + + + + + Looks up a localized string similar to Both collection references point to the same collection object. {0}. + + + + + Looks up a localized string similar to Both collections contain the same elements. {0}. + + + + + Looks up a localized string similar to {0}({1}). + + + + + Looks up a localized string similar to (null). + + + + + Looks up a localized string similar to (object). + + + + + Looks up a localized string similar to String '{0}' does not contain string '{1}'. {2}.. + + + + + Looks up a localized string similar to {0} ({1}). + + + + + Looks up a localized string similar to Assert.Equals should not be used for Assertions. Please use Assert.AreEqual & overloads instead.. + + + + + Looks up a localized string similar to Method {0} must match the expected signature: public static {1} {0}({2}).. + + + + + Looks up a localized string similar to Property or method {0} on {1} returns empty IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Property or method {0} on {1} does not return IEnumerable<object[]>.. + + + + + Looks up a localized string similar to Value returned by property or method {0} shouldn't be null.. + + + + + Looks up a localized string similar to The number of elements in the collections do not match. Expected:<{1}>. Actual:<{2}>.{0}. + + + + + Looks up a localized string similar to Element at index {0} do not match.. + + + + + Looks up a localized string similar to Element at index {1} is not of expected type. Expected type:<{2}>. Actual type:<{3}>.{0}. + + + + + Looks up a localized string similar to Element at index {1} is (null). Expected type:<{2}>.{0}. + + + + + Looks up a localized string similar to String '{0}' does not end with string '{1}'. {2}.. + + + + + Looks up a localized string similar to Invalid argument- EqualsTester can't use nulls.. + + + + + Looks up a localized string similar to Cannot convert object of type {0} to {1}.. + + + + + Looks up a localized string similar to The internal object referenced is no longer valid.. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. {1}.. + + + + + Looks up a localized string similar to The property {0} has type {1}; expected type {2}.. + + + + + Looks up a localized string similar to {0} Expected type:<{1}>. Actual type:<{2}>.. + + + + + Looks up a localized string similar to String '{0}' does not match pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to Wrong Type:<{1}>. Actual type:<{2}>. {0}. + + + + + Looks up a localized string similar to String '{0}' matches pattern '{1}'. {2}.. + + + + + Looks up a localized string similar to No test data source specified. Atleast one TestDataSource is required with DataTestMethodAttribute.. + + + + + Looks up a localized string similar to No exception thrown. {1} exception was expected. {0}. + + + + + Looks up a localized string similar to The parameter '{0}' is invalid. The value cannot be null. {1}.. + + + + + Looks up a localized string similar to Different number of elements.. + + + + + Looks up a localized string similar to + The constructor with the specified signature could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to + The member specified ({0}) could not be found. You might need to regenerate your private accessor, + or the member may be private and defined on a base class. If the latter is true, you need to pass the type + that defines the member into PrivateObject's constructor. + . + + + + + Looks up a localized string similar to String '{0}' does not start with string '{1}'. {2}.. + + + + + Looks up a localized string similar to The expected exception type must be System.Exception or a type derived from System.Exception.. + + + + + Looks up a localized string similar to (Failed to get the message for an exception of type {0} due to an exception.). + + + + + Looks up a localized string similar to Test method did not throw expected exception {0}. {1}. + + + + + Looks up a localized string similar to Test method did not throw an exception. An exception was expected by attribute {0} defined on the test method.. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Test method threw exception {0}, but exception {1} or a type derived from it was expected. Exception message: {2}. + + + + + Looks up a localized string similar to Threw exception {2}, but exception {1} was expected. {0} + Exception Message: {3} + Stack Trace: {4}. + + + + + unit test outcomes + + + + + Test was executed, but there were issues. + Issues may involve exceptions or failed assertions. + + + + + Test has completed, but we can't say if it passed or failed. + May be used for aborted tests. + + + + + Test was executed without any issues. + + + + + Test is currently executing. + + + + + There was a system error while we were trying to execute a test. + + + + + The test timed out. + + + + + Test was aborted by the user. + + + + + Test is in an unknown state + + + + + Test cannot be executed. + + + + + Provides helper functionality for the unit test framework + + + + + Gets the exception messages, including the messages for all inner exceptions + recursively + + Exception to get messages for + string with error message information + + + + Specifies connection string, table name and row access method for data driven testing. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + The default provider name for DataSource. + + + + + The default data access method. + + + + + Initializes a new instance of the class. This instance will be initialized with a data provider, connection string, data table and data access method to access the data source. + + Invariant data provider name, such as System.Data.SqlClient + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + Specifies the order to access data. + + + + Initializes a new instance of the class.This instance will be initialized with a connection string and table name. + Specify connection string and data table to access OLEDB data source. + + + Data provider specific connection string. + WARNING: The connection string can contain sensitive data (for example, a password). + The connection string is stored in plain text in source code and in the compiled assembly. + Restrict access to the source code and assembly to protect this sensitive information. + + The name of the data table. + + + + Initializes a new instance of the class. This instance will be initialized with a data provider and connection string associated with the setting name. + + The name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Gets a value representing the data provider of the data source. + + + The data provider name. If a data provider was not designated at object initialization, the default provider of System.Data.OleDb will be returned. + + + + + Gets a value representing the connection string for the data source. + + + + + Gets a value indicating the table name providing data. + + + + + Gets the method used to access the data source. + + + + One of the values. If the is not initialized, this will return the default value . + + + + + Gets the name of a data source found in the <microsoft.visualstudio.qualitytools> section in the app.config file. + + + + Specifies that null is allowed as an input even if the corresponding type disallows it. + + + Specifies that null is disallowed as an input even if the corresponding type allows it. + + + Specifies that an output may be null even if the corresponding type disallows it. + + + Specifies that an output will not be null even if the corresponding type allows it. + + + Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter may be null. + + + + Gets the return value condition. + + + Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. + + + Initializes the attribute with the specified return value condition. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + + Gets the return value condition. + + + Specifies that the output will be non-null if the named parameter is non-null. + + + Initializes the attribute with the associated parameter name. + + The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. + + + + Gets the associated parameter name. + + + Applied to a method that will never return under any circumstance. + + + Specifies that the method will not return if the associated Boolean parameter is passed the specified value. + + + Initializes the attribute with the specified parameter value. + + The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to + the associated parameter matches this value. + + + + Gets the condition parameter value. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values. + + + Initializes the attribute with a field or property member. + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the list of field and property members. + + The list of field and property members that are promised to be not-null. + + + + Gets field or property member names. + + + Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. + + + Initializes the attribute with the specified return value condition and a field or property member. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The field or property member that is promised to be not-null. + + + + Initializes the attribute with the specified return value condition and list of field and property members. + + The return value condition. If the method returns this value, the associated parameter will not be null. + + + The list of field and property members that are promised to be not-null. + + + + Gets the return value condition. + + + Gets field or property member names. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll new file mode 100644 index 000000000..e0ab0d015 Binary files /dev/null and b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll differ diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..4fa96573d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Používá se pro určení položky nasazení (souboru nebo adresáře) za účelem nasazení podle testu. + Lze zadat na testovací třídě nebo testovací metodě. + Může mít více instancí atributu pro zadání více než jedné položky. + Cesta k položce může být absolutní nebo relativní. Pokud je relativní, je relativní ve vztahu k RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Inicializuje novou instanci třídy . + + Soubor nebo adresář, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do adresáře, ve kterém jsou nasazená testovací sestavení. + + + + Inicializuje novou instanci třídy . + + Relativní nebo absolutní cesta k souboru nebo adresáři, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do stejného adresáře jako nasazená testovací sestavení. + Cesta k adresáři, do kterého se mají položky kopírovat. Může být absolutní nebo relativní ve vztahu k adresáři nasazení. Všechny soubory a adresáře určené cestou budou zkopírovány do tohoto adresáře. + + + + Získá cestu ke zdrojovému souboru nebo složce, které se mají kopírovat. + + + + + Získá cestu adresáře, do kterého se položka zkopíruje. + + + + + Spustí testovací kód ve vlákně uživatelského rozhraní pro aplikace pro Windows Store. + + + + + Spustí testovací metodu ve vlákně uživatelského rozhraní. + + + Testovací metoda + + + Pole instance + + Throws when run on an async test method. + + + + + Třída TestContext. Tato třída by měla být zcela abstraktní a neměla by obsahovat žádné + členy. Členy implementuje adaptér. Uživatelé rozhraní by měli + k této funkci přistupovat jenom prostřednictvím dobře definovaného rozhraní. + + + + + Získá vlastnosti testu. + + + + + Získá plně kvalifikovaný název třídy obsahující aktuálně prováděnou testovací metodu. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Získá název aktuálně prováděné testovací metody. + + + + + Získá aktuální výsledek testu. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..3f446b4e8 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4197 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atribut TestMethod pro provádění + + + + + Získá název testovací metody. + + + + + Získá název třídy testu. + + + + + Získá návratový typ testovací metody. + + + + + Získá parametry testovací metody. + + + + + Získá methodInfo pro testovací metodu. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Vyvolá testovací metodu. + + + Argumenty pro testovací metodu (např. pro testování řízené daty) + + + Výsledek vyvolání testovací metody + + + This call handles asynchronous test methods as well. + + + + + Získá všechny atributy testovací metody. + + + Jestli je platný atribut definovaný v nadřazené třídě + + + Všechny atributy + + + + + Získá atribut konkrétního typu. + + System.Attribute type. + + Jestli je platný atribut definovaný v nadřazené třídě + + + Atributy zadaného typu + + + + + Pomocná služba + + + + + Kontrolní parametr není null. + + + Parametr + + + Název parametru + + + Zpráva + + Throws argument null exception when parameter is null. + + + + Ověřovací parametr není null nebo prázdný. + + + Parametr + + + Název parametru + + + Zpráva + + Throws ArgumentException when parameter is null. + + + + Výčet způsobů přístupu k datovým řádkům při testování řízeném daty + + + + + Řádky se vrací v sekvenčním pořadí. + + + + + Řádky se vrátí v náhodném pořadí. + + + + + Atribut pro definování vložených dat pro testovací metodu + + + + + Inicializuje novou instanci třídy . + + Datový objekt + + + + Inicializuje novou instanci třídy , která přijímá pole argumentů. + + Datový objekt + Další data + + + + Získá data pro volání testovací metody. + + + + + Získá nebo nastaví zobrazovaný název ve výsledcích testu pro přizpůsobení. + + + + + Výjimka s neprůkazným kontrolním výrazem + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Třída InternalTestFailureException. Používá se pro označení interní chyby testovacího případu. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva o výjimce + + + + Inicializuje novou instanci třídy . + + + + + Atribut, podle kterého se má očekávat výjimka zadaného typu + + + + + Inicializuje novou instanci třídy s očekávaným typem. + + Typ očekávané výjimky + + + + Inicializuje novou instanci třídy + s očekávaným typem a zprávou, která se zahrne v případě, že test nevyvolá žádnou výjimku. + + Typ očekávané výjimky + + Zpráva, která má být zahrnuta do výsledku testu, pokud se test nezdaří z důvodu nevyvolání výjimky + + + + + Načte hodnotu, která označuje typ očekávané výjimky. + + + + + Získá nebo načte hodnotu, která označuje, jestli je možné typy odvozené od typu očekávané výjimky + považovat za očekávané. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Ověří, jestli se očekává typ výjimky vyvolané testem jednotek. + + Výjimka vyvolaná testem jednotek + + + + Základní třída pro atributy, které určují, že se má očekávat výjimka testu jednotek + + + + + Inicializuje novou instanci třídy s výchozí zprávou no-exception. + + + + + Inicializuje novou instanci třídy se zprávou no-exception. + + + Zprávy, které mají být zahrnuty ve výsledku testu, pokud se test nezdaří z důvodu nevyvolání + výjimky + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá zprávu, které se má zahrnout do výsledku testu, pokud tento test selže v důsledku výjimky. + + + + + Získá výchozí zprávu no-exception. + + Název typu atributu ExpectedException + Výchozí zpráva neobsahující výjimku + + + + Určuje, jestli se daná výjimka očekává. Pokud metoda skončí, rozumí se tomu tak, + že se výjimka očekávala. Pokud metoda vyvolá výjimku, rozumí se tím, + že se výjimka neočekávala a součástí výsledku testu + je zpráva vyvolané výjimky. Pomocí třídy je možné si usnadnit + práci. Pokud se použije a kontrolní výraz selže, + výsledek testu se nastaví na Neprůkazný. + + Výjimka vyvolaná testem jednotek + + + + Znovu vyvolá výjimku, pokud se jedná o atribut AssertFailedException nebo AssertInconclusiveException. + + Výjimka, která se má znovu vyvolat, pokud se jedná výjimku kontrolního výrazu + + + + Tato třída je koncipovaná tak, aby uživatelům pomáhala při testování jednotek typů, které využívá obecné typy. + Atribut GenericParameterHelper řeší některá běžná omezení obecných typů, + jako jsou: + 1. veřejný výchozí konstruktor + 2. implementace společného rozhraní: IComparable, IEnumerable + + + + + Inicializuje novou instanci třídy , která + splňuje omezení newable v obecných typech jazyka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializuje novou instanci třídy , která + inicializuje vlastnost Data na hodnotu zadanou uživatelem. + + Libovolné celé číslo + + + + Získá nebo nastaví data. + + + + + Provede porovnání hodnot pro dva objekty GenericParameterHelper. + + objekt, se kterým chcete porovnávat + pravda, pokud má objekt stejnou hodnotu jako „tento“ objekt GenericParameterHelper. + V opačném případě nepravda. + + + + Vrátí pro tento objekt hodnotu hash. + + Kód hash + + + + Porovná data daných dvou objektů . + + Objekt pro porovnání + + Číslo se znaménkem označující relativní hodnoty této instance a hodnoty + + + Thrown when the object passed in is not an instance of . + + + + + Vrátí objekt IEnumerator, jehož délka je odvozená od + vlastnosti dat. + + Objekt IEnumerator + + + + Vrátí objekt GenericParameterHelper, který se rovná + aktuálnímu objektu. + + Klonovaný objekt + + + + Umožňuje uživatelům protokolovat/zapisovat trasování z testů jednotek pro účely diagnostiky. + + + + + Obslužná rutina pro LogMessage + + Zpráva, kterou chcete zaprotokolovat + + + + Událost pro naslouchání. Dojde k ní, když autor testů jednotek napíše zprávu. + Určeno především pro použití adaptérem. + + + + + Rozhraní API pro volání zpráv protokolu zapisovačem testu + + Formátovací řetězec se zástupnými symboly + Parametry pro zástupné symboly + + + + Atribut TestCategory, používá se pro zadání kategorie testu jednotek. + + + + + Inicializuje novou instanci třídy a zavede pro daný test kategorii. + + + Kategorie testu + + + + + Získá kategorie testu, které se nastavily pro test. + + + + + Základní třída atributu Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializuje novou instanci třídy . + Tuto kategorii zavede pro daný test. Řetězce vrácené z TestCategories + se použijí spolu s příkazem /category k filtrování testů. + + + + + Získá kategorii testu, která se nastavila pro test. + + + + + Třída AssertFailedException. Používá se pro značení chyby testovacího případu. + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Inicializuje novou instanci třídy . + + + + + Kolekce pomocných tříd pro testování nejrůznějších podmínek v rámci + testů jednotek. Pokud se testovaná podmínka nesplní, vyvolá se + výjimka. + + + + + Získá instanci typu singleton funkce Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is false. + + + + + Testuje, jestli je zadaná podmínka pravdivá, a vyvolá výjimku, + pokud nepravdivá není. + + + Podmínka, která má být podle testu pravdivá. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je nepravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is false. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is true. + + + + + Testuje, jestli zadaná podmínka není nepravdivá, a vyvolá výjimku, + pokud pravdivá je. + + + Podmínka, která podle testu má být nepravdivá + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je pravda. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is true. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a vyvolá výjimku, + pokud tomu tak není. + + + Objekt, který má podle testu být Null + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is null. + + + + + Testuje, jestli je zadaný objekt null, a pokud je, + vyvolá výjimku. + + + Objekt, u kterého test očekává, že nebude Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null. + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli oba zadané objekty odkazují na stejný objekt, + a vyvolá výjimku, pokud obě zadané hodnoty na stejný objekt neodkazují. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli zadané objekty odkazují na různé objekty, + a vyvolá výjimku, pokud tyto dvě zadané hodnoty odkazují na stejný objekt. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if refers to the same object + as . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané hodnoty stejné, a vyvolá výjimku, + pokud tyto dvě hodnoty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou dvě logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, kterou test očekává. + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot a vyvolá výjimku, + pokud si tyto dvě hodnoty jsou rovny. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + The type of values to compare. + + + První hodnota, kterou chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá hodnota, kterou chcete porovnat. Jedná se o hodnotu vytvořenou testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané objekty stejné, a vyvolá výjimku, + pokud oba objekty stejné nejsou. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o objekt, který test očekává. + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných objektů a vyvolá výjimku, + pokud jsou oba objekty stejné. Rozdílné číselné typy se považují + za nestejné, i když jsou logické hodnoty stejné. 42L se nerovná 42. + + + První objekt, který chcete porovnat. Jedná se o hodnotu, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý objekt, který chcete porovnat. Jedná se o objekt vytvořený testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot float a vyvolá výjimku, + pokud nejsou stejné. + + + První plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku, kterou test očekává. + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot float a vyvolá výjimku, + pokud jsou stejné. + + + První desetinná čárka, kterou chcete porovnat. Toto je desetinná čárka, která se podle testu nemá + shodovat s aktuální hodnotou . + + + Druhá plovoucí desetinná čárka, kterou chcete porovnat. Jedná se o plovoucí desetinnou čárku vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Thrown if is not equal to + . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje rovnost zadaných hodnot double a vyvolá výjimku, + pokud se neshodují. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, kterou test očekává. + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o více než . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se liší od o více než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných hodnot double a vyvolá výjimku, + pokud jsou si rovny. + + + První dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost, která se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhá dvojitá přesnost, kterou chcete porovnat. Jedná se o dvojitou přesnost vytvořenou testovaným kódem. + + + Požadovaná přesnost. Výjimka bude vyvolána pouze tehdy, pokud + se liší od + o maximálně . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná nebo se liší o méně než + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. Pro porovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to . + + + + + Testuje, jestli jsou zadané řetězce stejné, a vyvolá výjimku, + pokud stejné nejsou. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který test očekává. + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou stejné. Pro srovnání se používá neutrální jazyková verze. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných řetězců a vyvolá výjimku, + pokud jsou si rovny. + + + První řetězec, který chcete porovnat. Jedná se o řetězec, který se podle testu nemá + shodovat se skutečnou hodnotou . + + + Druhý řetězec, který se má porovnat. Jedná se o řetězec vytvořený testovaným kódem. + + + Logická hodnota označující porovnání s rozlišováním velkých a malých písmen nebo bez jejich rozlišování. (Hodnota pravda + označuje porovnání bez rozlišování velkých a malých písmen.) + + + Objekt CultureInfo, který poskytuje informace o porovnání jazykových verzí. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt je instancí očekávaného + typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědění objektu. + + + Objekt, který podle testu má být zadaného typu + + + Očekávaný typ . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není instancí . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, jestli zadaný objekt není instancí nesprávného + typu, a vyvolá výjimku, pokud zadaný typ je v + hierarchii dědění objektu. + + + Objekt, který podle testu nemá být zadaného typu. + + + Typ, který by hodnotou neměl být. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je instancí . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Vyvolá výjimku AssertFailedException. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertFailedException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Always thrown. + + + + + Vyvolá výjimku AssertInconclusiveException. + + + Zpráva, která má být zahrnuta do výjimky. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Always thrown. + + + + + Statická přetížení operátoru rovnosti se používají k porovnání rovnosti odkazů na instance + dvou typů. Tato metoda by se neměla používat k porovnání rovnosti dvou + instancí. Tento objekt vždy vyvolá Assert.Fail. Ve svých testech + jednotek prosím použijte Assert.AreEqual a přidružená přetížení. + + Objekt A + Objekt B + Vždy nepravda. + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegujte kód, který chcete testovat a který má vyvolat výjimku. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ výjimky, ke které má podle očekávání dojít + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá + + AssertFailedException + , + pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Testujte, jestli kód určený delegátem vyvolá přesně danou výjimku typu (a ne odvozeného typu), + a vyvolá AssertFailedException, pokud kód nevyvolává výjimky nebo vyvolává výjimky typu jiného než . + + Delegát kódu, který chcete testovat a který má vyvolat výjimku + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nevyvolá výjimku typu . + + + Pole parametrů, které se má použít při formátování . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Třídu spouští delegáta. + + + + + Nahradí znaky null ('\0') řetězcem "\\0". + + + Řetězec, který se má hledat + + + Převedený řetězec se znaky Null nahrazený řetězcem "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Pomocná funkce, která vytváří a vyvolává výjimku AssertionFailedException + + + název kontrolního výrazu, který vyvolává výjimku + + + zpráva popisující podmínky neplatnosti kontrolního výrazu + + + Parametry + + + + + Ověří parametr pro platné podmínky. + + + Parametr + + + Název kontrolního výrazu + + + název parametru + + + zpráva pro neplatnou výjimku parametru + + + Parametry + + + + + Bezpečně převede objekt na řetězec, včetně zpracování hodnot null a znaků null. + Hodnoty null se převádějí na formát (null). Znaky null se převádějí na \\0. + + + Objekt, který chcete převést na řetězec + + + Převedený řetězec + + + + + Kontrolní výraz řetězce + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec obsahuje zadaný podřetězec, + a vyvolá výjimku, pokud se podřetězec v testovacím řetězci + nevyskytuje. + + + Řetězec, který má obsahovat . + + + Řetězec má být v rozmezí hodnot . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec začíná zadaným podřetězcem, + a vyvolá výjimku, pokud testovací řetězec podřetězcem + nezačíná. + + + Řetězec, který má začínat na . + + + Řetězec, který má být prefixem hodnoty . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nezačíná na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not begin with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Thrown if does not end with + . + + + + + Testuje, jestli zadaný řetězec končí zadaným podřetězcem, + a vyvolá výjimku, pokud jím testovací řetězec + nekončí. + + + Řetězec, který má končit na . + + + Řetězec, který má být příponou . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + nekončí na . Zpráva se + zobrazuje ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not end with + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný objekt shoduje s regulárním výrazem, a + vyvolá výjimku, pokud se řetězec s výrazem neshoduje. + + + Řetězec, který se má shodovat se vzorkem . + + + Regulární výraz, který se + má shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + neodpovídá . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if does not match + . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if matches . + + + + + Testuje, jestli se zadaný řetězec neshoduje s regulárním výrazem, + a vyvolá výjimku, pokud se řetězec s výrazem shoduje. + + + Řetězec, který se nemá shodovat se skutečnou hodnotou . + + + Regulární výraz, který se + nemá shodovat. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + odpovídá . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if matches . + + + + + Kolekce tříd pomocných služeb pro ověřování nejrůznějších podmínek vztahujících se + na kolekce v rámci testů jednotek. Pokud se testovaná podmínka + nesplní, vyvolá se výjimka. + + + + + Získá instanci typu singleton funkce CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce obsahuje zadaný prvek, + a vyvolá výjimku, pokud prvek v kolekci není. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který má být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + není v . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Thrown if is found in + . + + + + + Testuje, jestli zadaná kolekce neobsahuje zadaný + prvek, a vyvolá výjimku, pokud prvek je v kolekci. + + + Kolekce, ve které chcete prvek vyhledat + + + Prvek, který nemá být v kolekci + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + je v kolekci . Zpráva je zobrazena ve výsledcích + testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is found in + . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Thrown if a null element is found in . + + + + + Testuje, jestli ani jedna položka v zadané kolekci není null, a vyvolá + výjimku, pokud je jakýkoli prvek null. + + + Kolekce, ve které chcete hledat prvky Null. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje prvek Null. Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a null element is found in . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jsou všechny položky v zadané kolekci jedinečné, a + vyvolá výjimku, pokud libovolné dva prvky v kolekci jsou stejné. + + + Kolekce, ve které chcete hledat duplicitní prvky + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje alespoň jeden duplicitní prvek. Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna kolekce je podmnožinou jiné kolekce, + a vyvolá výjimku, pokud libovolný prvek podmnožiny není zároveň + prvkem nadmnožiny. + + + Kolekce, která má být podmnožinou . + + + Kolekce má být nadmnožinou + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + se nenachází v podmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is not found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli jedna z kolekcí není podmnožinou jiné kolekce, a vyvolá + výjimku, pokud všechny prvky podmnožiny jsou také prvky + nadmnožiny. + + + Kolekce, která nemá být podmnožinou nadmnožiny . + + + Kolekce, která nemá být nadmnožinou podmnožiny + + + Zpráva, kterou chcete zahrnout do výjimky, pokud každý prvek v podmnožině + se nachází také v nadmnožině . + Zpráva je zobrazena ve výsledku testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if every element in is also found in + . + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují stejný prvek, a vyvolá + výjimku, pokud některá z kolekcí obsahuje prvek, který není součástí druhé + kolekce. + + + První kolekce, kterou chcete porovnat. Jedná se o prvek, který test + očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud byl nalezen prvek + v jedné z kolekcí, ale ne ve druhé. Zpráva je zobrazena + ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli dvě kolekce obsahují rozdílné prvky, a vyvolá + výjimku, pokud tyto dvě kolekce obsahují identické prvky bez ohledu + na pořadí. + + + První kolekce, kterou chcete porovnat. Obsahuje prvek, který se podle testu + má lišit od skutečné kolekce. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + obsahuje stejný prvek jako . Zpráva + je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli všechny prvky v zadané kolekci jsou instancemi + očekávaného typu, a vyvolá výjimku, pokud očekávaný typ není + v hierarchii dědičnosti jednoho nebo více prvků. + + + Kolekce obsahující prvky, které podle testu mají být + zadaného typu. + + + Očekávaný typ jednotlivých prvků . + + + Zpráva, kterou chcete zahrnout do výjimky, pokud prvek v + není instancí typu + . Zpráva je zobrazena ve výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is not equal to + . + + + + + Testuje, jestli jsou zadané kolekce stejné, a vyvolá výjimku, + pokud obě kolekce stejné nejsou. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Rozdílné odkazy na stejnou hodnotu + se považují za stejné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, kterou test očekává. + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, pokud + se nerovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is not equal to + . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Thrown if is equal to . + + + + + Testuje nerovnost zadaných kolekcí a vyvolá výjimku, + pokud jsou dvě kolekce stejné. Rovnost je definovaná jako množina stejných + prvků ve stejném pořadí a o stejném počtu. Odlišné odkazy na stejnou + hodnotu se považují za sobě rovné. + + + První kolekce, kterou chcete porovnat. Jedná se o kolekci, která podle testu + nemá odpovídat . + + + Druhá kolekce, kterou chcete porovnat. Jedná se o kolekci vytvořenou + testovaným kódem. + + + Implementace porovnání, která se má použít pro porovnání prvků kolekce + + + Zpráva, kterou chcete zahrnout do výjimky, když + se rovná . Zpráva je zobrazena ve + výsledcích testu. + + + Pole parametrů, které se má použít při formátování . + + + Thrown if is equal to . + + + + + Určuje, jestli první kolekce je podmnožinou druhé + kolekce. Pokud některá z množin obsahuje duplicitní prvky, musí počet + výskytů prvku v podmnožině být menší, nebo + se musí rovnat počtu výskytů v nadmnožině. + + + Kolekce, která podle testu má být obsažena v nadmnožině . + + + Kolekce, která podle testu má obsahovat . + + + Pravda, pokud je podmnožinou + , jinak nepravda. + + + + + Vytvoří slovník obsahující počet výskytů jednotlivých + prvků v zadané kolekci. + + + Kolekce, kterou chcete zpracovat + + + Počet prvků Null v kolekci + + + Slovník obsahující počet výskytů jednotlivých prvků + v zadané kolekci. + + + + + Najde mezi dvěma kolekcemi neshodný prvek. Neshodný + prvek je takový, který má v očekávané kolekci + odlišný počet výskytů ve srovnání se skutečnou kolekcí. Kolekce + se považují za rozdílné reference bez hodnoty null se + stejným počtem prvků. Za tuto úroveň ověření odpovídá + volající. Pokud neexistuje žádný neshodný prvek, funkce vrátí + false a neměli byste použít parametry Out. + + + První kolekce, která se má porovnat + + + Druhá kolekce k porovnání + + + Očekávaný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Skutečný počet výskytů prvku + nebo 0, pokud není žádný nevyhovující + prvek. + + + Neshodný prvek (může být Null) nebo Null, pokud neexistuje žádný + neshodný prvek. + + + pravda, pokud je nalezen nevyhovující prvek; v opačném případě nepravda. + + + + + Porovná objekt pomocí atributu object.Equals. + + + + + Základní třída pro výjimky architektury + + + + + Inicializuje novou instanci třídy . + + + + + Inicializuje novou instanci třídy . + + Zpráva + Výjimka + + + + Inicializuje novou instanci třídy . + + Zpráva + + + + Třída prostředků se silnými typy pro vyhledávání lokalizovaných řetězců atd. + + + + + Vrátí v mezipaměti uloženou instanci ResourceManager použitou touto třídou. + + + + + Přepíše vlastnost CurrentUICulture aktuálního vlákna pro všechna + vyhledávání prostředků pomocí této třídy prostředků silného typu. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Přístupový řetězec má neplatnou syntaxi. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekávaná kolekce obsahuje počet výskytů {1} <{2}>. Skutečná kolekce obsahuje tento počet výskytů: {3}. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Našla se duplicitní položka:<{1}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Očekáváno:<{1}>. Případ je rozdílný pro skutečnou hodnotu:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekává rozdíl maximálně <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekáváno:<{1} ({2})>. Skutečnost:<{3} ({4})>. {0}. + + + + + Vyhledá řetězec podobný řetězci Očekáváno:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Mezi očekávanou hodnotou <{1}> a skutečnou hodnotou <{2}> se očekával rozdíl větší než <{3}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávala se libovolná hodnota s výjimkou:<{1}>. Skutečnost:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevkládejte hodnotu typů do AreSame(). Hodnoty převedené na typ Object nebudou nikdy stejné. Zvažte možnost použít AreEqual(). {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Chyba {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: async TestMethod s atributem UITestMethodAttribute se nepodporují. Buď odeberte async, nebo použijte TestMethodAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce jsou prázdné. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejný prvek. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě reference kolekce odkazují na stejný objekt kolekce. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Obě kolekce obsahují stejné prvky. {0}. + + + + + Vyhledá řetězec podobný řetězci {0}({1}). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (null). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (objekt). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} neobsahuje řetězec {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} ({1}). + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Atribut Assert.Equals by se neměl používat pro kontrolní výrazy. Použijte spíše Assert.AreEqual a přetížení. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Počet prvků v kolekci se neshoduje. Očekáváno:<{1}>. Skutečnost:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {0} se neshoduje. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Prvek indexu {1} je neočekávaného typu. Očekávaný typ:<{2}>. Skutečný typ:<{3}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Prvek indexu {1} je (null). Očekávaný typ:<{2}>.{0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nekončí řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Neplatný argument: EqualsTester nemůže použít hodnoty null. + + + + + Vyhledá řetězec podobný řetězci Nejde převést objekt typu {0} na {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Interní odkazovaný objekt už není platný. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Parametr {0} je neplatný. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Vlastnost {0} má typ {1}; očekávaný typ {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci {0} Očekávaný typ:<{1}>. Skutečný typ:<{2}>. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se neshoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Nesprávný typ:<{1}>. Skutečný typ:<{2}>. {0}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} se shoduje se vzorkem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nezadal se žádný atribut DataRowAttribute. K atributu DataTestMethodAttribute se vyžaduje aspoň jeden atribut DataRowAttribute. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Nevyvolala se žádná výjimka. Očekávala se výjimka {1}. {0}. + + + + + Vyhledá lokalizované řetězce podobné tomuto: Parametr {0} je neplatný. Hodnota nemůže být null. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Rozdílný počet prvků. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Konstruktor se zadaným podpisem se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru objektu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci + Zadaný člen ({0}) se nenašel. Pravděpodobně budete muset obnovit privátní přístupový objekt, + nebo je člen pravděpodobně privátní a založený na základní třídě. Pokud je pravdivý druhý zmíněný případ, musíte vložit typ + definující člen do konstruktoru atributu PrivateObject. + + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Řetězec {0} nezačíná řetězcem {1}. {2}. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Očekávaný typ výjimky musí být System.Exception nebo typ odvozený od System.Exception. + + + + + Vyhledá lokalizovaný řetězec podobný řetězci (Z důvodu výjimky se nepodařilo získat zprávu pro výjimku typu {0}.). + + + + + Vyhledá lokalizovaný řetězec podobný řetězci Testovací metoda nevyvolala očekávanou výjimku {0}. {1}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda nevyvolala výjimku. Atribut {0} definovaný testovací metodou očekával výjimku. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, ale očekávala se výjimka {1}. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Testovací metoda vyvolala výjimku {0}, očekávala se ale odvozená výjimka {1} nebo typ. Zpráva o výjimce: {2}. + + + + + Vyhledá lokalizovaný řetězec podobný tomuto: Vyvolala se výjimka {2}, ale očekávala se výjimka {1}. {0} + Zpráva o výjimce: {3} + Trasování zásobníku: {4} + + + + + Výsledky testu jednotek + + + + + Test se provedl, ale došlo k problémům. + Problémy se můžou týkat výjimek nebo neúspěšných kontrolních výrazů. + + + + + Test se dokončil, ale není možné zjistit, jestli byl úspěšný, nebo ne. + Dá se použít pro zrušené testy. + + + + + Test se provedl zcela bez problémů. + + + + + V tuto chvíli probíhá test. + + + + + Při provádění testu došlo k chybě systému. + + + + + Časový limit testu vypršel. + + + + + Test byl zrušen uživatelem. + + + + + Test je v neznámém stavu. + + + + + Poskytuje pomocnou funkci pro systém pro testy jednotek. + + + + + Rekurzivně získá zprávy o výjimce, včetně zpráv pro všechny vnitřní + výjimky. + + Výjimka pro načítání zpráv pro + řetězec s informacemi v chybové zprávě + + + + Výčet pro časové limity, který se dá použít spolu s třídou . + Typ výčtu musí odpovídat + + + + + Nekonečno + + + + + Atribut třídy testu + + + + + Získá atribut testovací metody, který umožní spustit tento test. + + Instance atributu testovací metody definované v této metodě. + Typ Použije se ke spuštění tohoto testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atribut testovací metody + + + + + Spustí testovací metodu. + + Testovací metoda, která se má spustit. + Pole objektů TestResult, které představuje výsledek (nebo výsledky) daného testu. + Extensions can override this method to customize running a TestMethod. + + + + Atribut inicializace testu + + + + + Atribut vyčištění testu + + + + + Atribut ignore + + + + + Atribut vlastnosti testu + + + + + Inicializuje novou instanci třídy . + + + Název + + + Hodnota + + + + + Získá název. + + + + + Získá hodnotu. + + + + + Atribut inicializace třídy + + + + + Atribut vyčištění třídy + + + + + Atribut inicializace sestavení + + + + + Atribut vyčištění sestavení + + + + + Vlastník testu + + + + + Inicializuje novou instanci třídy . + + + Vlastník + + + + + Získá vlastníka. + + + + + Atribut priority, používá se pro určení priority testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Priorita + + + + + Získá prioritu. + + + + + Popis testu + + + + + Inicializuje novou instanci třídy , která popíše test. + + Popis + + + + Získá popis testu. + + + + + Identifikátor URI struktury projektů CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI struktury projektů CSS. + + Identifikátor URI struktury projektů CSS + + + + Získá identifikátor URI struktury projektů CSS. + + + + + Identifikátor URI iterace CSS + + + + + Inicializuje novou instanci třídy pro identifikátor URI iterace CSS. + + Identifikátor URI iterace CSS + + + + Získá identifikátor URI iterace CSS. + + + + + Atribut WorkItem, používá se pro zadání pracovní položky přidružené k tomuto testu. + + + + + Inicializuje novou instanci třídy pro atribut WorkItem. + + ID pro pracovní položku + + + + Získá ID k přidružené pracovní položce. + + + + + Atribut časového limitu, používá se pro zadání časového limitu testu jednotek. + + + + + Inicializuje novou instanci třídy . + + + Časový limit + + + + + Inicializuje novou instanci třídy s předem nastaveným časovým limitem. + + + Časový limit + + + + + Získá časový limit. + + + + + Objekt TestResult, který se má vrátit adaptéru + + + + + Inicializuje novou instanci třídy . + + + + + Získá nebo nastaví zobrazovaný název výsledku. Vhodné pro vrácení většího počtu výsledků. + Pokud je null, jako DisplayName se použije název metody. + + + + + Získá nebo nastaví výsledek provedení testu. + + + + + Získá nebo nastaví výjimku vyvolanou při chybě testu. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo nastaví výstup zprávy zaprotokolované testovacím kódem. + + + + + Získá nebo načte trasování ladění testovacího kódu. + + + + + Gets or sets the debug traces by test code. + + + + + Získá nebo nastaví délku trvání testu. + + + + + Získá nebo nastaví index řádku dat ve zdroji dat. Nastavte pouze pro výsledky jednoho + spuštění řádku dat v testu řízeném daty. + + + + + Získá nebo nastaví návratovou hodnotu testovací metody. (Aktuálně vždy null) + + + + + Získá nebo nastaví soubory s výsledky, které připojil test. + + + + + Určuje připojovací řetězec, název tabulky a metodu přístupu řádku pro testování řízené daty. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Název výchozího poskytovatele pro DataSource + + + + + Výchozí metoda pro přístup k datům + + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat, připojovacím řetězcem, tabulkou dat a přístupovou metodou k datům, pomocí kterých se získá přístup ke zdroji dat. + + Název poskytovatele neutrálních dat, jako je System.Data.SqlClient + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + Určuje pořadí přístupu k datům. + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s připojovacím řetězcem a názvem tabulky. + Zadejte připojovací řetězec a tabulku dat, pomocí kterých se získá přístup ke zdroji dat OLEDB. + + + Připojovací řetězec specifický pro poskytovatele dat. + UPOZORNĚNÍ: Připojovací řetězec může obsahovat citlivé údaje (třeba heslo). + Připojovací řetězec se ukládá v podobě prostého textu ve zdrojovém kódu a v kompilovaném sestavení. + Tyto citlivé údaje zabezpečíte omezením přístupu ke zdrojovému kódu a sestavení. + + Název tabulky dat + + + + Inicializuje novou instanci třídy . Tato instance se inicializuje s poskytovatelem dat a připojovacím řetězcem přidruženým k názvu nastavení. + + Název zdroje dat nalezený v oddílu <microsoft.visualstudio.qualitytools> souboru app.config. + + + + Získá hodnotu představující poskytovatele dat zdroje dat. + + + Název poskytovatele dat. Pokud poskytovatel dat nebyl při inicializaci objektu zadán, bude vrácen výchozí poskytovatel System.Data.OleDb. + + + + + Získá hodnotu představující připojovací řetězec zdroje dat. + + + + + Získá hodnotu označující název tabulky poskytující data. + + + + + Získá metodu používanou pro přístup ke zdroji dat. + + + + Jedna z těchto položek: . Pokud není inicializován, vrátí výchozí hodnotu . + + + + + Získá název zdroje dat nalezeného v části <microsoft.visualstudio.qualitytools> v souboru app.config. + + + + + Atribut testu řízeného daty, kde se data dají zadat jako vložená. + + + + + Vyhledá všechny datové řádky a spustí je. + + + Testovací metoda + + + Pole . + + + + + Spustí testovací metodu řízenou daty. + + Testovací metoda, kterou chcete provést. + Datový řádek + Výsledek provedení + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..3d6c9680b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Wird zum Angeben des Bereitstellungselements (Datei oder Verzeichnis) für eine Bereitstellung pro Test verwendet. + Kann für eine Testklasse oder Testmethode angegeben werden. + Kann mehrere Instanzen des Attributs besitzen, um mehrere Elemente anzugeben. + Der Elementpfad kann absolut oder relativ sein. Wenn er relativ ist, dann relativ zu "RunConfig.RelativePathRoot". + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die bereitzustellende Datei oder das Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + + + + Initialisiert eine neue Instanz der -Klasse. + + Der relative oder absolute Pfad zur bereitzustellenden Datei oder zum Verzeichnis. Der Pfad ist relativ zum Buildausgabeverzeichnis. Das Element wird in das gleiche Verzeichnis wie die bereitgestellten Testassemblys kopiert. + Der Pfad des Verzeichnisses, in das die Elemente kopiert werden sollen. Er kann absolut oder relativ zum Bereitstellungsverzeichnis sein. Alle Dateien und Verzeichnisse, die identifiziert werden durch werden in dieses Verzeichnis kopiert. + + + + Ruft den Pfad der Quelldatei oder des -ordners ab, die bzw. der kopiert werden soll. + + + + + Ruft den Pfad des Verzeichnisses ab, in das das Element kopiert werden soll. + + + + + Hiermit wird Testcode im UI-Thread für Windows Store-Apps ausgeführt. + + + + + Hiermit wird die Testmethode für den UI-Thread ausgeführt. + + + Die Testmethode. + + + Ein Array aus -Instanzen. + + Throws when run on an async test method. + + + + + Die TestContext-Klasse. Diese Klasse muss vollständig abstrakt sein und keine + Member enthalten. Der Adapter implementiert die Member. Benutzer im Framework sollten + darauf nur über eine klar definierte Schnittstelle zugreifen. + + + + + Ruft Testeigenschaften für einen Test ab. + + + + + Ruft den vollqualifizierten Namen der Klasse ab, die die Testmethode enthält, die zurzeit ausgeführt wird. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Ruft den Namen der zurzeit ausgeführten Testmethode ab. + + + + + Ruft das aktuelle Testergebnis ab. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..ae6802605 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/de/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod für die Ausführung. + + + + + Ruft den Namen der Testmethode ab. + + + + + Ruft den Namen der Testklasse ab. + + + + + Ruft den Rückgabetyp der Testmethode ab. + + + + + Ruft die Parameter der Testmethode ab. + + + + + Ruft die methodInfo der Testmethode ab. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Ruft die Testmethode auf. + + + An die Testmethode zu übergebende Argumente (z. B. für datengesteuerte Tests). + + + Das Ergebnis des Testmethodenaufrufs. + + + This call handles asynchronous test methods as well. + + + + + Ruft alle Attribute der Testmethode ab. + + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Alle Attribute. + + + + + Ruft ein Attribut eines bestimmten Typs ab. + + System.Attribute type. + + Gibt an, ob das in der übergeordneten Klasse definierte Attribut gültig ist. + + + Die Attribute des angegebenen Typs. + + + + + Das Hilfsprogramm. + + + + + Der check-Parameter ungleich null. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws argument null exception when parameter is null. + + + + Der check-Parameter ungleich null oder leer. + + + Der Parameter. + + + Der Parametername. + + + Die Meldung. + + Throws ArgumentException when parameter is null. + + + + Enumeration für die Art des Zugriffs auf Datenzeilen in datengesteuerten Tests. + + + + + Zeilen werden in sequenzieller Reihenfolge zurückgegeben. + + + + + Zeilen werden in zufälliger Reihenfolge zurückgegeben. + + + + + Attribut zum Definieren von Inlinedaten für eine Testmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Das Datenobjekt. + + + + Initialisiert eine neue Instanz der -Klasse, die ein Array aus Argumenten akzeptiert. + + Ein Datenobjekt. + Weitere Daten. + + + + Ruft Daten für den Aufruf der Testmethode ab. + + + + + Ruft den Anzeigenamen in den Testergebnissen für die Anpassung ab. + + + + + Die nicht eindeutige Assert-Ausnahme. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Die InternalTestFailureException-Klasse. Wird zum Angeben eines internen Fehlers für einen Testfall verwendet. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Ausnahmemeldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ein Attribut, das angibt, dass eine Ausnahme des angegebenen Typs erwartet wird + + + + + Initialisiert eine neue Instanz der -Klasse mit dem erwarteten Typ + + Der Typ der erwarteten Ausnahme. + + + + Initialisiert eine neue Instanz der-Klasse mit + dem erwarteten Typ und der einzuschließenden Meldung, wenn vom Test keine Ausnahme ausgelöst wurde. + + Der Typ der erwarteten Ausnahme. + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft einen Wert ab, der den Typ der erwarteten Ausnahme angibt. + + + + + Ruft einen Wert ab, der angibt, ob es zulässig ist, dass vom Typ der erwarteten Ausnahme abgeleitete Typen + als erwartet qualifiziert werden. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Überprüft, ob der Typ der vom Komponententest ausgelösten Ausnahme erwartet wird. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Basisklasse für Attribute, die angeben, dass eine Ausnahme aus einem Komponententest erwartet wird. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer standardmäßigen "no-exception"-Meldung. + + + + + Initialisiert eine neue Instanz der -Klasse mit einer 2no-exception"-Meldung + + + Die Meldung, die in das Testergebnis eingeschlossen werden soll, wenn beim Test ein Fehler auftritt, + weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die Meldung ab, die dem Testergebnis hinzugefügt werden soll, falls beim Test ein Fehler auftritt, weil keine Ausnahme ausgelöst wird. + + + + + Ruft die standardmäßige Nichtausnahmemeldung ab. + + Der Typname des ExpectedException-Attributs. + Die standardmäßige Nichtausnahmemeldung. + + + + Ermittelt, ob die Annahme erwartet ist. Wenn die Methode zurückkehrt, wird davon ausgegangen, + dass die Annahme erwartet war. Wenn die Methode eine Ausnahme auslöst, + wird davon ausgegangen, dass die Ausnahme nicht erwartet war, und die Meldung + der ausgelösten Ausnahme wird in das Testergebnis eingeschlossen. Die -Klasse wird aus Gründen der + Zweckmäßigkeit bereitgestellt. Wenn verwendet wird und ein Fehler der Assertion auftritt, + wird das Testergebnis auf Inconclusive festgelegt. + + Die vom Komponententest ausgelöste Ausnahme. + + + + Löst die Ausnahme erneut aus, wenn es sich um eine AssertFailedException oder eine AssertInconclusiveException handelt. + + Die Ausnahme, die erneut ausgelöst werden soll, wenn es sich um eine Assertionausnahme handelt. + + + + Diese Klasse unterstützt Benutzer beim Ausführen von Komponententests für Typen, die generische Typen verwenden. + GenericParameterHelper erfüllt einige allgemeine generische Typeinschränkungen, + beispielsweise: + 1. öffentlicher Standardkonstruktor + 2. implementiert allgemeine Schnittstellen: IComparable, IEnumerable + + + + + Initialisiert eine neue Instanz der -Klasse, die + die Einschränkung "newable" in C#-Generika erfüllt. + + + This constructor initializes the Data property to a random value. + + + + + Initialisiert eine neue Instanz der-Klasse, die + die Data-Eigenschaft mit einem vom Benutzer bereitgestellten Wert initialisiert. + + Ein Integerwert + + + + Ruft die Daten ab oder legt sie fest. + + + + + Führt den Wertvergleich für zwei GenericParameterHelper-Objekte aus. + + Das Objekt, mit dem der Vergleich ausgeführt werden soll. + TRUE, wenn das Objekt den gleichen Wert wie "dieses" GenericParameterHelper-Objekt aufweist. + Andernfalls FALSE. + + + + Gibt einen Hashcode für diese Objekt zurück. + + Der Hash. + + + + Vergleicht die Daten der beiden -Objekte. + + Das Objekt, mit dem verglichen werden soll. + + Eine signierte Zahl, die die relativen Werte dieser Instanz und dieses Werts angibt. + + + Thrown when the object passed in is not an instance of . + + + + + Gibt ein IEnumerator-Objekt zurück, dessen Länge aus + der Data-Eigenschaft abgeleitet ist. + + Das IEnumerator-Objekt + + + + Gibt ein GenericParameterHelper-Objekt zurück, das gleich + dem aktuellen Objekt ist. + + Das geklonte Objekt. + + + + Ermöglicht Benutzern das Protokollieren/Schreiben von Ablaufverfolgungen aus Komponententests für die Diagnose. + + + + + Handler für LogMessage. + + Die zu protokollierende Meldung. + + + + Zu überwachendes Ereignis. Wird ausgelöst, wenn der Komponententestwriter eine Meldung schreibt. + Wird hauptsächlich von Adaptern verwendet. + + + + + Vom Testwriter aufzurufende API zum Protokollieren von Meldungen. + + Das Zeichenfolgenformat mit Platzhaltern. + Parameter für Platzhalter. + + + + Das TestCategory-Attribut. Wird zum Angeben der Kategorie eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse und wendet die Kategorie auf den Test an. + + + Die test-Kategorie. + + + + + Ruft die Testkategorien ab, die auf den Test angewendet wurden. + + + + + Die Basisklasse für das Category-Attribut. + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialisiert eine neue Instanz der -Klasse. + Wendet die Kategorie auf den Test an. Die von TestCategories + zurückgegebenen Zeichenfolgen werden mit dem Befehl "/category" zum Filtern von Tests verwendet. + + + + + Ruft die Testkategorie ab, die auf den Test angewendet wurde. + + + + + Die AssertFailedException-Klasse. Wird zum Angeben eines Fehlers für einen Testfall verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen in + Komponententests. Wenn die getestete Bedingung nicht erfüllt wird, wird eine Ausnahme + ausgelöst. + + + + + Ruft die Singleton-Instanz der Assert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung TRUE ist, und löst eine Ausnahme aus, + wenn die Bedingung FALSE ist. + + + Die Bedingung, von der der Test erwartet, dass sie TRUE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + FALSE ist. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is false. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is true. + + + + + Testet, ob die angegebene Bedingung FALSE ist, und löst eine Ausnahme aus, + wenn die Bedingung TRUE ist. + + + Die Bedingung, von der der Test erwartet, dass sie FALSE ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist TRUE. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is true. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt NULL ist, und löst eine Ausnahme aus, + wenn dies nicht der Fall ist. + + + Das Objekt, von dem der Test erwartet, dass es NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is null. + + + + + Testet, ob das angegebene Objekt ungleich NULL ist, und löst eine Ausnahme aus, + wenn es NULL ist. + + + Das Objekt, von dem der Test erwartet, dass es ungleich NULL ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist NULL. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null. + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, den der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not refer to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Objekte beide auf das gleiche Objekt verweisen, und + löst eine Ausnahme aus, wenn die beiden Eingaben nicht auf das gleiche Objekt verweisen. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist der Wert, der vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist identisch mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if refers to the same object + as . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Der erste zu vergleichende Wert. Dies ist der Wert, den der Test erwartet. + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Werte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Werte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + The type of values to compare. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Der zweite zu vergleichende Wert. Dies ist der Wert, der vom zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte gleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte nicht gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist das Objekt, das der Test erwartet. + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Objekte ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Objekte gleich sind. Verschiedene numerische Typen werden selbst dann als ungleich + behandelt, wenn die logischen Werte gleich sind. 42L ist nicht gleich 42. + + + Das erste zu vergleichende Objekt. Dies ist der Wert, von dem der Test keine + Übereinstimmung erwartet. . + + + Das zweite zu vergleichende Objekt. Dies ist das Objekt, das vom getesteten Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, den der Test erwartet. + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Gleitkommawerte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Gleitkommawert. Dies ist der Gleitkommawert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, den der Test erwartet. + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um mehr als . + + + Die in die Ausnahme einzuschließende Meldung, wenn + sich unterscheidet von um mehr als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Double-Werte ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Der erste zu vergleichende Double-Wert. Dies ist der Double-Wert, für den der Test keine Übereinstimmung + erwartet. . + + + Der zweite zu vergleichende Double-Wert. Dies ist der Double-Wert, der vom getesteten Code generiert wird. + + + Die erforderliche Genauigkeit. Eine Ausnahme wird nur ausgelöst, wenn + sich unterscheidet von + um höchstens . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich oder sich unterscheidet um weniger als + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen gleich sind, und löst eine Ausnahme aus, + wenn sie ungleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die der Test erwartet. + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. Die invariante Kultur wird für den Vergleich verwendet. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Zeichenfolgen ungleich sind, und löst eine Ausnahme aus, + wenn sie gleich sind. + + + Die erste zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, von der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Zeichenfolge. Dies ist die Zeichenfolge, die vom getesteten Code generiert wird. + + + Ein boolescher Wert, der einen Vergleich mit oder ohne Beachtung von Groß-/Kleinschreibung angibt. (TRUE + gibt einen Vergleich ohne Beachtung von Groß-/Kleinschreibung an.) + + + Ein CultureInfo-Objekt, das kulturspezifische Vergleichsinformationen bereitstellt. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt eine Instanz des erwarteten + Typs ist, und löst eine Ausnahme aus, wenn sich der erwartete Typ nicht in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es vom angegebenen Typ ist. + + + Der erwartete Typ von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testet, ob das angegebene Objekt keine Instanz des falschen + Typs ist, und löst eine Ausnahme aus, wenn sich der angegebene Typ in der + Vererbungshierarchie des Objekts befindet. + + + Das Objekt, von dem der Test erwartet, dass es nicht vom angegebenen Typ ist. + + + Der Typ, der unzulässig ist. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist keine Instanz von . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Löst eine AssertFailedException aus. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertFailedException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Always thrown. + + + + + Löst eine AssertInconclusiveException aus. + + + Die in die Ausnahme einzuschließende Meldung. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Always thrown. + + + + + Statische equals-Überladungen werden zum Vergleichen von Instanzen zweier Typen für + Verweisgleichheit verwendet. Diese Methode sollte nicht zum Vergleichen von zwei Instanzen auf + Gleichheit verwendet werden. Dieses Objekt löst immer einen Assert.Fail aus. Verwenden Sie + Assert.AreEqual und zugehörige Überladungen in Ihren Komponententests. + + Objekt A + Objekt B + Immer FALSE. + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der Typ der Ausnahme, die ausgelöst werden soll. + + + + + Testet, ob der von Delegat ausgegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und + + AssertFailedException + + auslöst, wenn der Code keine Ausnahme oder einen anderen Typ als auslöst. + + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Testet, ob der von Delegat angegebene Code genau die angegebene Ausnahme vom Typ (und nicht vom abgeleiteten Typ) auslöst + und AssertFailedException auslöst, wenn der Code keine Ausnahme auslöst oder einen anderen Typ als auslöst. + + Zu testender Delegatcode, von dem erwartet wird, dass er eine Ausnahme auslöst. + + Die in die Ausnahme einzuschließende Meldung, wenn + löst keine Ausnahme aus vom Typ . + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Der der Delegat ausgeführt wird. + + + + + Ersetzt Nullzeichen ("\0") durch "\\0". + + + Die Zeichenfolge, nach der gesucht werden soll. + + + Die konvertierte Zeichenfolge, in der Nullzeichen durch "\\0" ersetzt wurden. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Eine Hilfsfunktion, die eine AssertionFailedException erstellt und auslöst. + + + Der Name der Assertion, die eine Ausnahme auslöst. + + + Eine Meldung, die Bedingungen für den Assertionfehler beschreibt. + + + Die Parameter. + + + + + Überprüft den Parameter auf gültige Bedingungen. + + + Der Parameter. + + + Der Name der Assertion. + + + Parametername + + + Meldung für die ungültige Parameterausnahme. + + + Die Parameter. + + + + + Konvertiert ein Objekt sicher in eine Zeichenfolge und verarbeitet dabei NULL-Werte und Nullzeichen. + NULL-Werte werden in "(null)" konvertiert. Nullzeichen werden in "\\0" konvertiert". + + + Das Objekt, das in eine Zeichenfolge konvertiert werden soll. + + + Die konvertierte Zeichenfolge. + + + + + Die Zeichenfolgenassertion. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge die angegebene Teilzeichenfolge + enthält, und löst eine Ausnahme aus, wenn die Teilzeichenfolge nicht in der + Testzeichenfolge vorkommt. + + + Die Zeichenfolge, von der erwartet wird, dass sie Folgendes enthält: . + + + Die Zeichenfolge, die erwartet wird in . + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + beginnt, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge beginnt. + + + Die Zeichenfolge, von der erwartet wird, dass sie beginnt mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Präfix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + beginnt nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not begin with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit der angegebenen Teilzeichenfolge + endet, und löst eine Ausnahme aus, wenn die Testzeichenfolge nicht mit der + Teilzeichenfolge endet. + + + Die Zeichenfolge, von der erwartet wird, dass sie endet mit . + + + Die Zeichenfolge, von der erwartet wird, dass sie ein Suffix ist von . + + + Die in die Ausnahme einzuschließende Meldung, wenn + endet nicht mit . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not end with + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge nicht mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem eine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + keine Übereinstimmung vorliegt. . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if does not match + . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if matches . + + + + + Testet, ob die angegebene Zeichenfolge nicht mit einem regulären Ausdruck übereinstimmt, und + löst eine Ausnahme aus, wenn die Zeichenfolge mit dem Ausdruck übereinstimmt. + + + Die Zeichenfolge, von der erwartet wird, dass sie nicht übereinstimmt mit . + + + Der reguläre Ausdruck, mit dem keine + Übereinstimmung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + Übereinstimmungen . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if matches . + + + + + Eine Sammlung von Hilfsklassen zum Testen verschiedener Bedingungen, die + Sammlungen in Komponententests zugeordnet sind. Wenn die getestete Bedingung nicht + erfüllt wird, wird eine Ausnahme ausgelöst. + + + + + Ruft die Singleton-Instanz der CollectionAssert-Funktionalität ab. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element enthält, + und löst eine Ausnahme aus, wenn das Element nicht in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht in . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Thrown if is found in + . + + + + + Testet, ob die angegebene Sammlung das angegebene Element nicht enthält, + und löst eine Ausnahme aus, wenn das Element in der Sammlung enthalten ist. + + + Die Sammlung, in der nach dem Element gesucht werden soll. + + + Das Element, dessen Vorhandensein nicht in der Sammlung erwartet wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist in . Die Meldung wird in den Testergebnissen + angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung ungleich null sind, und löst + eine Ausnahme aus, wenn eines der Elemente NULL ist. + + + Die Sammlung, in der nach den Nullelementen gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält ein Nullelement. Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a null element is found in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung eindeutig sind, und + löst eine Ausnahme aus, wenn zwei Elemente in der Sammlung gleich sind. + + + Die Sammlung, in der nach Elementduplikaten gesucht werden soll. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält mindestens ein Elementduplikat. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if a two or more equal elements are found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn ein beliebiges Element in der Untermenge nicht auch in der + Obermenge enthalten ist. + + + Die Sammlung, von der erwartet wird, dass sie eine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie eine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + wurde nicht gefunden in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is not found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if every element in is also found in + . + + + + + Testet, ob eine Sammlung eine Untermenge einer anderen Sammlung ist, und + löst eine Ausnahme aus, wenn alle Elemente in der Untermenge auch in der + Obermenge enthalten sind. + + + Die Sammlung, von der erwartet wird, dass sie keine Untermenge ist von . + + + Die Sammlung, von der erwartet wird, dass sie keine Obermenge ist von + + + Die in die Ausnahme einzuschließende Meldung, wenn jedes Element in + auch gefunden wird in . + Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if every element in is also found in + . + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen die gleichen Elemente enthalten, und löst eine + Ausnahme aus, wenn eine der Sammlungen ein Element enthält, das in der anderen + Sammlung nicht enthalten ist. + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, die der Test + erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in einer + der Sammlungen gefunden wurde, aber nicht in der anderen. Die Meldung wird in + den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob zwei Sammlungen verschiedene Elemente enthalten, und löst eine + Ausnahme aus, wenn die beiden Sammlungen identische Elemente enthalten (ohne Berücksichtigung + der Reihenfolge). + + + Die erste zu vergleichende Sammlung. Enthält die Elemente, von denen der Test erwartet, + dass sie sich von der tatsächlichen Sammlung unterscheiden. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + enthält die gleichen Elemente wie . Die Meldung + wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob alle Elemente in der angegebenen Sammlung Instanzen + des erwarteten Typs sind, und löst eine Ausnahme aus, wenn der erwartete Typ sich + nicht in der Vererbungshierarchie mindestens eines Elements befindet. + + + Die Sammlung, die Elemente enthält, von denen der Test erwartet, dass sie + vom angegebenen Typ sind. + + + Der erwartete Typ jedes Elements von . + + + Die in die Ausnahme einzuschließende Meldung, wenn ein Element in + ist keine Instanz von + . Die Meldung wird in den Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen gleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen ungleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, die der Test erwartet. + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist nicht gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is not equal to + . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Thrown if is equal to . + + + + + Testet, ob die angegebenen Sammlungen ungleich sind, und löst eine Ausnahme aus, + wenn die beiden Sammlungen gleich sind. "Gleichheit" wird definiert durch die gleichen + Elemente in der gleichen Reihenfolge und Anzahl. Unterschiedliche Verweise auf den gleichen + Wert werden als gleich betrachtet. + + + Die erste zu vergleichende Sammlung. Dies ist die Sammlung, mit der der Test keine + Übereinstimmung erwartet. . + + + Die zweite zu vergleichende Sammlung. Dies ist die Sammlung, die vom + zu testenden Code generiert wird. + + + Die zu verwendende Vergleichsimplementierung beim Vergleichen von Elementen der Sammlung. + + + Die in die Ausnahme einzuschließende Meldung, wenn + ist gleich . Die Meldung wird in den + Testergebnissen angezeigt. + + + Ein zu verwendendes Array von Parametern beim Formatieren von: . + + + Thrown if is equal to . + + + + + Ermittelt, ob die erste Sammlung eine Teilmenge der zweiten + Sammlung ist. Wenn eine der Mengen Elementduplikate enthält, muss die Anzahl + der Vorkommen des Elements in der Teilmenge kleiner oder + gleich der Anzahl der Vorkommen in der Obermenge sein. + + + Die Sammlung, von der der Test erwartet, dass sie enthalten ist in . + + + Die Sammlung, von der der Test erwartet, dass sie Folgendes enthält: . + + + TRUE, wenn: eine Teilmenge ist von + , andernfalls FALSE. + + + + + Generiert ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + Die zu verarbeitende Sammlung. + + + Die Anzahl der Nullelemente in der Sammlung. + + + Ein Wörterbuch, das Anzahl der Vorkommen jedes + Elements in der angegebenen Sammlung enthält. + + + + + Findet ein nicht übereinstimmendes Element in den beiden Sammlungen. Ein nicht übereinstimmendes + Element ist ein Element, für das sich die Anzahl der Vorkommen in der + erwarteten Sammlung von der Anzahl der Vorkommen in der tatsächlichen Sammlung unterscheidet. Von den + Sammlungen wird angenommen, dass unterschiedliche Verweise ungleich null mit der + gleichen Anzahl von Elementen vorhanden sind. Der Aufrufer ist für diese Ebene + der Überprüfung verantwortlich. Wenn kein nicht übereinstimmendes Element vorhanden ist, gibt die Funktion FALSE + zurück, und die out-Parameter sollten nicht verwendet werden. + + + Die erste zu vergleichende Sammlung. + + + Die zweite zu vergleichende Sammlung. + + + Die erwartete Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Die tatsächliche Anzahl von Vorkommen von + oder 0, wenn kein nicht übereinstimmendes + Element vorhanden ist. + + + Das nicht übereinstimmende Element (kann NULL sein) oder NULL, wenn kein nicht + übereinstimmendes Element vorhanden ist. + + + TRUE, wenn ein nicht übereinstimmendes Element gefunden wurde, andernfalls FALSE. + + + + + vergleicht die Objekte mithilfe von object.Equals + + + + + Basisklasse für Frameworkausnahmen. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + Die Ausnahme. + + + + Initialisiert eine neue Instanz der -Klasse. + + Die Meldung. + + + + Eine stark typisierte Ressourcenklasse zum Suchen nach lokalisierten Zeichenfolgen usw. + + + + + Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + + + + + Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + Ressourcensuchen mithilfe dieser stark typisierten Ressourcenklasse. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zugriffszeichenfolge weist ungültige Syntax auf." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartete Sammlung enthält {1} Vorkommen von <{2}>. Die tatsächliche Sammlung enthält {3} Vorkommen. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Elementduplikat gefunden: <{1}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Groß-/Kleinschreibung unterscheidet sich für den tatsächlichen Wert: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz nicht größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1} ({2})>. Tatsächlich: <{3} ({4})>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Differenz größer als <{3}> zwischen erwartetem Wert <{1}> und tatsächlichem Wert <{2}> erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beliebiger Wert erwartet, ausgenommen: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Übergeben Sie keine Werttypen an AreSame(). In Object konvertierte Werte sind nie gleich. Verwenden Sie ggf. AreEqual(). {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Fehler von {0}. {1}" nach. + + + + + Sucht nach einer lokalisierten Zeichenfolge ähnlich der folgenden: "async TestMethod" wird mit UITestMethodAttribute nicht unterstützt. Entfernen Sie "async", oder verwenden Sie TestMethodAttribute. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen sind leer. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungsverweise zeigen auf das gleiche Sammlungsobjekt. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Beide Sammlungen enthalten die gleichen Elemente. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0}({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(null)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(object)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' enthält nicht Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} ({1})." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Assert.Equals sollte für Assertionen nicht verwendet werden. Verwenden Sie stattdessen Assert.AreEqual & Überladungen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Anzahl der Elemente in den Sammlungen stimmt nicht überein. Erwartet: <{1}>. Tatsächlich: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {0} stimmt nicht überein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} weist nicht den erwarteten Typ auf. Erwarteter Typ: <{2}>. Tatsächlicher Typ: <{3}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Element am Index {1} ist (null). Erwarteter Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' endet nicht mit Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ungültiges Argument: EqualsTester darf keine NULL-Werte verwenden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Objekt vom Typ {0} kann nicht in {1} konvertiert werden." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Das referenzierte interne Objekt ist nicht mehr gültig." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Eigenschaft {0} weist den Typ {1} auf. Erwartet wurde der Typ {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "{0} Erwarteter Typ: <{1}>. Tatsächlicher Typ: <{2}>." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt nicht mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Falscher Typ: <{1}>. Tatsächlicher Typ: <{2}>. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Zeichenfolge '{0}' stimmt mit dem Muster '{1}' überein. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Kein DataRowAttribute angegeben. Mindestens ein DataRowAttribute ist mit DataTestMethodAttribute erforderlich." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Keine Ausnahme ausgelöst. {1}-Ausnahme wurde erwartet. {0}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der Parameter '{0}' ist ungültig. Der Wert darf nicht NULL sein. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Unterschiedliche Anzahl von Elementen." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der Konstruktor mit der angegebenen Signatur wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich + "Der angegebene Member ({0}) wurde nicht gefunden. Möglicherweise müssen Sie Ihren privaten Accessor erneut generieren, + oder der Member ist ggf. privat und für eine Basisklasse definiert. Wenn Letzteres zutrifft, müssen Sie den Typ an den + Konstruktor von PrivateObject übergeben, der den Member definiert." nach. + . + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Zeichenfolge '{0}' beginnt nicht mit der Zeichenfolge '{1}'. {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Der erwartete Ausnahmetyp muss System.Exception oder ein von System.Exception abgeleiteter Typ sein." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "(Fehler beim Abrufen der Meldung vom Typ {0} aufgrund einer Ausnahme.)" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat erwartete Ausnahme {0} nicht ausgelöst. {1}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Die Testmethode hat keine Ausnahme ausgelöst. Vom Attribut {0}, das für die Testmethode definiert ist, wurde eine Ausnahme erwartet." nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Testmethode hat Ausnahme {0} ausgelöst, aber Ausnahme {1} oder ein davon abgeleiteter Typ wurde erwartet. Ausnahmemeldung: {2}" nach. + + + + + Schlägt eine lokalisierte Zeichenfolge ähnlich "Ausnahme {2} wurde ausgelöst, aber Ausnahme {1} wurde erwartet. {0} + Ausnahmemeldung: {3} + Stapelüberwachung: {4}" nach. + + + + + Ergebnisse des Komponententests + + + + + Der Test wurde ausgeführt, aber es gab Probleme. + Möglicherweise liegen Ausnahmen oder Assertionsfehler vor. + + + + + Der Test wurde abgeschlossen, es lässt sich aber nicht sagen, ob er bestanden wurde oder fehlerhaft war. + Kann für abgebrochene Tests verwendet werden. + + + + + Der Test wurde ohne Probleme ausgeführt. + + + + + Der Test wird zurzeit ausgeführt. + + + + + Systemfehler beim Versuch, einen Test auszuführen. + + + + + Timeout des Tests. + + + + + Der Test wurde vom Benutzer abgebrochen. + + + + + Der Test weist einen unbekannten Zustand auf. + + + + + Stellt Hilfsfunktionen für das Komponententestframework bereit. + + + + + Ruft die Ausnahmemeldungen (einschließlich der Meldungen für alle inneren Ausnahmen) + rekursiv ab. + + Ausnahme, für die Meldungen abgerufen werden sollen + Zeichenfolge mit Fehlermeldungsinformationen + + + + Enumeration für Timeouts, die mit der -Klasse verwendet werden kann. + Der Typ der Enumeration muss entsprechen: + + + + + Unendlich. + + + + + Das Testklassenattribut. + + + + + Erhält ein Testmethodenattribut, das die Ausführung des Tests ermöglicht. + + Die für diese Methode definierte Attributinstanz der Testmethode. + Diezum Ausführen dieses Tests + Extensions can override this method to customize how all methods in a class are run. + + + + Das Testmethodenattribut. + + + + + Führt eine Testmethode aus. + + Die auszuführende Textmethode. + Ein Array aus TestResult-Objekten, die für die Ergebnisses des Tests stehen. + Extensions can override this method to customize running a TestMethod. + + + + Das Testinitialisierungsattribut. + + + + + Das Testbereinigungsattribut. + + + + + Das Ignorierattribut. + + + + + Das Testeigenschaftattribut. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Der Name. + + + Der Wert. + + + + + Ruft den Namen ab. + + + + + Ruft den Wert ab. + + + + + Das Klasseninitialisierungsattribut. + + + + + Das Klassenbereinigungsattribut. + + + + + Das Assemblyinitialisierungsattribut. + + + + + Das Assemblybereinigungsattribut. + + + + + Der Testbesitzer. + + + + + Initialisiert eine neue Instanz der-Klasse. + + + Der Besitzer. + + + + + Ruft den Besitzer ab. + + + + + Prioritätsattribut. Wird zum Angeben der Priorität eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Die Priorität. + + + + + Ruft die Priorität ab. + + + + + Die Beschreibung des Tests. + + + + + Initialisiert eine neue Instanz der -Klasse zum Beschreiben eines Tests. + + Die Beschreibung. + + + + Ruft die Beschreibung eines Tests ab. + + + + + Der URI der CSS-Projektstruktur. + + + + + Initialisiert eine neue Instanz der -Klasse der CSS Projektstruktur-URI. + + Der CSS-Projektstruktur-URI. + + + + Ruft den CSS-Projektstruktur-URI ab. + + + + + Der URI der CSS-Iteration. + + + + + Initialisiert eine neue Instanz der-Klasse für den CSS Iterations-URI. + + Der CSS-Iterations-URI. + + + + Ruft den CSS-Iterations-URI ab. + + + + + WorkItem-Attribut. Wird zum Angeben eines Arbeitselements verwendet, das diesem Test zugeordnet ist. + + + + + Initialisiert eine neue Instanz der-Klasse für das WorkItem-Attribut. + + Die ID eines Arbeitselements. + + + + Ruft die ID für ein zugeordnetes Arbeitselement ab. + + + + + Timeoutattribut. Wird zum Angeben des Timeouts eines Komponententests verwendet. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + Das Timeout. + + + + + Initialisiert eine neue Instanz der -Klasse mit einem voreingestellten Timeout. + + + Das Timeout. + + + + + Ruft das Timeout ab. + + + + + Das TestResult-Objekt, das an den Adapter zurückgegeben werden soll. + + + + + Initialisiert eine neue Instanz der -Klasse. + + + + + Ruft den Anzeigenamen des Ergebnisses ab oder legt ihn fest. Hilfreich, wenn mehrere Ergebnisse zurückgegeben werden. + Wenn NULL, wird der Methodenname als DisplayName verwendet. + + + + + Ruft das Ergebnis der Testausführung ab oder legt es fest. + + + + + Ruft die Ausnahme ab, die bei einem Testfehler ausgelöst wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Ausgabe der Meldung ab, die vom Testcode protokolliert wird, oder legt sie fest. + + + + + Ruft die Debugablaufverfolgungen nach Testcode fest oder legt sie fest. + + + + + Gets or sets the debug traces by test code. + + + + + Ruft die Dauer der Testausführung ab oder legt sie fest. + + + + + Ruft den Datenzeilenindex in der Datenquelle ab, oder legt ihn fest. Nur festgelegt für Ergebnisse einer individuellen + Ausführung einer Datenzeile eines datengesteuerten Tests. + + + + + Ruft den Rückgabewert der Testmethode ab (zurzeit immer NULL). + + + + + Ruft die vom Test angehängten Ergebnisdateien ab, oder legt sie fest. + + + + + Gibt die Verbindungszeichenfolge, den Tabellennamen und die Zeilenzugriffsmethode für datengesteuerte Tests an. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Der Standardanbietername für DataSource. + + + + + Die standardmäßige Datenzugriffsmethode. + + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter, einer Verbindungszeichenfolge, einer Datentabelle und einer Datenzugriffsmethode für den Zugriff auf die Daten initialisiert. + + Invarianter Datenanbietername, z. B. "System.Data.SqlClient" + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + Gibt die Reihenfolge für den Datenzugriff an. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einer Verbindungszeichenfolge und einem Tabellennamen initialisiert. + Geben Sie eine Verbindungszeichenfolge und Datentabelle an, um auf die OLEDB-Datenquelle zuzugreifen. + + + Die für den Datenanbieter spezifische Verbindungszeichenfolge. + WARNUNG: Die Verbindungszeichenfolge kann sensible Daten (z. B. ein Kennwort) enthalten. + Die Verbindungszeichenfolge wird als Nur-Text im Quellcode und in der kompilierten Assembly gespeichert. + Schränken Sie den Zugriff auf den Quellcode und die Assembly ein, um diese vertraulichen Informationen zu schützen. + + Der Name der Datentabelle. + + + + Initialisiert eine neue Instanz der -Klasse. Diese Instanz wird mit einem Datenanbieter und einer Verbindungszeichenfolge mit dem Namen der Einstellung initialisiert. + + Der Name einer Datenquelle, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + Ruft einen Wert ab, der den Datenanbieter der Datenquelle darstellt. + + + Der Name des Datenanbieters. Wenn kein Datenanbieter während der Objektinitialisierung festgelegt wurde, wird der Standardanbieter "System.Data.OleDb" zurückgegeben. + + + + + Ruft einen Wert ab, der die Verbindungszeichenfolge für die Datenquelle darstellt. + + + + + Ruft einen Wert ab, der den Tabellennamen angibt, der Daten bereitstellt. + + + + + Ruft die Methode ab, die für den Zugriff auf die Datenquelle verwendet wird. + + + + Einer der-Werte. Wenn das nicht initialisiert wurde, wird der Standardwert zurückgegeben. . + + + + + Ruft den Namen einer Datenquelle ab, die im Abschnitt <microsoft.visualstudio.qualitytools> in der Datei "app.config" gefunden wurde. + + + + + Ein Attribut für datengesteuerte Tests, in denen Daten inline angegeben werden können. + + + + + Ermittelt alle Datenzeilen und beginnt mit der Ausführung. + + + Die test-Methode. + + + Ein Array aus . + + + + + Führt die datengesteuerte Testmethode aus. + + Die auszuführende Testmethode. + Die Datenzeile. + Ergebnisse der Ausführung. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..6655c2f6b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Se usa para especificar el elemento (archivo o directorio) para la implementación por prueba. + Puede especificarse en la clase de prueba o en el método de prueba. + Puede tener varias instancias del atributo para especificar más de un elemento. + La ruta de acceso del elemento puede ser absoluta o relativa. Si es relativa, lo es respecto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Inicializa una nueva instancia de la clase . + + Archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + + + + Inicializa una nueva instancia de la clase . + + Ruta de acceso relativa o absoluta al archivo o directorio para implementar. La ruta de acceso es relativa al directorio de salida de compilación. El elemento se copiará en el mismo directorio que los ensamblados de prueba implementados. + Ruta de acceso del directorio en el que se van a copiar los elementos. Puede ser absoluta o relativa respecto al directorio de implementación. Todos los archivos y directorios que identifica se copiarán en este directorio. + + + + Obtiene la ruta de acceso al archivo o carpeta de origen que se debe copiar. + + + + + Obtiene la ruta de acceso al directorio donde se copia el elemento. + + + + + Ejecuta el código de la prueba en el subproceso de la interfaz de usuario para aplicaciones de la Tienda Windows. + + + + + Ejecuta el método de prueba en el subproceso de la interfaz de usuario. + + + El método de prueba. + + + Una matriz de Instancias. + + Throws when run on an async test method. + + + + + Clase TestContext. Esta clase debe ser totalmente abstracta y no contener ningún + miembro. El adaptador implementará los miembros. Los usuarios del marco solo deben + tener acceso a esta clase a través de una interfaz bien definida. + + + + + Obtiene las propiedades de una prueba. + + + + + Obtiene el nombre completo de la clase que contiene el método de prueba que se está ejecutando. + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtiene el nombre del método de prueba que se está ejecutando. + + + + + Obtiene el resultado de la prueba actual. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..5b05af931 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/es/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4199 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Atributo TestMethod para la ejecución. + + + + + Obtiene el nombre del método de prueba. + + + + + Obtiene el nombre de la clase de prueba. + + + + + Obtiene el tipo de valor devuelto del método de prueba. + + + + + Obtiene los parámetros del método de prueba. + + + + + Obtiene el valor de methodInfo para el método de prueba. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca el método de prueba. + + + Argumentos que se pasan al método de prueba (por ejemplo, controlada por datos) + + + Resultado de la invocación del método de prueba. + + + This call handles asynchronous test methods as well. + + + + + Obtiene todos los atributos del método de prueba. + + + Indica si el atributo definido en la clase primaria es válido. + + + Todos los atributos. + + + + + Obtiene un atributo de un tipo específico. + + System.Attribute type. + + Indica si el atributo definido en la clase primaria es válido. + + + Atributos del tipo especificado. + + + + + Elemento auxiliar. + + + + + Parámetro de comprobación no NULL. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws argument null exception when parameter is null. + + + + Parámetro de comprobación no NULL o vacío. + + + El parámetro. + + + El nombre del parámetro. + + + El mensaje. + + Throws ArgumentException when parameter is null. + + + + Enumeración de cómo se accede a las filas de datos en las pruebas controladas por datos. + + + + + Las filas se devuelven en orden secuencial. + + + + + Las filas se devuelven en orden aleatorio. + + + + + Atributo para definir los datos insertados de un método de prueba. + + + + + Inicializa una nueva instancia de la clase . + + Objeto de datos. + + + + Inicializa una nueva instancia de la clase , que toma una matriz de argumentos. + + Objeto de datos. + Más datos. + + + + Obtiene datos para llamar al método de prueba. + + + + + Obtiene o establece el nombre para mostrar en los resultados de pruebas para personalizarlo. + + + + + Excepción de aserción no concluyente. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Clase InternalTestFailureException. Se usa para indicar un error interno de un caso de prueba. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + Mensaje de la excepción. + + + + Inicializa una nueva instancia de la clase . + + + + + Atributo que indica que debe esperarse una excepción del tipo especificado. + + + + + Inicializa una nueva instancia de la clase con el tipo esperado. + + Tipo de la excepción esperada + + + + Inicializa una nueva instancia de la clase + con el tipo esperado y el mensaje para incluir cuando la prueba no produce una excepción. + + Tipo de la excepción esperada + + Mensaje que se incluye en el resultado de la prueba si esta no se supera debido a que no se inicia una excepción + + + + + Obtiene un valor que indica el tipo de la excepción esperada. + + + + + Obtiene o establece un valor que indica si se permite que los tipos derivados del tipo de la excepción esperada + se consideren también como esperados. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Comprueba que el tipo de la excepción producida por la prueba unitaria es el esperado. + + Excepción que inicia la prueba unitaria + + + + Clase base para atributos que especifican que se espere una excepción de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción predeterminado. + + + + + Inicializa una nueva instancia de la clase con un mensaje de ausencia de excepción. + + + Mensaje para incluir en el resultado de la prueba si esta no se supera debido a que no se inicia una + excepción + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje que debe incluirse en el resultado de la prueba si esta no acaba correctamente porque no se produce una excepción. + + + + + Obtiene el mensaje de ausencia de excepción predeterminado. + + Nombre del tipo de atributo ExpectedException + Mensaje de ausencia de excepción predeterminado + + + + Determina si se espera la excepción. Si el método devuelve un valor, se entiende + que se esperaba la excepción. Si el método produce una excepción, + se entiende que no se esperaba la excepción y se incluye el mensaje + de la misma en el resultado de la prueba. Se puede usar para mayor + comodidad. Si se utiliza y la aserción no funciona, + el resultado de la prueba se establece como No concluyente. + + Excepción que inicia la prueba unitaria + + + + Produce de nuevo la excepción si es de tipo AssertFailedException o AssertInconclusiveException. + + La excepción que se va a reiniciar si es una excepción de aserción + + + + Esta clase está diseñada para ayudar al usuario a realizar pruebas unitarias para tipos con tipos genéricos. + GenericParameterHelper satisface algunas de las restricciones de tipo genérico comunes, + como: + 1. Constructor predeterminado público. + 2. Implementa una interfaz común: IComparable, IEnumerable. + + + + + Inicializa una nueva instancia de la clase que + satisface la restricción "renovable" en genéricos de C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa una nueva instancia de la clase que + inicializa la propiedad Data con un valor proporcionado por el usuario. + + Cualquier valor entero + + + + Obtiene o establece los datos. + + + + + Compara el valor de dos objetos GenericParameterHelper. + + objeto con el que hacer la comparación + Es true si el objeto tiene el mismo valor que el objeto GenericParameterHelper "this". + De lo contrario, false. + + + + Devuelve un código hash para este objeto. + + El código hash. + + + + Compara los datos de los dos objetos . + + Objeto con el que se va a comparar. + + Número con signo que indica los valores relativos de esta instancia y valor. + + + Thrown when the object passed in is not an instance of . + + + + + Devuelve un objeto IEnumerator cuya longitud se deriva de + la propiedad Data. + + El objeto IEnumerator + + + + Devuelve un objeto GenericParameterHelper que es igual al + objeto actual. + + El objeto clonado. + + + + Permite a los usuarios registrar o escribir el seguimiento de las pruebas unitarias con fines de diagnóstico. + + + + + Controlador para LogMessage. + + Mensaje para registrar. + + + + Evento que se debe escuchar. Se genera cuando el autor de las pruebas unitarias escribe algún mensaje. + Lo consume principalmente el adaptador. + + + + + API del escritor de la prueba para llamar a los mensajes de registro. + + Formato de cadena con marcadores de posición. + Parámetros para los marcadores de posición. + + + + Atributo TestCategory. Se usa para especificar la categoría de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase y le aplica la categoría a la prueba. + + + Categoría de prueba. + + + + + Obtiene las categorías que se le han aplicado a la prueba. + + + + + Clase base del atributo "Category". + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa una nueva instancia de la clase . + Aplica la categoría a la prueba. Las cadenas que devuelve TestCategories + se usan con el comando /category para filtrar las pruebas. + + + + + Obtiene la categoría que se le ha aplicado a la prueba. + + + + + Clase AssertFailedException. Se usa para indicar el error de un caso de prueba. + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Inicializa una nueva instancia de la clase . + + + + + Colección de clases auxiliares para probar varias condiciones en las + pruebas unitarias. Si la condición que se está probando no se cumple, se produce + una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad de Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is false. + + + + + Comprueba si la condición especificada es true y produce una excepción + si la condición es false. + + + Condición que la prueba espera que sea true. + + + Mensaje que se va a incluir en la excepción cuando + es false. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is false. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is true. + + + + + Comprueba si la condición especificada es false y produce una excepción + si la condición es true. + + + Condición que la prueba espera que sea false. + + + Mensaje que se va a incluir en la excepción cuando + es true. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is true. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado es NULL y produce una excepción + si no lo es. + + + El objeto que la prueba espera que sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + no es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is null. + + + + + Comprueba si el objeto especificado no es NULL y produce una excepción + si lo es. + + + El objeto que la prueba espera que no sea NULL. + + + Mensaje que se va a incluir en la excepción cuando + es NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null. + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia al mismo objeto + y produce una excepción si ambas entradas no hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera. + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual que . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not refer to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos objetos especificados hacen referencia a objetos diferentes + y produce una excepción si ambas entradas hacen referencia al mismo objeto. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual que . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if refers to the same object + as . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is not equal to . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera. + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos valores especificados son distintos y produce una excepción + si son iguales. Los tipos numéricos distintos se tratan + como diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + The type of values to compare. + + + Primer valor para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo valor para comparar. Este es el valor generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son iguales y produce una excepción + si no lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el objeto que la prueba espera. + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos objetos especificados son distintos y produce una excepción + si lo son. Los tipos numéricos distintos se tratan + como tipos diferentes aunque sus valores lógicos sean iguales. 42L no es igual que 42. + + + Primer objeto para comparar. Este es el valor que la prueba espera que no + coincida con . + + + Segundo objeto para comparar. Este es el objeto generado por el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son iguales y produce una excepción + si no lo son. + + + Primer valor float para comparar. Este es el valor float que la prueba espera. + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores float especificados son distintos y produce una excepción + si son iguales. + + + Primer valor float para comparar. Este es el valor float que la prueba espera que no + coincida con . + + + Segundo valor float para comparar. Este es el valor float generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Thrown if is not equal to + . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son iguales y produce una excepción + si no lo son. + + + Primer valor double para comparar. Este es el valor double que la prueba espera. + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por más de . + + + Mensaje que se va a incluir en la excepción cuando + difiere de por más de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si los valores double especificados son distintos y produce una excepción + si son iguales. + + + Primer valor double para comparar. Este es el valor double que la prueba espera que no + coincida con . + + + Segundo valor double para comparar. Este es el valor double generado por el código sometido a prueba. + + + Precisión requerida. Se iniciará una excepción solamente si + difiere de + por un máximo de . + + + Mensaje que se va a incluir en la excepción cuando + es igual a o difiere por menos de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. Se usa la referencia cultural invariable para la comparación. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son iguales y produce una excepción + si no lo son. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera. + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. Para la comparación, se usa la referencia cultural invariable. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si las cadenas especificadas son distintas y produce una excepción + si son iguales. + + + Primera cadena para comparar. Esta es la cadena que la prueba espera que no + coincida con . + + + Segunda cadena para comparar. Esta es la cadena generada por el código sometido a prueba. + + + Valor booleano que indica una comparación donde se distingue o no mayúsculas de minúsculas. (true + indica una comparación que no distingue mayúsculas de minúsculas). + + + Objeto CultureInfo que proporciona información de comparación específica de la referencia cultural. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado es una instancia del tipo + esperado y produce una excepción si el tipo esperado no se encuentra en + la jerarquía de herencia del objeto. + + + El objeto que la prueba espera que sea del tipo especificado. + + + Tipo esperado de . + + + Mensaje que se va a incluir en la excepción cuando + no es una instancia de . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Comprueba si el objeto especificado no es una instancia del tipo + incorrecto y produce una excepción si el tipo especificado se encuentra en la + jerarquía de herencia del objeto. + + + El objeto que la prueba espera que no sea del tipo especificado. + + + El tipo que no debe tener. + + + Mensaje que se va a incluir en la excepción cuando + es una instancia de . El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Produce una excepción AssertFailedException. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertFailedException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Always thrown. + + + + + Produce una excepción AssertInconclusiveException. + + + Mensaje que se va a incluir en la excepción. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Always thrown. + + + + + Las sobrecargas de igualdad estáticas se usan para comparar la igualdad de referencia de + instancias de dos tipos. Este método no debe usarse para comparar la igualdad de dos instancias. + Este objeto se devolverá siempre con Assert.Fail. Utilice + Assert.AreEqual y las sobrecargas asociadas en pruebas unitarias. + + Objeto A + Objeto B + False, siempre. + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado a código que se va a probar y que se espera que inicie una excepción. + + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + El tipo de excepción que se espera que se inicie. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción + + AssertFailedException + + si el código no produce la excepción dada o produce otra de un tipo que no sea . + + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Comprueba si el código especificado por el delegado produce exactamente la excepción dada de tipo (y no de un tipo derivado) + y devuelve una excepción AssertFailedException si el código no produce la excepción dada o produce otra de un tipo que no sea . + + Delegado para el código que se va a probar y que se espera que inicie una excepción. + + Mensaje que se va a incluir en la excepción cuando + no inicia una excepción de tipo . + + + Matriz de parámetros que se usa al formatear . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + que ejecuta el delegado. + + + + + Reemplaza los caracteres NULL "\0" por "\\0". + + + Cadena para buscar. + + + La cadena convertida con los caracteres NULL reemplazados por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Función auxiliar que produce una excepción AssertionFailedException. + + + nombre de la aserción que inicia una excepción + + + mensaje que describe las condiciones del error de aserción + + + Los parámetros. + + + + + Comprueba el parámetro para las condiciones válidas. + + + El parámetro. + + + Nombre de la aserción. + + + nombre de parámetro + + + mensaje de la excepción de parámetro no válido + + + Los parámetros. + + + + + Convierte un objeto en cadena de forma segura, con control de los valores y caracteres NULL. + Los valores NULL se convierten en "NULL". Los caracteres NULL se convierten en "\\0". + + + Objeto que se va a convertir en cadena. + + + La cadena convertida. + + + + + Aserción de cadena. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada contiene la subcadena indicada + y produce una excepción si la subcadena no está en la + cadena de prueba. + + + La cadena que se espera que contenga . + + + La cadena que se espera que aparezca en . + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada empieza por la subcadena indicada + y produce una excepción si la cadena de prueba no empieza por la + subcadena. + + + Cadena que se espera que empiece por . + + + Cadena que se espera que sea un prefijo de . + + + Mensaje que se va a incluir en la excepción cuando + no empieza por . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not begin with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada termina con la subcadena indicada + y produce una excepción si la cadena de prueba no termina con la + subcadena. + + + Cadena que se espera que termine con . + + + Cadena que se espera que sea un sufijo de . + + + Mensaje que se va a incluir en la excepción cuando + no termina con . El mensaje se + muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not end with + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada coincide con una expresión regular + y produce una excepción si la cadena no coincide con la expresión. + + + La cadena que se espera que coincida con . + + + Expresión regular con la que se espera que + coincida. + + + Mensaje que se va a incluir en la excepción cuando + no coincide con . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if does not match + . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if matches . + + + + + Comprueba si la cadena especificada no coincide con una expresión regular + y produce una excepción si la cadena coincide con la expresión. + + + Cadena que se espera que no coincida con . + + + Expresión regular con la que se espera que no + coincida. + + + Mensaje que se va a incluir en la excepción cuando + coincide con . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if matches . + + + + + Colección de clases auxiliares para probar varias condiciones asociadas + a las colecciones en las pruebas unitarias. Si la condición que se está probando no se + cumple, se produce una excepción. + + + + + Obtiene la instancia de singleton de la funcionalidad CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada contiene el elemento indicado + y produce una excepción si el elemento no está en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + no se encuentra en . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Thrown if is found in + . + + + + + Comprueba si la colección especificada no contiene el elemento indicado + y produce una excepción si el elemento se encuentra en la colección. + + + Colección donde buscar el elemento. + + + El elemento que se espera que no esté en la colección. + + + Mensaje que se va a incluir en la excepción cuando + se encuentra en . El mensaje se muestra en los resultados de las + pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is found in + . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Thrown if a null element is found in . + + + + + Comprueba que todos los elementos de la colección especificada no sean NULL + y produce una excepción si alguno lo es. + + + Colección donde buscar elementos NULL. + + + Mensaje que se va a incluir en la excepción cuando + contiene un elemento NULL. El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a null element is found in . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si todos los elementos de la colección especificada son únicos o no + y produce una excepción si dos elementos de la colección son iguales. + + + Colección donde buscar elementos duplicados. + + + Mensaje que se va a incluir en la excepción cuando + contiene al menos un elemento duplicado. El mensaje se muestra en los + resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if a two or more equal elements are found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección es un subconjunto de otra y produce + una excepción si algún elemento del subconjunto no se encuentra también en el + superconjunto. + + + Se esperaba que la colección fuera un subconjunto de . + + + Se esperaba que la colección fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is not found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Thrown if every element in is also found in + . + + + + + Comprueba si una colección no es un subconjunto de otra y produce + una excepción si todos los elementos del subconjunto se encuentran también en el + superconjunto. + + + Se esperaba que la colección no fuera un subconjunto de . + + + Se esperaba que la colección no fuera un superconjunto de + + + Mensaje que se va a incluir en la excepción cuando cada elemento de + también se encuentra en . + El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if every element in is also found in + . + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen los mismos elementos y produce + una excepción si alguna de ellas contiene un elemento que + no está en la otra. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando un elemento se encontró + en una de las colecciones pero no en la otra. El mensaje se muestra + en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si dos colecciones contienen elementos distintos y produce una + excepción si las colecciones contienen elementos idénticos, independientemente + del orden. + + + Primera colección para comparar. Contiene los elementos que la prueba + espera que sean distintos a los de la colección real. + + + Segunda colección para comparar. Esta es la colección generada por + el código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + contiene los mismos elementos que . El mensaje + se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si todos los elementos de la colección especificada son instancias + del tipo esperado y produce una excepción si el tipo esperado no + se encuentra en la jerarquía de herencia de uno o más de los elementos. + + + Colección que contiene los elementos que la prueba espera que sean del + tipo especificado. + + + El tipo esperado de cada elemento de . + + + Mensaje que se va a incluir en la excepción cuando un elemento de + no es una instancia de + . El mensaje se muestra en los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son iguales y produce una excepción + si las colecciones no son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera. + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + no es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is not equal to + . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Thrown if is equal to . + + + + + Comprueba si dos colecciones especificadas son distintas y produce una excepción + si las colecciones son iguales. La igualdad equivale a tener los mismos + elementos en el mismo orden y la misma cantidad. Las distintas referencias al mismo + valor se consideran iguales. + + + Primera colección para comparar. Esta es la colección que la prueba espera que + no coincida con . + + + Segunda colección para comparar. Esta es la colección generada por el + código sometido a prueba. + + + Implementación de comparación que se va a usar al comparar elementos de la colección. + + + Mensaje que se va a incluir en la excepción cuando + es igual a . El mensaje se muestra en + los resultados de las pruebas. + + + Matriz de parámetros que se usa al formatear . + + + Thrown if is equal to . + + + + + Determina si la primera colección es un subconjunto de la + segunda. Si cualquiera de los conjuntos contiene elementos duplicados, el número + de repeticiones del elemento en el subconjunto debe ser inferior o + igual al número de repeticiones en el superconjunto. + + + Colección que la prueba espera que esté incluida en . + + + Colección que la prueba espera que contenga . + + + True si es un subconjunto de + , de lo contrario false. + + + + + Construye un diccionario que contiene el número de repeticiones de cada + elemento en la colección especificada. + + + Colección que se va a procesar. + + + Número de elementos NULL de la colección. + + + Diccionario que contiene el número de repeticiones de cada elemento + en la colección especificada. + + + + + Encuentra un elemento no coincidente entre ambas colecciones. Un elemento + no coincidente es aquel que aparece un número distinto de veces en la + colección esperada de lo que aparece en la colección real. Se + supone que las colecciones son referencias no NULL diferentes con el + mismo número de elementos. El autor de la llamada es el responsable de + este nivel de comprobación. Si no hay ningún elemento no coincidente, + la función devuelve false y no deben usarse parámetros out. + + + La primera colección para comparar. + + + La segunda colección para comparar. + + + Número esperado de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El número real de repeticiones de + o 0 si no hay ningún elemento no + coincidente. + + + El elemento no coincidente (puede ser nulo) o NULL si no hay ningún + elemento no coincidente. + + + Es true si se encontró un elemento no coincidente. De lo contrario, false. + + + + + compara los objetos con object.Equals. + + + + + Clase base para las excepciones de marco. + + + + + Inicializa una nueva instancia de la clase . + + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + La excepción. + + + + Inicializa una nueva instancia de la clase . + + El mensaje. + + + + Clase de recurso fuertemente tipado para buscar cadenas traducidas, etc. + + + + + Devuelve la instancia de ResourceManager almacenada en caché que usa esta clase. + + + + + Invalida la propiedad CurrentUICulture del subproceso actual para todas + las búsquedas de recursos que usan esta clase de recursos fuertemente tipados. + + + + + Busca una cadena traducida similar a "La cadena de acceso tiene una sintaxis no válida". + + + + + Busca una cadena traducida similar a "La colección esperada contiene {1} repeticiones de <{2}>. La colección actual contiene {3} repeticiones. {0}". + + + + + Busca una cadena traducida similar a "Se encontró un elemento duplicado: <{1}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>. El caso es distinto para el valor real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia no superior a <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1} ({2})>, pero es: <{3} ({4})>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba una diferencia mayor que <{3}> entre el valor esperado <{1}> y el valor real <{2}>. {0}". + + + + + Busca una cadena traducida similar a "Se esperaba cualquier valor excepto: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "No pase tipos de valor a AreSame(). Los valores convertidos a Object no serán nunca iguales. Considere el uso de AreEqual(). {0}". + + + + + Busca una cadena traducida similar a "Error de {0}. {1}". + + + + + Busca una cadena traducida similar a "No se admite un método de prueba asincrónico con UITestMethodAttribute. Quite el método asincrónico o use TestMethodAttribute. + + + + + Busca una cadena traducida similar a "Ambas colecciones están vacías". {0}. + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos". + + + + + Busca una cadena traducida similar a "Las referencias de ambas colecciones apuntan al mismo objeto de colección. {0}". + + + + + Busca una cadena traducida similar a "Ambas colecciones tienen los mismos elementos. {0}". + + + + + Busca una cadena traducida similar a "{0}({1})". + + + + + Busca una cadena traducida similar a "(NULL)". + + + + + Busca una cadena traducida similar a "(objeto)". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no contiene la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "{0} ({1})". + + + + + Busca una cadena traducida similar a "No se debe usar Assert.Equals para aserciones. Use Assert.AreEqual y Overloads en su lugar". + + + + + Busca una cadena traducida similar a "El número de elementos de las colecciones no coincide. Se esperaba: <{1}>, pero es: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {0} no coincide". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} no es del tipo esperado. Tipo esperado: <{2}>, tipo real: <{3}>. {0}". + + + + + Busca una cadena traducida similar a "El elemento del índice {1} es (NULL). Se esperaba el tipo: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no termina con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "Argumento no válido: EqualsTester no puede utilizar valores NULL". + + + + + Busca una cadena traducida similar a "El objeto de tipo {0} no se puede convertir en {1}". + + + + + Busca una cadena traducida similar a "El objeto interno al que se hace referencia ya no es válido". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. {1}". + + + + + Busca una cadena traducida similar a "La propiedad {0} tiene el tipo {1}; se esperaba el tipo {2}". + + + + + Busca una cadena traducida similar a "{0} Tipo esperado: <{1}>. Tipo real: <{2}>". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "Tipo incorrecto: <{1}>. Tipo real: <{2}>. {0}". + + + + + Busca una cadena traducida similar a "La cadena "{0}" coincide con el patrón "{1}". {2}". + + + + + Busca una cadena traducida similar a "No se especificó ningún atributo DataRowAttribute. Se requiere al menos un elemento DataRowAttribute con DataTestMethodAttribute". + + + + + Busca una cadena traducida similar a "No se produjo ninguna excepción. Se esperaba la excepción {1}. {0}". + + + + + Busca una cadena traducida similar a "El parámetro "{0}" no es válido. El valor no puede ser NULL. {1}". + + + + + Busca una cadena traducida similar a "Número diferente de elementos". + + + + + Busca una cadena traducida similar a + "No se encontró el constructor con la signatura especificada. Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a + "No se encontró el miembro especificado ({0}). Es posible que tenga que regenerar el descriptor de acceso privado, + o que el miembro sea privado y esté definido en una clase base. Si se trata de esto último, debe pasar el tipo + que define el miembro al constructor de PrivateObject". + + + + + Busca una cadena traducida similar a "La cadena "{0}" no empieza con la cadena "{1}". {2}". + + + + + Busca una cadena traducida similar a "El tipo de excepción esperado debe ser System.Exception o un tipo derivado de System.Exception". + + + + + Busca una cadena traducida similar a "No se pudo obtener el mensaje para una excepción del tipo {0} debido a una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba no inició la excepción esperada {0}. {1}". + + + + + Busca una cadena traducida similar a "El método de prueba no inició una excepción. El atributo {0} definido en el método de prueba esperaba una excepción". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1}. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "El método de prueba inició la excepción {0}, pero se esperaba la excepción {1} o un tipo derivado de ella. Mensaje de la excepción: {2}". + + + + + Busca una cadena traducida similar a "Se produjo la excepción {2}, pero se esperaba la excepción {1}. {0} + Mensaje de excepción: {3} + Seguimiento de la pila: {4}". + + + + + Resultados de la prueba unitaria. + + + + + La prueba se ejecutó, pero hubo problemas. + Entre estos, puede haber excepciones o aserciones con errores. + + + + + La prueba se completó, pero no podemos determinar si el resultado fue correcto o no. + Se puede usar para pruebas anuladas. + + + + + La prueba se ejecutó sin problemas. + + + + + La prueba se está ejecutando. + + + + + Error del sistema al intentar ejecutar una prueba. + + + + + Se agotó el tiempo de espera de la prueba. + + + + + El usuario anuló la prueba. + + + + + La prueba tiene un estado desconocido + + + + + Proporciona funcionalidad auxiliar para el marco de pruebas unitarias. + + + + + Obtiene los mensajes de excepción, incluidos los mensajes de todas las excepciones internas, + de forma recursiva. + + Excepción para la que se obtienen los mensajes + la cadena con información del mensaje de error + + + + Enumeración para cuando se agota el tiempo de espera que se puede usar con el atributo . + El tipo de la enumeración debe coincidir. + + + + + Infinito. + + + + + Atributo de la clase de prueba. + + + + + Obtiene un atributo de método de prueba que habilita la ejecución de esta prueba. + + La instancia de atributo de método de prueba definida en este método. + Tipo que se utilizará para ejecutar esta prueba. + Extensions can override this method to customize how all methods in a class are run. + + + + Atributo del método de prueba. + + + + + Ejecuta un método de prueba. + + El método de prueba para ejecutar. + Una matriz de objetos de TestResult que representan los resultados de la prueba. + Extensions can override this method to customize running a TestMethod. + + + + Atributo para inicializar la prueba. + + + + + Atributo de limpieza de la prueba. + + + + + Atributo de omisión. + + + + + Atributo de propiedad de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El nombre. + + + El valor. + + + + + Obtiene el nombre. + + + + + Obtiene el valor. + + + + + Atributo de inicialización de la clase. + + + + + Atributo de limpieza de la clase. + + + + + Atributo de inicialización del ensamblado. + + + + + Atributo de limpieza del ensamblado. + + + + + Propietario de la prueba. + + + + + Inicializa una nueva instancia de la clase . + + + El propietario. + + + + + Obtiene el propietario. + + + + + Atributo de prioridad. Se usa para especificar la prioridad de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + La prioridad. + + + + + Obtiene la prioridad. + + + + + Descripción de la prueba. + + + + + Inicializa una nueva instancia de la clase para describir una prueba. + + La descripción. + + + + Obtiene la descripción de una prueba. + + + + + URI de estructura de proyectos de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de estructura de proyecto de CSS. + + URI de estructura de proyectos de CSS. + + + + Obtiene el URI de estructura de proyectos de CSS. + + + + + URI de iteración de CSS. + + + + + Inicializa una nueva instancia de la clase para el URI de iteración de CSS. + + URI de iteración de CSS. + + + + Obtiene el URI de iteración de CSS. + + + + + Atributo WorkItem. Se usa para especificar un elemento de trabajo asociado a esta prueba. + + + + + Inicializa una nueva instancia de la clase para el atributo WorkItem. + + Identificador de un elemento de trabajo. + + + + Obtiene el identificador de un elemento de trabajo asociado. + + + + + Atributo de tiempo de espera. Se usa para especificar el tiempo de espera de una prueba unitaria. + + + + + Inicializa una nueva instancia de la clase . + + + Tiempo de espera. + + + + + Inicializa una nueva instancia de la clase con un tiempo de espera preestablecido. + + + Tiempo de espera + + + + + Obtiene el tiempo de espera. + + + + + Objeto TestResult que debe devolverse al adaptador. + + + + + Inicializa una nueva instancia de la clase . + + + + + Obtiene o establece el nombre para mostrar del resultado. Es útil cuando se devuelven varios resultados. + Si es NULL, se utiliza el nombre del método como nombre para mostrar. + + + + + Obtiene o establece el resultado de la ejecución de pruebas. + + + + + Obtiene o establece la excepción que se inicia cuando la prueba da error. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece la salida del mensaje registrado por el código de la prueba. + + + + + Obtiene o establece el seguimiento de depuración que realiza el código de la prueba. + + + + + Gets or sets the debug traces by test code. + + + + + Obtiene o establece la duración de la ejecución de la prueba. + + + + + Obtiene o establece el índice de la fila de datos en el origen de datos. Se establece solo para resultados + de ejecuciones individuales de filas de datos de una prueba controlada por datos. + + + + + Obtiene o establece el valor devuelto del método de prueba. Actualmente es siempre NULL. + + + + + Obtiene o establece los archivos de resultados que adjunta la prueba. + + + + + Especifica la cadena de conexión, el nombre de tabla y el método de acceso a fila para las pruebas controladas por datos. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nombre de proveedor predeterminado del origen de datos. + + + + + Método de acceso a datos predeterminado. + + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos, una cadena de conexión, una tabla de datos y un método de acceso a datos para acceder al origen de datos. + + Nombre invariable del proveedor de datos, como System.Data.SqlClient + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + Especifica el orden de acceso a los datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con una cadena de conexión y un nombre de tabla. + Especifique la cadena de conexión y la tabla de datos para acceder al origen de datos OLEDB. + + + Cadena de conexión específica del proveedor de datos. + ADVERTENCIA: La cadena de conexión puede contener información confidencial (por ejemplo, una contraseña). + La cadena de conexión se almacena en texto sin formato en el código fuente y en el ensamblado compilado. + Restrinja el acceso al código fuente y al ensamblado para proteger esta información confidencial. + + Nombre de la tabla de datos. + + + + Inicializa una nueva instancia de la clase . Esta instancia se inicializará con un proveedor de datos y una cadena de conexión asociada al nombre del valor de configuración. + + El nombre de un origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + Obtiene un valor que representa el proveedor de datos del origen de datos. + + + Nombre del proveedor de datos. Si no se designó un proveedor de datos al inicializar el objeto, se devolverá el proveedor predeterminado de System.Data.OleDb. + + + + + Obtiene un valor que representa la cadena de conexión para el origen de datos. + + + + + Obtiene un valor que indica el nombre de la tabla que proporciona los datos. + + + + + Obtiene el método usado para tener acceso al origen de datos. + + + + Uno de los . Si no se ha inicializado, devolverá el valor predeterminado . + + + + + Obtiene el nombre del origen de datos que se encuentra en la sección <microsoft.visualstudio.qualitytools> del archivo app.config. + + + + + Atributo para una prueba controlada por datos donde los datos pueden especificarse insertados. + + + + + Busca todas las filas de datos y las ejecuta. + + + El método de prueba. + + + Una matriz de . + + + + + Ejecuta el método de prueba controlada por datos. + + Método de prueba para ejecutar. + Fila de datos. + Resultados de la ejecución. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..356cec50d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Permet de spécifier l'élément de déploiement (fichier ou répertoire) pour un déploiement par test. + Peut être spécifié sur une classe de test ou une méthode de test. + Peut avoir plusieurs instances de l'attribut pour spécifier plusieurs éléments. + Le chemin de l'élément peut être absolu ou relatif. S'il est relatif, il l'est par rapport à RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Initialise une nouvelle instance de la classe . + + Fichier ou répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + + + + Initialise une nouvelle instance de la classe + + Chemin relatif ou absolu du fichier ou du répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés. + Chemin du répertoire dans lequel les éléments doivent être copiés. Il peut être absolu ou relatif au répertoire de déploiement. Tous les fichiers et répertoires identifiés par vont être copiés dans ce répertoire. + + + + Obtient le chemin du fichier ou dossier source à copier. + + + + + Obtient le chemin du répertoire dans lequel l'élément est copié. + + + + + Exécutez le code de test dans le thread d'IU (interface utilisateur) pour les applications du Windows Store. + + + + + Exécute la méthode de test sur le thread d'IU (interface utilisateur). + + + Méthode de test. + + + Tableau de instances. + + Throws when run on an async test method. + + + + + Classe TestContext. Cette classe doit être complètement abstraite, et ne doit contenir aucun + membre. L'adaptateur va implémenter les membres. Les utilisateurs du framework ne doivent + y accéder que via une interface bien définie. + + + + + Obtient les propriétés de test d'un test. + + + + + Obtient le nom complet de la classe contenant la méthode de test en cours d'exécution + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtient le nom de la méthode de test en cours d'exécution + + + + + Obtient le résultat de test actuel. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2d63dc056 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod pour exécution. + + + + + Obtient le nom de la méthode de test. + + + + + Obtient le nom de la classe de test. + + + + + Obtient le type de retour de la méthode de test. + + + + + Obtient les paramètres de la méthode de test. + + + + + Obtient le methodInfo de la méthode de test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Appelle la méthode de test. + + + Arguments à passer à la méthode de test. (Exemple : pour un test piloté par les données) + + + Résultat de l'appel de la méthode de test. + + + This call handles asynchronous test methods as well. + + + + + Obtient tous les attributs de la méthode de test. + + + Indique si l'attribut défini dans la classe parente est valide. + + + Tous les attributs. + + + + + Obtient l'attribut du type spécifique. + + System.Attribute type. + + Indique si l'attribut défini dans la classe parente est valide. + + + Attributs du type spécifié. + + + + + Assistance. + + + + + Paramètre de vérification non null. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws argument null exception when parameter is null. + + + + Paramètre de vérification non null ou vide. + + + Paramètre. + + + Nom du paramètre. + + + Message. + + Throws ArgumentException when parameter is null. + + + + Énumération liée à la façon dont nous accédons aux lignes de données dans les tests pilotés par les données. + + + + + Les lignes sont retournées dans un ordre séquentiel. + + + + + Les lignes sont retournées dans un ordre aléatoire. + + + + + Attribut permettant de définir les données inline d'une méthode de test. + + + + + Initialise une nouvelle instance de la classe . + + Objet de données. + + + + Initialise une nouvelle instance de la classe qui accepte un tableau d'arguments. + + Objet de données. + Plus de données. + + + + Obtient les données permettant d'appeler la méthode de test. + + + + + Obtient ou définit le nom d'affichage dans les résultats des tests à des fins de personnalisation. + + + + + Exception d'assertion non concluante. + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Classe InternalTestFailureException. Sert à indiquer l'échec interne d'un cas de test + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message d'exception. + + + + Initialise une nouvelle instance de la classe . + + + + + Attribut indiquant d'attendre une exception du type spécifié + + + + + Initialise une nouvelle instance de la classe avec le type attendu + + Type de l'exception attendue + + + + Initialise une nouvelle instance de la classe avec + le type attendu et le message à inclure quand aucune exception n'est levée par le test. + + Type de l'exception attendue + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient une valeur indiquant le type de l'exception attendue + + + + + Obtient ou définit une valeur indiquant si les types dérivés du type de l'exception attendue peuvent + être éligibles comme prévu + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Vérifie que le type de l'exception levée par le test unitaire est bien attendu + + Exception levée par le test unitaire + + + + Classe de base des attributs qui spécifient d'attendre une exception d'un test unitaire + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception par défaut + + + + + Initialise une nouvelle instance de la classe avec un message d'absence d'exception + + + Message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une + exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message à inclure dans le résultat de test en cas d'échec du test lié à la non-levée d'une exception + + + + + Obtient le message d'absence d'exception par défaut + + Nom du type de l'attribut ExpectedException + Message d'absence d'exception par défaut + + + + Détermine si l'exception est attendue. Si la méthode est retournée, cela + signifie que l'exception est attendue. Si la méthode lève une exception, cela + signifie que l'exception n'est pas attendue, et que le message de l'exception levée + est inclus dans le résultat de test. La classe peut être utilisée par + commodité. Si est utilisé et si l'assertion est un échec, + le résultat de test a la valeur Non concluant. + + Exception levée par le test unitaire + + + + Lève à nouveau l'exception, s'il s'agit de AssertFailedException ou de AssertInconclusiveException + + Exception à lever de nouveau, s'il s'agit d'une exception d'assertion + + + + Cette classe permet à l'utilisateur d'effectuer des tests unitaires pour les types basés sur des types génériques. + GenericParameterHelper répond à certaines contraintes usuelles des types génériques, + exemple : + 1. constructeur par défaut public + 2. implémentation d'une interface commune : IComparable, IEnumerable + + + + + Initialise une nouvelle instance de la classe qui + répond à la contrainte 'newable' dans les génériques C#. + + + This constructor initializes the Data property to a random value. + + + + + Initialise une nouvelle instance de la classe qui + initialise la propriété Data en lui assignant une valeur fournie par l'utilisateur. + + Valeur entière + + + + Obtient ou définit les données + + + + + Compare la valeur de deux objets GenericParameterHelper + + objet à comparer + true si obj a la même valeur que l'objet GenericParameterHelper de 'this'. + sinon false. + + + + Retourne un code de hachage pour cet objet. + + Code de hachage. + + + + Compare les données des deux objets . + + Objet à comparer. + + Nombre signé indiquant les valeurs relatives de cette instance et de cette valeur. + + + Thrown when the object passed in is not an instance of . + + + + + Retourne un objet IEnumerator dont la longueur est dérivée de + la propriété Data. + + Objet IEnumerator + + + + Retourne un objet GenericParameterHelper égal à + l'objet actuel. + + Objet cloné. + + + + Permet aux utilisateurs de journaliser/d'écrire des traces de tests unitaires à des fins de diagnostic. + + + + + Gestionnaire de LogMessage. + + Message à journaliser. + + + + Événement à écouter. Déclenché quand le writer de test unitaire écrit un message. + Sert principalement à être consommé par un adaptateur. + + + + + API à appeler par le writer de test pour journaliser les messages. + + Format de chaîne avec des espaces réservés. + Paramètres des espaces réservés. + + + + Attribut TestCategory utilisé pour spécifier la catégorie d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe et applique la catégorie au test. + + + Catégorie de test. + + + + + Obtient les catégories de test appliquées au test. + + + + + Classe de base de l'attribut "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Initialise une nouvelle instance de la classe . + Applique la catégorie au test. Les chaînes retournées par TestCategories + sont utilisées avec la commande /category pour filtrer les tests + + + + + Obtient la catégorie de test appliquée au test. + + + + + Classe AssertFailedException. Sert à indiquer l'échec d'un cas de test + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Initialise une nouvelle instance de la classe . + + + + + Collection de classes d'assistance permettant de tester diverses conditions dans + des tests unitaires. Si la condition testée n'est pas remplie, une exception + est levée. + + + + + Obtient l'instance singleton de la fonctionnalité Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur true, et lève une exception + si la condition a la valeur false. + + + Condition censée être vraie (true) pour le test. + + + Message à inclure dans l'exception quand + est false. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is false. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Thrown if is true. + + + + + Teste si la condition spécifiée a la valeur false, et lève une exception + si la condition a la valeur true. + + + Condition censée être fausse (false) pour le test. + + + Message à inclure dans l'exception quand + est true. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is true. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur null, et lève une exception + si ce n'est pas le cas. + + + Objet censé avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + n'a pas une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if is null. + + + + + Teste si l'objet spécifié a une valeur non null, et lève une exception + s'il a une valeur null. + + + Objet censé ne pas avoir une valeur null pour le test. + + + Message à inclure dans l'exception quand + a une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null. + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence au même objet, et + lève une exception si les deux entrées ne font pas référence au même objet. + + + Premier objet à comparer. Valeur attendue par le test. + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas identique à . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not refer to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Thrown if refers to the same object + as . + + + + + Teste si les objets spécifiés font référence à des objets distincts, et + lève une exception si les deux entrées font référence au même objet. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est identique à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if refers to the same object + as . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is not equal to . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont identiques, et lève une exception + si les deux valeurs sont différentes. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Valeur attendue par le test. + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs spécifiées sont différentes, et lève une exception + si les deux valeurs sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + The type of values to compare. + + + Première valeur à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur à comparer. Il s'agit de la valeur produite par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont identiques, et lève une exception + si les deux objets ne sont pas identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Objet attendu par le test. + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les objets spécifiés sont différents, et lève une exception + si les deux objets sont identiques. Les types numériques distincts sont considérés comme + différents même si les valeurs logiques sont identiques. 42L n'est pas égal à 42. + + + Premier objet à comparer. Il s'agit de la valeur à laquelle le test est censé ne pas + correspondre . + + + Second objet à comparer. Il s'agit de l'objet produit par le code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur float à comparer. Valeur float attendue par le test. + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs float spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur float à comparer. Il s'agit de la valeur float à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur float à comparer. Il s'agit de la valeur float produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Thrown if is not equal to + . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première valeur double à comparer. Valeur double attendue par le test. + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + de plus de . + + + Message à inclure dans l'exception quand + est différent de de plus de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les valeurs double spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première valeur double à comparer. Il s'agit de la valeur double à laquelle le test est censé ne pas + correspondre . + + + Seconde valeur double à comparer. Il s'agit de la valeur double produite par le code testé. + + + Précision nécessaire. Une exception est levée uniquement si + est différent de + d'au maximum . + + + Message à inclure dans l'exception quand + est égal à ou diffère de moins de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont identiques, et lève une exception + si elles sont différentes. + + + Première chaîne à comparer. Chaîne attendue par le test. + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. La culture invariante est utilisée pour la comparaison. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les chaînes spécifiées sont différentes, et lève une exception + si elles sont identiques. + + + Première chaîne à comparer. Il s'agit de la chaîne à laquelle le test est censé ne pas + correspondre . + + + Seconde chaîne à comparer. Il s'agit de la chaîne produite par le code testé. + + + Booléen indiquant une comparaison qui respecte la casse ou non. (true + indique une comparaison qui ne respecte pas la casse.) + + + Objet CultureInfo qui fournit des informations de comparaison spécifiques à la culture. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié est une instance du + type attendu, et lève une exception si le type attendu n'est pas dans + la hiérarchie d'héritage de l'objet. + + + Objet censé être du type spécifié pour le test. + + + Le type attendu de . + + + Message à inclure dans l'exception quand + n'est pas une instance de . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Teste si l'objet spécifié n'est pas une instance du mauvais + type, et lève une exception si le type spécifié est dans + la hiérarchie d'héritage de l'objet. + + + Objet censé ne pas être du type spécifié pour le test. + + + Type auquel ne doit pas correspondre. + + + Message à inclure dans l'exception quand + est une instance de . Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Lève AssertFailedException. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertFailedException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Always thrown. + + + + + Lève AssertInconclusiveException. + + + Message à inclure dans l'exception. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Always thrown. + + + + + Les surcharges statiques d'equals comparent les instances de deux types pour déterminer si leurs références sont + égales entre elles. Cette méthode ne doit pas être utilisée pour évaluer si deux instances sont + égales entre elles. Cet objet est toujours levé avec Assert.Fail. Utilisez + Assert.AreEqual et les surcharges associées dans vos tests unitaires. + + Objet A + Objet B + False, toujours. + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Type de l'exception censée être levée. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève + + AssertFailedException + + si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + + Délégué du code à tester et censé lever une exception. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Teste si le code spécifié par le délégué lève une exception précise de type (et non d'un type dérivé) + et lève AssertFailedException si le code ne lève pas d'exception, ou lève une exception d'un autre type que . + + Délégué du code à tester et censé lever une exception. + + Message à inclure dans l'exception quand + ne lève pas d'exception de type . + + + Tableau de paramètres à utiliser pour la mise en forme de . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Le qui exécute le délégué. + + + + + Remplace les caractères Null ('\0') par "\\0". + + + Chaîne à rechercher. + + + Chaîne convertie où les caractères null sont remplacés par "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Fonction d'assistance qui crée et lève AssertionFailedException + + + nom de l'assertion levant une exception + + + message décrivant les conditions de l'échec d'assertion + + + Paramètres. + + + + + Vérifie la validité des conditions du paramètre + + + Paramètre. + + + Nom de l'assertion. + + + nom du paramètre + + + message d'exception liée à un paramètre non valide + + + Paramètres. + + + + + Convertit en toute sécurité un objet en chaîne, en gérant les valeurs null et les caractères Null. + Les valeurs null sont converties en "(null)". Les caractères Null sont convertis en "\\0". + + + Objet à convertir en chaîne. + + + Chaîne convertie. + + + + + Assertion de chaîne. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée contient la sous-chaîne spécifiée + et lève une exception si la sous-chaîne ne figure pas dans + la chaîne de test. + + + Chaîne censée contenir . + + + Chaîne censée se trouver dans . + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée commence par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne commence pas par la + sous-chaîne. + + + Chaîne censée commencer par . + + + Chaîne censée être un préfixe de . + + + Message à inclure dans l'exception quand + ne commence pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not begin with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Thrown if does not end with + . + + + + + Teste si la chaîne indiquée finit par la sous-chaîne spécifiée + et lève une exception si la chaîne de test ne finit pas par la + sous-chaîne. + + + Chaîne censée finir par . + + + Chaîne censée être un suffixe de . + + + Message à inclure dans l'exception quand + ne finit pas par . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not end with + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée correspond à une expression régulière, et + lève une exception si la chaîne ne correspond pas à l'expression. + + + Chaîne censée correspondre à . + + + Expression régulière qui est + censé correspondre. + + + Message à inclure dans l'exception quand + ne correspond pas . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if does not match + . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Thrown if matches . + + + + + Teste si la chaîne spécifiée ne correspond pas à une expression régulière + et lève une exception si la chaîne correspond à l'expression. + + + Chaîne censée ne pas correspondre à . + + + Expression régulière qui est + censé ne pas correspondre. + + + Message à inclure dans l'exception quand + correspond à . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if matches . + + + + + Collection de classes d'assistance permettant de tester diverses conditions associées + à des collections dans les tests unitaires. Si la condition testée n'est pas + remplie, une exception est levée. + + + + + Obtient l'instance singleton de la fonctionnalité CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée contient l'élément spécifié + et lève une exception si l'élément n'est pas dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé se trouver dans la collection. + + + Message à inclure dans l'exception quand + n'est pas dans . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Thrown if is found in + . + + + + + Teste si la collection indiquée ne contient pas l'élément spécifié + et lève une exception si l'élément est dans la collection. + + + Collection dans laquelle rechercher l'élément. + + + Élément censé ne pas se trouver dans la collection. + + + Message à inclure dans l'exception quand + est dans . Le message s'affiche dans les + résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is found in + . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée ont des valeurs non null, et lève + une exception si un élément a une valeur null. + + + Collection dans laquelle rechercher les éléments ayant une valeur null. + + + Message à inclure dans l'exception quand + contient un élément ayant une valeur null. Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a null element is found in . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si tous les éléments de la collection spécifiée sont uniques ou non, et + lève une exception si deux éléments de la collection sont identiques. + + + Collection dans laquelle rechercher les éléments dupliqués. + + + Message à inclure dans l'exception quand + contient au moins un élément dupliqué. Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if a two or more equal elements are found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is not found in + . + + + + + Teste si une collection est un sous-ensemble d'une autre collection et + lève une exception si un élément du sous-ensemble ne se trouve pas également dans le + sur-ensemble. + + + Collection censée être un sous-ensemble de . + + + Collection censée être un sur-ensemble de + + + Message à inclure dans l'exception quand un élément présent dans + est introuvable dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is not found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Thrown if every element in is also found in + . + + + + + Teste si une collection n'est pas un sous-ensemble d'une autre collection et + lève une exception si tous les éléments du sous-ensemble se trouvent également dans le + sur-ensemble. + + + Collection censée ne pas être un sous-ensemble de . + + + Collection censée ne pas être un sur-ensemble de + + + Message à inclure dans l'exception quand chaque élément présent dans + est également trouvé dans . + Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if every element in is also found in + . + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent les mêmes éléments, et lève une + exception si l'une des collections contient un élément non présent dans l'autre + collection. + + + Première collection à comparer. Ceci contient les éléments que le test + attend. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand un élément est trouvé + dans l'une des collections mais pas l'autre. Le message s'affiche + dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si deux collections contiennent des éléments distincts, et lève une + exception si les deux collections contiennent des éléments identiques, indépendamment + de l'ordre. + + + Première collection à comparer. Ceci contient les éléments que le test + est censé différencier des éléments de la collection réelle. + + + Seconde collection à comparer. Il s'agit de la collection produite par + le code testé. + + + Message à inclure dans l'exception quand + contient les mêmes éléments que . Le message + s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si tous les éléments de la collection spécifiée sont des instances + du type attendu, et lève une exception si le type attendu + n'est pas dans la hiérarchie d'héritage d'un ou de plusieurs éléments. + + + Collection contenant des éléments que le test considère comme étant + du type spécifié. + + + Type attendu de chaque élément de . + + + Message à inclure dans l'exception quand un élément présent dans + n'est pas une instance de + . Le message s'affiche dans les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont égales entre elles, et lève une exception + si les deux collections ne sont pas égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection attendue par les tests. + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + n'est pas égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is not equal to + . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Thrown if is equal to . + + + + + Teste si les collections spécifiées sont différentes, et lève une exception + si les deux collections sont égales entre elles. L'égalité est définie quand il existe les mêmes + éléments dans le même ordre et en même quantité. Des références différentes à la même + valeur sont considérées comme égales entre elles. + + + Première collection à comparer. Collection à laquelle les tests sont censés + ne pas correspondre . + + + Seconde collection à comparer. Il s'agit de la collection produite par le + code testé. + + + Implémentation de comparaison à utiliser durant la comparaison d'éléments de la collection. + + + Message à inclure dans l'exception quand + est égal à . Le message s'affiche dans + les résultats des tests. + + + Tableau de paramètres à utiliser pour la mise en forme de . + + + Thrown if is equal to . + + + + + Détermine si la première collection est un sous-ensemble de la seconde + collection. Si l'un des deux ensembles contient des éléments dupliqués, le nombre + d'occurrences de l'élément dans le sous-ensemble doit être inférieur ou + égal au nombre d'occurrences dans le sur-ensemble. + + + Collection dans laquelle le test est censé être contenu . + + + Collection que le test est censé contenir . + + + True si est un sous-ensemble de + , sinon false. + + + + + Construit un dictionnaire contenant le nombre d'occurrences de chaque + élément dans la collection spécifiée. + + + Collection à traiter. + + + Nombre d'éléments de valeur null dans la collection. + + + Dictionnaire contenant le nombre d'occurrences de chaque élément + dans la collection spécifiée. + + + + + Recherche un élément incompatible parmi les deux collections. Un élément incompatible + est un élément qui n'apparaît pas avec la même fréquence dans la + collection attendue et dans la collection réelle. Les + collections sont supposées être des références non null distinctes ayant le + même nombre d'éléments. L'appelant est responsable de ce niveau de + vérification. S'il n'existe aucun élément incompatible, la fonction retourne + la valeur false et les paramètres out ne doivent pas être utilisés. + + + Première collection à comparer. + + + Seconde collection à comparer. + + + Nombre attendu d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Nombre réel d'occurrences de + ou 0, s'il n'y a aucune incompatibilité + des éléments. + + + Élément incompatible (pouvant avoir une valeur null), ou valeur null s'il n'existe aucun + élément incompatible. + + + true si un élément incompatible est trouvé ; sinon, false. + + + + + compare les objets via object.Equals + + + + + Classe de base pour les exceptions de framework. + + + + + Initialise une nouvelle instance de la classe . + + + + + Initialise une nouvelle instance de la classe . + + Message. + Exception. + + + + Initialise une nouvelle instance de la classe . + + Message. + + + + Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. + + + + + Retourne l'instance ResourceManager mise en cache utilisée par cette classe. + + + + + Remplace la propriété CurrentUICulture du thread actuel pour toutes + les recherches de ressources à l'aide de cette classe de ressource fortement typée. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne Access comporte une syntaxe non valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : La collection attendue contient {1} occurrence(s) de <{2}>. La collection réelle contient {3} occurrence(s). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Un élément dupliqué a été trouvé : <{1}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. La casse est différente pour la valeur réelle : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue non supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1} ({2})>. Réel : <{3} ({4})>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Attendu : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Différence attendue supérieure à <{3}> comprise entre la valeur attendue <{1}> et la valeur réelle <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Toute valeur attendue sauf : <{1}>. Réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Ne passez pas de types valeur à AreSame(). Les valeurs converties en Object ne seront plus jamais les mêmes. Si possible, utilisez AreEqual(). {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Échec de {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : async TestMethod utilisé avec UITestMethodAttribute n'est pas pris en charge. Supprimez async ou utilisez TestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections sont vides. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent des éléments identiques. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections Reference pointent vers le même objet Collection. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les deux collections contiennent les mêmes éléments. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0}({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : (null). + + + + + Recherche une chaîne localisée semblable à celle-ci : (objet). + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne contient pas la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} ({1}). + + + + + Recherche une chaîne localisée semblable à celle-ci : Assert.Equals ne doit pas être utilisé pour les assertions. Utilisez Assert.AreEqual et des surcharges à la place. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le nombre d'éléments dans les collections ne correspond pas. Attendu : <{1}>. Réel : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Les éléments à l'index {0} ne correspondent pas. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} n'est pas du type attendu. Type attendu : <{2}>. Type réel : <{3}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'élément à l'index {1} est (null). Type attendu : <{2}>.{0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne se termine pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Argument non valide - EqualsTester ne peut pas utiliser de valeurs null. + + + + + Recherche une chaîne localisée semblable à celle-ci : Impossible de convertir un objet de type {0} en {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'objet interne référencé n'est plus valide. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La propriété {0} a le type {1} ; type attendu {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : {0} Type attendu : <{1}>. Type réel : <{2}>. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne correspond pas au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Type incorrect : <{1}>. Type réel : <{2}>. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' correspond au modèle '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucun DataRowAttribute spécifié. Au moins un DataRowAttribute est nécessaire avec DataTestMethodAttribute. + + + + + Recherche une chaîne localisée semblable à celle-ci : Aucune exception levée. Exception {1} attendue. {0}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le paramètre '{0}' est non valide. La valeur ne peut pas être null. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Nombre d'éléments différent. + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le constructeur doté de la signature spécifiée est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : + Le membre spécifié ({0}) est introuvable. Vous devrez peut-être régénérer votre accesseur private, + ou le membre est peut-être private et défini sur une classe de base. Si le dernier cas est vrai, vous devez transmettre le type + qui définit le membre dans le constructeur de PrivateObject. + . + + + + + Recherche une chaîne localisée semblable à celle-ci : La chaîne '{0}' ne commence pas par la chaîne '{1}'. {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : Le type de l'exception attendue doit être System.Exception ou un type dérivé de System.Exception. + + + + + Recherche une chaîne localisée semblable à celle-ci : (Échec de la réception du message pour une exception de type {0} en raison d'une exception.). + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé l'exception attendue {0}. {1}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test n'a pas levé d'exception. Une exception était attendue par l'attribut {0} défini sur la méthode de test. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : La méthode de test a levé l'exception {0}, mais l'exception {1} (ou un type dérivé de cette dernière) était attendue. Message d'exception : {2}. + + + + + Recherche une chaîne localisée semblable à celle-ci : L'exception {2} a été levée, mais l'exception {1} était attendue. {0} + Message d'exception : {3} + Arborescence des appels de procédure : {4}. + + + + + résultats du test unitaire + + + + + Le test a été exécuté mais des problèmes se sont produits. + Il peut s'agir de problèmes liés à des exceptions ou des échecs d'assertion. + + + + + Test effectué, mais nous ne pouvons pas dire s'il s'agit d'une réussite ou d'un échec. + Utilisable éventuellement pour les tests abandonnés. + + + + + Le test a été exécuté sans problème. + + + + + Le test est en cours d'exécution. + + + + + Une erreur système s'est produite pendant que nous tentions d'exécuter un test. + + + + + Délai d'expiration du test. + + + + + Test abandonné par l'utilisateur. + + + + + Le test est dans un état inconnu + + + + + Fournit une fonctionnalité d'assistance pour le framework de tests unitaires + + + + + Obtient les messages d'exception, notamment les messages de toutes les exceptions internes + de manière récursive + + Exception pour laquelle les messages sont obtenus + chaîne avec les informations du message d'erreur + + + + Énumération des délais d'expiration, qui peut être utilisée avec la classe . + Le type de l'énumération doit correspondre + + + + + Infini. + + + + + Attribut de la classe de test. + + + + + Obtient un attribut de méthode de test qui permet d'exécuter ce test. + + Instance d'attribut de méthode de test définie sur cette méthode. + Le à utiliser pour exécuter ce test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attribut de la méthode de test. + + + + + Exécute une méthode de test. + + Méthode de test à exécuter. + Tableau d'objets TestResult qui représentent le ou les résultats du test. + Extensions can override this method to customize running a TestMethod. + + + + Attribut d'initialisation du test. + + + + + Attribut de nettoyage du test. + + + + + Attribut ignore. + + + + + Attribut de la propriété de test. + + + + + Initialise une nouvelle instance de la classe . + + + Nom. + + + Valeur. + + + + + Obtient le nom. + + + + + Obtient la valeur. + + + + + Attribut d'initialisation de la classe. + + + + + Attribut de nettoyage de la classe. + + + + + Attribut d'initialisation de l'assembly. + + + + + Attribut de nettoyage de l'assembly. + + + + + Propriétaire du test + + + + + Initialise une nouvelle instance de la classe . + + + Propriétaire. + + + + + Obtient le propriétaire. + + + + + Attribut Priority utilisé pour spécifier la priorité d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Priorité. + + + + + Obtient la priorité. + + + + + Description du test + + + + + Initialise une nouvelle instance de la classe pour décrire un test. + + Description. + + + + Obtient la description d'un test. + + + + + URI de structure de projet CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI de structure de projet CSS. + + URI de structure de projet CSS. + + + + Obtient l'URI de structure de projet CSS. + + + + + URI d'itération CSS + + + + + Initialise une nouvelle instance de la classe pour l'URI d'itération CSS. + + URI d'itération CSS. + + + + Obtient l'URI d'itération CSS. + + + + + Attribut WorkItem permettant de spécifier un élément de travail associé à ce test. + + + + + Initialise une nouvelle instance de la classe pour l'attribut WorkItem. + + ID d'un élément de travail. + + + + Obtient l'ID d'un élément de travail associé. + + + + + Attribut Timeout utilisé pour spécifier le délai d'expiration d'un test unitaire. + + + + + Initialise une nouvelle instance de la classe . + + + Délai d'expiration. + + + + + Initialise une nouvelle instance de la classe avec un délai d'expiration prédéfini + + + Délai d'expiration + + + + + Obtient le délai d'attente. + + + + + Objet TestResult à retourner à l'adaptateur. + + + + + Initialise une nouvelle instance de la classe . + + + + + Obtient ou définit le nom d'affichage du résultat. Utile pour retourner plusieurs résultats. + En cas de valeur null, le nom de la méthode est utilisé en tant que DisplayName. + + + + + Obtient ou définit le résultat de l'exécution du test. + + + + + Obtient ou définit l'exception levée en cas d'échec du test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit la sortie du message journalisé par le code de test. + + + + + Obtient ou définit les traces de débogage du code de test. + + + + + Gets or sets the debug traces by test code. + + + + + Obtient ou définit la durée de l'exécution du test. + + + + + Obtient ou définit l'index de ligne de données dans la source de données. Défini uniquement pour les résultats de + l'exécution individuelle de la ligne de données d'un test piloté par les données. + + + + + Obtient ou définit la valeur renvoyée de la méthode de test. (Toujours null). + + + + + Obtient ou définit les fichiers de résultats attachés par le test. + + + + + Spécifie la chaîne de connexion, le nom de la table et la méthode d'accès aux lignes pour les tests pilotés par les données. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nom du fournisseur par défaut de DataSource. + + + + + Méthode d'accès aux données par défaut. + + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données, une chaîne de connexion, une table de données et une méthode d'accès aux données pour accéder à la source de données. + + Nom du fournisseur de données invariant, par exemple System.Data.SqlClient + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + Spécifie l'ordre d'accès aux données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec une chaîne de connexion et un nom de table. + Spécifiez la chaîne de connexion et la table de données permettant d'accéder à la source de données OLEDB. + + + Chaîne de connexion spécifique au fournisseur de données. + AVERTISSEMENT : La chaîne de connexion peut contenir des données sensibles (par exemple, un mot de passe). + La chaîne de connexion est stockée en texte brut dans le code source et dans l'assembly compilé. + Restreignez l'accès au code source et à l'assembly pour protéger ces informations sensibles. + + Nom de la table de données. + + + + Initialise une nouvelle instance de la classe . Cette instance va être initialisée avec un fournisseur de données et une chaîne de connexion associés au nom du paramètre. + + Nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + Obtient une valeur représentant le fournisseur de données de la source de données. + + + Nom du fournisseur de données. Si aucun fournisseur de données n'a été désigné au moment de l'initialisation de l'objet, le fournisseur par défaut de System.Data.OleDb est retourné. + + + + + Obtient une valeur représentant la chaîne de connexion de la source de données. + + + + + Obtient une valeur indiquant le nom de la table qui fournit les données. + + + + + Obtient la méthode utilisée pour accéder à la source de données. + + + + Une des valeurs possibles. Si n'est pas initialisé, ce qui entraîne le retour de la valeur par défaut . + + + + + Obtient le nom d'une source de données trouvée dans la section <microsoft.visualstudio.qualitytools> du fichier app.config. + + + + + Attribut du test piloté par les données, où les données peuvent être spécifiées inline. + + + + + Recherche toutes les lignes de données et les exécute. + + + Méthode de test. + + + Tableau des . + + + + + Exécute la méthode de test piloté par les données. + + Méthode de test à exécuter. + Ligne de données. + Résultats de l'exécution. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..8b061c2bb --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usato per specificare l'elemento di distribuzione (file o directory) per la distribuzione per singolo test. + Può essere specificato in classi o metodi di test. + Può contenere più istanze dell'attributo per specificare più di un elemento. + Il percorso dell'elemento può essere assoluto o relativo; se è relativo, è relativo rispetto a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Inizializza una nuova istanza della classe . + + File o directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + + + + Inizializza una nuova istanza della classe + + Percorso relativo o assoluto del file o della directory per la distribuzione. Il percorso è relativo alla directory di output della compilazione. L'elemento verrà copiato nella stessa directory degli assembly di test distribuiti. + Percorso della directory in cui vengono copiati gli elementi. Può essere assoluto o relativo rispetto alla directory di distribuzione. Tutte le directory e tutti i file identificati da verranno copiati in questa directory. + + + + Ottiene il percorso della cartella o del file di origine da copiare. + + + + + Ottiene il percorso della directory in cui viene copiato l'elemento. + + + + + Esegue il codice di test nel thread dell'interfaccia utente per le app di Windows Store. + + + + + Esegue il metodo di test sul thread dell'interfaccia utente. + + + Metodo di test. + + + Matrice di . + + Throws when run on an async test method. + + + + + Classe TestContext. Questa classe deve essere completamente astratta e non deve + contenere membri. I membri verranno implementati dall'adattatore. Gli utenti del framework devono + accedere a questa classe solo tramite un'interfaccia correttamente definita. + + + + + Ottiene le proprietà di un test. + + + + + Ottiene il nome completo della classe contenente il metodo di test attualmente in esecuzione + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Ottiene il nome del metodo di test attualmente in esecuzione + + + + + Ottiene il risultato del test corrente. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..d3540c8e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/it/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metodo di test per l'esecuzione. + + + + + Ottiene il nome del metodo di test. + + + + + Ottiene il nome della classe di test. + + + + + Ottiene il tipo restituito del metodo di test. + + + + + Ottiene i parametri del metodo di test. + + + + + Ottiene l'oggetto methodInfo per il metodo di test. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Richiama il metodo di test. + + + Argomenti da passare al metodo di test, ad esempio per test basati sui dati + + + Risultato della chiamata del metodo di test. + + + This call handles asynchronous test methods as well. + + + + + Ottiene tutti gli attributi del metodo di test. + + + Indica se l'attributo definito nella classe padre è valido. + + + Tutti gli attributi. + + + + + Ottiene l'attributo di tipo specifico. + + System.Attribute type. + + Indica se l'attributo definito nella classe padre è valido. + + + Attributi del tipo specificato. + + + + + Helper. + + + + + Parametro check non Null. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws argument null exception when parameter is null. + + + + Parametro check non Null o vuoto. + + + Parametro. + + + Nome del parametro. + + + Messaggio. + + Throws ArgumentException when parameter is null. + + + + Enumerazione relativa alla modalità di accesso alle righe di dati nei test basati sui dati. + + + + + Le righe vengono restituite in ordine sequenziale. + + + + + Le righe vengono restituite in ordine casuale. + + + + + Attributo per definire i dati inline per un metodo di test. + + + + + Inizializza una nuova istanza della classe . + + Oggetto dati. + + + + Inizializza una nuova istanza della classe che accetta una matrice di argomenti. + + Oggetto dati. + Altri dati. + + + + Ottiene i dati per chiamare il metodo di test. + + + + + Ottiene o imposta il nome visualizzato nei risultati del test per la personalizzazione. + + + + + Eccezione senza risultati dell'asserzione. + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Classe InternalTestFailureException. Usata per indicare un errore interno per un test case + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio dell'eccezione. + + + + Inizializza una nuova istanza della classe . + + + + + Attributo che specifica di presupporre un'eccezione del tipo specificato + + + + + Inizializza una nuova istanza della classe con il tipo previsto + + Tipo dell'eccezione prevista + + + + Inizializza una nuova istanza della classe con + il tipo previsto e il messaggio da includere quando il test non genera alcuna eccezione. + + Tipo dell'eccezione prevista + + Messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene un valore che indica il tipo dell'eccezione prevista + + + + + Ottiene o imposta un valore che indica se consentire a tipi derivati dal tipo dell'eccezione prevista + di qualificarsi come previsto + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Verifica che il tipo dell'eccezione generata dallo unit test sia prevista + + Eccezione generata dallo unit test + + + + Classe di base per attributi che specificano se prevedere che uno unit test restituisca un'eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio per indicare nessuna eccezione + + + + + Inizializza una nuova istanza della classe con un messaggio che indica nessuna eccezione + + + Messaggio da includere nel risultato del test se il test non riesce perché non + viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio da includere nel risultato del test se il test non riesce perché non viene generata un'eccezione + + + + + Ottiene il messaggio predefinito per indicare nessuna eccezione + + Nome del tipo di attributo di ExpectedException + Messaggio predefinito per indicare nessuna eccezione + + + + Determina se l'eccezione è prevista. Se il metodo viene completato, si + presuppone che l'eccezione era prevista. Se il metodo genera un'eccezione, si + presuppone che l'eccezione non era prevista e il messaggio dell'eccezione generata + viene incluso nel risultato del test. Si può usare la classe per + comodità. Se si usa e l'asserzione non riesce, + il risultato del test viene impostato su Senza risultati. + + Eccezione generata dallo unit test + + + + Genera di nuovo l'eccezione se si tratta di un'eccezione AssertFailedException o AssertInconclusiveException + + Eccezione da generare di nuovo se si tratta di un'eccezione di asserzione + + + + Questa classe consente all'utente di eseguire testing unità per tipi che usano tipi generici. + GenericParameterHelper soddisfa alcuni dei vincoli di tipo generici più comuni, + ad esempio: + 1. costruttore predefinito pubblico + 2. implementa l'interfaccia comune: IComparable, IEnumerable + + + + + Inizializza una nuova istanza della classe che + soddisfa il vincolo 'newable' nei generics C#. + + + This constructor initializes the Data property to a random value. + + + + + Inizializza una nuova istanza della classe che + inizializza la proprietà Data con un valore fornito dall'utente. + + Qualsiasi valore Integer + + + + Ottiene o imposta i dati + + + + + Esegue il confronto dei valori di due oggetti GenericParameterHelper + + oggetto con cui eseguire il confronto + true se il valore di obj è uguale a quello dell'oggetto GenericParameterHelper 'this'; + in caso contrario, false. + + + + Restituisce un codice hash per questo oggetto. + + Codice hash. + + + + Confronta i dati dei due oggetti . + + Oggetto con cui eseguire il confronto. + + Numero con segno che indica i valori relativi di questa istanza e di questo valore. + + + Thrown when the object passed in is not an instance of . + + + + + Restituisce un oggetto IEnumerator la cui lunghezza viene derivata dalla + proprietà Data. + + L'oggetto IEnumerator + + + + Restituisce un oggetto GenericParameterHelper uguale a + quello corrente. + + Oggetto clonato. + + + + Consente agli utenti di registrare/scrivere tracce degli unit test per la diagnostica. + + + + + Gestore per LogMessage. + + Messaggio da registrare. + + + + Evento di cui rimanere in ascolto. Generato quando il writer di unit test scrive alcuni messaggi. + Utilizzato principalmente dall'adattatore. + + + + + API del writer di test da chiamare per registrare i messaggi. + + Formato stringa con segnaposto. + Parametri per segnaposto. + + + + Attributo TestCategory; usato per specificare la categoria di uno unit test. + + + + + Inizializza una nuova istanza della classe e applica la categoria al test. + + + Categoria di test. + + + + + Ottiene le categorie di test applicate al test. + + + + + Classe di base per l'attributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inizializza una nuova istanza della classe . + Applica la categoria al test. Le stringhe restituite da TestCategories + vengono usate con il comando /category per filtrare i test + + + + + Ottiene la categoria di test applicata al test. + + + + + Classe AssertFailedException. Usata per indicare un errore per un test case + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Inizializza una nuova istanza della classe . + + + + + Raccolta di classi helper per testare diverse condizioni + negli unit test. Se la condizione da testare non viene soddisfatta, + viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is false. + + + + + Verifica se la condizione specificata è true e genera un'eccezione + se è false. + + + Condizione che il test presuppone sia true. + + + Messaggio da includere nell'eccezione quando + è false. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is false. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is true. + + + + + Verifica se la condizione specificata è false e genera un'eccezione + se è true. + + + Condizione che il test presuppone sia false. + + + Messaggio da includere nell'eccezione quando + è true. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is true. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone sia Null. + + + Messaggio da includere nell'eccezione quando + non è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is null. + + + + + Verifica se l'oggetto specificato non è Null e genera un'eccezione + se non lo è. + + + Oggetto che il test presuppone non sia Null. + + + Messaggio da includere nell'eccezione quando + è Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null. + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono entrambi allo stesso oggetto e + genera un'eccezione se i due input non si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore previsto dal test. + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not refer to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if refers to the same object + as . + + + + + Verifica se gli oggetti specificati si riferiscono a oggetti diversi e + genera un'eccezione se i due input si riferiscono allo stesso oggetto. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if refers to the same object + as . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is not equal to . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore previsto dai test. + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + The type of values to compare. + + + Primo valore da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo valore da confrontare. Si tratta del valore prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono uguali e genera un'eccezione + se sono diversi. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è l'oggetto previsto dai test. + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se gli oggetti specificati sono diversi e genera un'eccezione + se sono uguali. I tipi numerici diversi vengono considerati + diversi anche se i valori logici sono uguali. 42L è diverso da 42. + + + Primo oggetto da confrontare. Questo è il valore che il test presuppone + non corrisponda a . + + + Secondo oggetto da confrontare. Si tratta dell'oggetto prodotto dal codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore float da confrontare. Questo è il valore float previsto dai test. + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori float specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore float da confrontare. Questo è il valore float che il test presuppone + non corrisponda a . + + + Secondo valore float da confrontare. Si tratta del valore float prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Thrown if is not equal to + . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono uguali e genera un'eccezione + se sono diversi. + + + Primo valore double da confrontare. Questo è il valore double previsto dai test. + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + di più di . + + + Messaggio da includere nell'eccezione quando + differisce da di più di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se i valori double specificati sono diversi e genera un'eccezione + se sono uguali. + + + Primo valore double da confrontare. Questo è il valore double che il test presuppone + non corrisponda a . + + + Secondo valore double da confrontare. Si tratta del valore double prodotto dal codice sottoposto a test. + + + Accuratezza richiesta. Verrà generata un'eccezione solo se + differisce da + al massimo di . + + + Messaggio da includere nell'eccezione quando + è uguale a o differisce di meno di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono uguali e genera un'eccezione + se sono diverse. + + + Prima stringa da confrontare. Questa è la stringa prevista dai test. + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. Per il confronto vengono usate le impostazioni cultura inglese non dipendenti da paese/area geografica. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le stringhe specificate sono diverse e genera un'eccezione + se sono uguali. + + + Prima stringa da confrontare. Questa è la stringa che il test presuppone + non corrisponda a . + + + Seconda stringa da confrontare. Si tratta della stringa prodotta dal codice sottoposto a test. + + + Valore booleano che indica un confronto con o senza distinzione tra maiuscole e minuscole. True + indica un confronto senza distinzione tra maiuscole e minuscole. + + + Oggetto CultureInfo che fornisce informazioni sul confronto specifiche delle impostazioni cultura. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato è un'istanza del tipo previsto + e genera un'eccezione se il tipo previsto non è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone sia del tipo specificato. + + + Tipo previsto di . + + + Messaggio da includere nell'eccezione quando + non è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Verifica se l'oggetto specificato non è un'istanza del tipo errato + e genera un'eccezione se il tipo specificato è incluso nella + gerarchia di ereditarietà dell'oggetto. + + + Oggetto che il test presuppone non sia del tipo specificato. + + + Tipo che non dovrebbe essere. + + + Messaggio da includere nell'eccezione quando + è un'istanza di . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Genera un'eccezione AssertFailedException. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertFailedException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Always thrown. + + + + + Genera un'eccezione AssertInconclusiveException. + + + Messaggio da includere nell'eccezione. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Always thrown. + + + + + Gli overload di uguaglianza statici vengono usati per confrontare istanze di due tipi e stabilire se + i riferimenti sono uguali. Questo metodo non deve essere usato per il confronto di uguaglianza tra due + istanze. Questo oggetto verrà sempre generato con Assert.Fail. Usare + Assert.AreEqual e gli overload associati negli unit test. + + Oggetto A + Oggetto B + Sempre false. + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Tipo di eccezione che dovrebbe essere generata. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione + + AssertFailedException + + se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Verifica se il codice specificato dal delegato genera l'esatta eccezione specificata di tipo (e non di tipo derivato) + e genera l'eccezione AssertFailedException se il codice non genera l'eccezione oppure genera un'eccezione di tipo diverso da . + + Delegato per il codice da testare e che dovrebbe generare l'eccezione. + + Messaggio da includere nell'eccezione quando + non genera l'eccezione di tipo . + + + Matrice di parametri da usare quando si formatta . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + che esegue il delegato. + + + + + Sostituisce caratteri Null ('\0') con "\\0". + + + Stringa da cercare. + + + Stringa convertita con caratteri Null sostituiti da "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funzione helper che crea e genera un'eccezione AssertionFailedException + + + nome dell'asserzione che genera un'eccezione + + + messaggio che descrive le condizioni per l'errore di asserzione + + + Parametri. + + + + + Verifica la validità delle condizioni nel parametro + + + Parametro. + + + Nome dell'asserzione. + + + nome del parametro + + + messaggio per l'eccezione di parametro non valido + + + Parametri. + + + + + Converte in modo sicuro un oggetto in una stringa, gestendo valori e caratteri Null. + I valori Null vengono convertiti in "(null)". I caratteri Null vengono convertiti in "\\0". + + + Oggetto da convertire in una stringa. + + + Stringa convertita. + + + + + Asserzione della stringa. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata contiene la sottostringa specificata + e genera un'eccezione se la sottostringa non è presente nella + stringa di test. + + + Stringa che dovrebbe contenere . + + + Stringa che dovrebbe essere presente in . + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata inizia con la sottostringa specificata + e genera un'eccezione se la stringa di test non inizia con + la sottostringa. + + + Stringa che dovrebbe iniziare con . + + + Stringa che dovrebbe essere un prefisso di . + + + Messaggio da includere nell'eccezione quando + non inizia con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not begin with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata termina con la sottostringa specificata + e genera un'eccezione se la stringa di test non termina con + la sottostringa. + + + Stringa che dovrebbe terminare con . + + + Stringa che dovrebbe essere un suffisso di . + + + Messaggio da includere nell'eccezione quando + non termina con . Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not end with + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata corrisponde a un'espressione regolare e + genera un'eccezione se non corrisponde. + + + Stringa che dovrebbe corrispondere a . + + + Espressione regolare a cui dovrebbe + corrispondere. + + + Messaggio da includere nell'eccezione quando + non corrisponde a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if does not match + . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if matches . + + + + + Verifica se la stringa specificata non corrisponde a un'espressione regolare e + genera un'eccezione se corrisponde. + + + Stringa che non dovrebbe corrispondere a . + + + Espressione regolare a cui non + dovrebbe corrispondere. + + + Messaggio da includere nell'eccezione quando + corrisponde a . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if matches . + + + + + Raccolta di classi helper per testare diverse condizioni associate + alle raccolte negli unit test. Se la condizione da testare non viene + soddisfatta, viene generata un'eccezione. + + + + + Ottiene l'istanza singleton della funzionalità CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata contiene l'elemento specificato + e genera un'eccezione se l'elemento non è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + non è contenuto in . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Thrown if is found in + . + + + + + Verifica se la raccolta specificata non contiene l'elemento + specificato e genera un'eccezione se l'elemento è presente nella raccolta. + + + Raccolta in cui cercare l'elemento. + + + Elemento che non dovrebbe essere presente nella raccolta. + + + Messaggio da includere nell'eccezione quando + è presente in . Il messaggio viene visualizzato nei risultati + del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono non Null e genera + un'eccezione se un qualsiasi elemento è Null. + + + Raccolta in cui cercare gli elementi Null. + + + Messaggio da includere nell'eccezione quando + contiene un elemento Null. Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a null element is found in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se tutti gli elementi della raccolta specificata sono univoci o meno + e genera un'eccezione se due elementi qualsiasi della raccolta sono uguali. + + + Raccolta in cui cercare gli elementi duplicati. + + + Messaggio da includere nell'eccezione quando + contiene almeno un elemento duplicato. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if a two or more equal elements are found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta è un subset di un'altra raccolta e + genera un'eccezione se un qualsiasi elemento nel subset non è presente anche + nel superset. + + + Raccolta che dovrebbe essere un subset di . + + + Raccolta che dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando un elemento in + non è presente in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is not found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Thrown if every element in is also found in + . + + + + + Verifica se una raccolta non è un subset di un'altra raccolta e + genera un'eccezione se tutti gli elementi nel subset sono presenti anche + nel superset. + + + Raccolta che non dovrebbe essere un subset di . + + + Raccolta che non dovrebbe essere un superset di + + + Messaggio da includere nell'eccezione quando ogni elemento in + è presente anche in . + Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if every element in is also found in + . + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono gli stessi elementi e genera + un'eccezione se una delle raccolte contiene un elemento non presente + nell'altra. + + + Prima raccolta da confrontare. Contiene gli elementi previsti dal + test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando un elemento viene trovato + in una delle raccolte ma non nell'altra. Il messaggio viene + visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se due raccolte contengono elementi diversi e genera + un'eccezione se le raccolte contengono gli stessi elementi senza + considerare l'ordine. + + + Prima raccolta da confrontare. Contiene gli elementi che il test + prevede siano diversi rispetto alla raccolta effettiva. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + contiene gli stessi elementi di . Il messaggio + viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se tutti gli elementi della raccolta specificata sono istanze + del tipo previsto e genera un'eccezione se il tipo previsto non + è presente nella gerarchia di ereditarietà di uno o più elementi. + + + Raccolta contenente elementi che il test presuppone siano del + tipo specificato. + + + Tipo previsto di ogni elemento di . + + + Messaggio da includere nell'eccezione quando un elemento in + non è un'istanza di + . Il messaggio viene visualizzato nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono uguali e genera un'eccezione + se sono diverse. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta prevista dai test. + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è diverso da . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is not equal to + . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Thrown if is equal to . + + + + + Verifica se le due raccolte specificate sono diverse e genera un'eccezione + se sono uguali. Per uguaglianza si intende che le raccolte + contengono gli stessi elementi nello stesso ordine e nella stessa quantità. + Riferimenti diversi allo stesso valore vengono considerati uguali. + + + Prima raccolta da confrontare. Questa è la raccolta che i test presuppongono + non corrisponda a . + + + Seconda raccolta da confrontare. Si tratta della raccolta prodotta dal + codice sottoposto a test. + + + Implementazione di compare da usare quando si confrontano elementi della raccolta. + + + Messaggio da includere nell'eccezione quando + è uguale a . Il messaggio viene visualizzato + nei risultati del test. + + + Matrice di parametri da usare quando si formatta . + + + Thrown if is equal to . + + + + + Determina se la prima raccolta è un subset della seconda raccolta. + Se entrambi i set contengono elementi duplicati, il numero delle + occorrenze dell'elemento nel subset deve essere minore o uguale + a quello delle occorrenze nel superset. + + + Raccolta che il test presuppone debba essere contenuta in . + + + Raccolta che il test presuppone debba contenere . + + + True se è un subset di + ; in caso contrario, false. + + + + + Costruisce un dizionario contenente il numero di occorrenze di ogni + elemento nella raccolta specificata. + + + Raccolta da elaborare. + + + Numero di elementi Null presenti nella raccolta. + + + Dizionario contenente il numero di occorrenze di ogni elemento + nella raccolta specificata. + + + + + Trova un elemento senza corrispondenza tra le due raccolte. Per elemento + senza corrispondenza si intende un elemento che appare nella raccolta prevista + un numero di volte diverso rispetto alla raccolta effettiva. Si presuppone + che le raccolte siano riferimenti non Null diversi con lo stesso + numero di elementi. Il chiamante è responsabile di questo livello di + verifica. Se non ci sono elementi senza corrispondenza, la funzione + restituisce false e i parametri out non devono essere usati. + + + Prima raccolta da confrontare. + + + Seconda raccolta da confrontare. + + + Numero previsto di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Numero effettivo di occorrenze di + o 0 se non ci sono elementi senza + corrispondenza. + + + Elemento senza corrispondenza (può essere Null) o Null se non ci sono elementi + senza corrispondenza. + + + true se è stato trovato un elemento senza corrispondenza; in caso contrario, false. + + + + + confronta gli oggetti usando object.Equals + + + + + Classe di base per le eccezioni del framework. + + + + + Inizializza una nuova istanza della classe . + + + + + Inizializza una nuova istanza della classe . + + Messaggio. + Eccezione. + + + + Inizializza una nuova istanza della classe . + + Messaggio. + + + + Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. + + + + + Restituisce l'istanza di ResourceManager nella cache usata da questa classe. + + + + + Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte + le ricerche di risorse eseguite usando questa classe di risorse fortemente tipizzata. + + + + + Cerca una stringa localizzata simile a La sintassi della stringa di accesso non è valida. + + + + + Cerca una stringa localizzata simile a La raccolta prevista contiene {1} occorrenza/e di <{2}>, mentre quella effettiva ne contiene {3}. {0}. + + + + + Cerca una stringa localizzata simile a È stato trovato un elemento duplicato:<{1}>. {0}. + + + + + Cerca una stringa localizzata simile a Il valore previsto è <{1}>, ma la combinazione di maiuscole/minuscole è diversa per il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza minore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1} ({2})>. Valore effettivo: <{3} ({4})>. {0}. + + + + + Cerca una stringa localizzata simile a Valore previsto: <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È prevista una differenza maggiore di <{3}> tra il valore previsto <{1}> e il valore effettivo <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a È previsto un valore qualsiasi eccetto <{1}>. Valore effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a Non passare tipi valore a AreSame(). I valori convertiti in Object non saranno mai uguali. Usare AreEqual(). {0}. + + + + + Cerca una stringa localizzata simile a {0} non riuscita. {1}. + + + + + Cerca una stringa localizzata simile ad async TestMethod con UITestMethodAttribute non supportata. Rimuovere async o usare TestMethodAttribute. + + + + + Cerca una stringa localizzata simile a Le raccolte sono entrambe vuote. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. + + + + + Cerca una stringa localizzata simile a I riferimenti a raccolte puntano entrambi allo stesso oggetto Collection. {0}. + + + + + Cerca una stringa localizzata simile a Le raccolte contengono entrambe gli stessi elementi. {0}. + + + + + Cerca una stringa localizzata simile a {0}({1}). + + + + + Cerca una stringa localizzata simile a (Null). + + + + + Cerca una stringa localizzata simile a (oggetto). + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non contiene la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a {0} ({1}). + + + + + Cerca una stringa localizzata simile a Per le asserzioni non usare Assert.Equals, ma preferire Assert.AreEqual e gli overload. + + + + + Cerca una stringa localizzata simile a Il numero di elementi nelle raccolte non corrisponde. Valore previsto: <{1}>. Valore effettivo: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {0} non corrisponde. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} non è del tipo previsto. Tipo previsto: <{2}>. Tipo effettivo: <{3}>.{0}. + + + + + Cerca una stringa localizzata simile a L'elemento alla posizione di indice {1} è (Null). Tipo previsto: <{2}>.{0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non termina con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Argomento non valido: EqualsTester non può usare valori Null. + + + + + Cerca una stringa localizzata simile a Non è possibile convertire un oggetto di tipo {0} in {1}. + + + + + Cerca una stringa localizzata simile a L'oggetto interno a cui si fa riferimento non è più valido. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. {1}. + + + + + Cerca una stringa localizzata simile a Il tipo della proprietà {0} è {1}, ma quello previsto è {2}. + + + + + Cerca una stringa localizzata simile a Tipo previsto di {0}: <{1}>. Tipo effettivo: <{2}>. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Tipo errato: <{1}>. Tipo effettivo: <{2}>. {0}. + + + + + Cerca una stringa localizzata simile a La stringa '{0}' corrisponde al criterio '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Non è stato specificato alcun elemento DataRowAttribute. Con DataTestMethodAttribute è necessario almeno un elemento DataRowAttribute. + + + + + Cerca una stringa localizzata simile a Non è stata generata alcuna eccezione. Era prevista un'eccezione {1}. {0}. + + + + + Cerca una stringa localizzata simile a Il parametro '{0}' non è valido. Il valore non può essere Null. {1}. + + + + + Cerca una stringa localizzata simile a Il numero di elementi è diverso. + + + + + Cerca una stringa localizzata simile a + Il costruttore con la firma specificata non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a + Il membro specificato ({0}) non è stato trovato. Potrebbe essere necessario rigenerare la funzione di accesso privata + oppure il membro potrebbe essere privato e definito per una classe di base. In quest'ultimo caso, è necessario passare il tipo + che definisce il membro nel costruttore di PrivateObject. + . + + + + + Cerca una stringa localizzata simile a La stringa '{0}' non inizia con la stringa '{1}'. {2}. + + + + + Cerca una stringa localizzata simile a Il tipo di eccezione previsto deve essere System.Exception o un tipo derivato da System.Exception. + + + + + Cerca una stringa localizzata simile a Non è stato possibile ottenere il messaggio per un'eccezione di tipo {0} a causa di un'eccezione. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato l'eccezione prevista {0}. {1}. + + + + + Cerca una stringa localizzata simile a Il metodo di test non ha generato un'eccezione. È prevista un'eccezione dall'attributo {0} definito nel metodo di test. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1}. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a Il metodo di test ha generato l'eccezione {0}, ma era prevista l'eccezione {1} o un tipo derivato da essa. Messaggio dell'eccezione: {2}. + + + + + Cerca una stringa localizzata simile a È stata generata l'eccezione {2}, ma era prevista un'eccezione {1}. {0} + Messaggio dell'eccezione: {3} + Analisi dello stack: {4}. + + + + + risultati degli unit test + + + + + Il test è stato eseguito, ma si sono verificati errori. + Gli errori possono implicare eccezioni o asserzioni non riuscite. + + + + + Il test è stato completato, ma non è possibile determinare se è stato o meno superato. + Può essere usato per test interrotti. + + + + + Il test è stato eseguito senza problemi. + + + + + Il test è attualmente in corso. + + + + + Si è verificato un errore di sistema durante il tentativo di eseguire un test. + + + + + Timeout del test. + + + + + Il test è stato interrotto dall'utente. + + + + + Il test si trova in uno stato sconosciuto + + + + + Fornisce la funzionalità di helper per il framework degli unit test + + + + + Ottiene i messaggi di eccezione in modo ricorsivo, inclusi quelli relativi a + tutte le eccezioni interne + + Eccezione per cui ottenere i messaggi + stringa con le informazioni sul messaggio di errore + + + + Enumerazione per i timeout, che può essere usata con la classe . + Il tipo dell'enumerazione deve corrispondere + + + + + Valore infinito. + + + + + Attributo della classe di test. + + + + + Ottiene un attributo di metodo di test che consente di eseguire questo test. + + Istanza di attributo del metodo di test definita in questo metodo. + Oggetto da usare per eseguire questo test. + Extensions can override this method to customize how all methods in a class are run. + + + + Attributo del metodo di test. + + + + + Esegue un metodo di test. + + Metodo di test da eseguire. + Matrice di oggetti TestResult che rappresentano il risultato o i risultati del test. + Extensions can override this method to customize running a TestMethod. + + + + Attributo di inizializzazione test. + + + + + Attributo di pulizia dei test. + + + + + Attributo ignore. + + + + + Attributo della proprietà di test. + + + + + Inizializza una nuova istanza della classe . + + + Nome. + + + Valore. + + + + + Ottiene il nome. + + + + + Ottiene il valore. + + + + + Attributo di inizializzazione classi. + + + + + Attributo di pulizia delle classi. + + + + + Attributo di inizializzazione assembly. + + + + + Attributo di pulizia degli assembly. + + + + + Proprietario del test + + + + + Inizializza una nuova istanza della classe . + + + Proprietario. + + + + + Ottiene il proprietario. + + + + + Attributo Priority; usato per specificare la priorità di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Priorità. + + + + + Ottiene la priorità. + + + + + Descrizione del test + + + + + Inizializza una nuova istanza della classe per descrivere un test. + + Descrizione. + + + + Ottiene la descrizione di un test. + + + + + URI della struttura di progetto CSS + + + + + Inizializza una nuova istanza della classe per l'URI della struttura di progetto CSS. + + URI della struttura di progetto CSS. + + + + Ottiene l'URI della struttura di progetto CSS. + + + + + URI dell'iterazione CSS + + + + + Inizializza una nuova istanza della classe per l'URI dell'iterazione CSS. + + URI dell'iterazione CSS. + + + + Ottiene l'URI dell'iterazione CSS. + + + + + Attributo WorkItem; usato per specificare un elemento di lavoro associato a questo test. + + + + + Inizializza una nuova istanza della classe per l'attributo WorkItem. + + ID di un elemento di lavoro. + + + + Ottiene l'ID di un elemento di lavoro associato. + + + + + Attributo Timeout; usato per specificare il timeout di uno unit test. + + + + + Inizializza una nuova istanza della classe . + + + Timeout. + + + + + Inizializza una nuova istanza della classe con un timeout preimpostato + + + Timeout + + + + + Ottiene il timeout. + + + + + Oggetto TestResult da restituire all'adattatore. + + + + + Inizializza una nuova istanza della classe . + + + + + Ottiene o imposta il nome visualizzato del risultato. Utile quando vengono restituiti più risultati. + Se è Null, come nome visualizzato viene usato il nome del metodo. + + + + + Ottiene o imposta il risultato dell'esecuzione dei test. + + + + + Ottiene o imposta l'eccezione generata quando il test non viene superato. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta l'output del messaggio registrato dal codice del test. + + + + + Ottiene o imposta le tracce di debug in base al codice del test. + + + + + Gets or sets the debug traces by test code. + + + + + Ottiene o imposta la durata dell'esecuzione dei test. + + + + + Ottiene o imposta l'indice della riga di dati nell'origine dati. Impostare solo per risultati di singole + esecuzioni della riga di dati di un test basato sui dati. + + + + + Ottiene o imposta il valore restituito del metodo di test. Attualmente è sempre Null. + + + + + Ottiene o imposta i file di risultati allegati dal test. + + + + + Specifica la stringa di connessione, il nome tabella e il metodo di accesso alle righe per test basati sui dati. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nome del provider predefinito per DataSource. + + + + + Metodo predefinito di accesso ai dati. + + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati, la stringa di connessione, la tabella dati e il metodo di accesso ai dati per accedere all'origine dati. + + Nome del provider di dati non dipendente da paese/area geografica, ad esempio System.Data.SqlClient + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + Specifica l'ordine per l'accesso ai dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con una stringa di connessione e un nome tabella. + Specificare la stringa di connessione e la tabella dati per accedere all'origine dati OLEDB. + + + Stringa di connessione specifica del provider di dati. + AVVISO: la stringa di connessione può contenere dati sensibili, ad esempio una password. + La stringa di connessione è archiviata in formato testo normale nel codice sorgente e nell'assembly compilato. + Limitare l'accesso al codice sorgente e all'assembly per proteggere questi dati sensibili. + + Nome della tabella dati. + + + + Inizializza una nuova istanza della classe . Questa istanza verrà inizializzata con un provider di dati e la stringa di connessione associata al nome dell'impostazione. + + Nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + Ottiene un valore che rappresenta il provider di dati dell'origine dati. + + + Nome del provider di dati. Se non è stato designato un provider di dati durante l'inizializzazione dell'oggetto, verrà restituito il provider predefinito di System.Data.OleDb. + + + + + Ottiene un valore che rappresenta la stringa di connessione per l'origine dati. + + + + + Ottiene un valore che indica il nome della tabella che fornisce i dati. + + + + + Ottiene il metodo usato per accedere all'origine dati. + + + + Uno dei valori di . Se non è inizializzato, restituirà il valore predefinito . + + + + + Ottiene il nome di un'origine dati trovata nella sezione <microsoft.visualstudio.qualitytools> del file app.config. + + + + + Attributo per il test basato sui dati in cui è possibile specificare i dati inline. + + + + + Trova tutte le righe di dati e le esegue. + + + Metodo di test. + + + Matrice di istanze di . + + + + + Esegue il metodo di test basato sui dati. + + Metodo di test da eseguire. + Riga di dati. + Risultati dell'esecuzione. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..7f0704e61 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + テスト配置ごとに配置項目 (ファイルまたはディレクトリ) を指定するために使用されます。 + テスト クラスまたはテスト メソッドで指定できます。 + 属性に複数のインスタンスを指定して、2 つ以上の項目を指定することができます。 + 項目のパスには絶対パスまたは相対パスを指定できます。相対パスの場合は、RunConfig.RelativePathRoot からの相対パスです。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + クラスの新しいインスタンスを初期化します。 + + 配置するファイルまたはディレクトリ。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + + + + クラスの新しいインスタンスを初期化する + + 配置するファイルまたはディレクトリへの相対パスまたは絶対パス。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。 + アイテムのコピー先のディレクトリのパス。配置ディレクトリへの絶対パスまたは相対パスのいずれかを指定できます。次で識別されるすべてのファイルとディレクトリは このディレクトリにコピーされます。 + + + + コピーするソース ファイルまたはフォルダーのパスを取得します。 + + + + + 項目のコピー先のディレクトリのパスを取得します。 + + + + + Windows ストア アプリの UI スレッドでテスト コードを実行します。 + + + + + UI スレッドで対象テスト メソッドを実行します。 + + + テスト メソッド。 + + + 次の配列 インスタンス。 + + Throws when run on an async test method. + + + + + TestContext クラス。このクラスは完全に抽象的でなければならず、かつメンバー + を含んでいてはなりません。アダプターはメンバーを実装します。フレームワーク内のユーザーは + 正しく定義されたインターフェイスを介してのみこのクラスにアクセスする必要があります。 + + + + + テストのテスト プロパティを取得します。 + + + + + 現在実行中のテスト メソッドを含むクラスの完全修飾名を取得する + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 現在実行中のテスト メソッドの名前を取得する + + + + + 現在のテスト成果を取得します。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..922b5b17d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 実行用の TestMethod。 + + + + + テスト メソッドの名前を取得します。 + + + + + テスト クラスの名前を取得します。 + + + + + テスト メソッドの戻り値の型を取得します。 + + + + + テスト メソッドのパラメーターを取得します。 + + + + + テスト メソッドの methodInfo を取得します。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + テスト メソッドを呼び出します。 + + + テスト メソッドに渡す引数。(データ ドリブンの場合など) + + + テスト メソッド呼び出しの結果。 + + + This call handles asynchronous test methods as well. + + + + + テスト メソッドのすべての属性を取得します。 + + + 親クラスで定義されている属性が有効かどうか。 + + + すべての属性。 + + + + + 特定の型の属性を取得します。 + + System.Attribute type. + + 親クラスで定義されている属性が有効かどうか。 + + + 指定した種類の属性。 + + + + + ヘルパー。 + + + + + null でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws argument null exception when parameter is null. + + + + null または空でない確認パラメーター。 + + + パラメーター。 + + + パラメーター名。 + + + メッセージ。 + + Throws ArgumentException when parameter is null. + + + + データ ドリブン テストのデータ行にアクセスする方法の列挙型。 + + + + + 行は順番に返されます。 + + + + + 行はランダムに返されます。 + + + + + テスト メソッドのインライン データを定義する属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + + + + 引数の配列を受け入れる クラスの新しいインスタンスを初期化します。 + + データ オブジェクト。 + 追加のデータ。 + + + + テスト メソッドを呼び出すデータを取得します。 + + + + + カスタマイズするために、テスト結果の表示名を取得または設定します。 + + + + + assert inconclusive 例外。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + InternalTestFailureException クラス。テスト ケースの内部エラーを示すために使用されます + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + 例外メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 指定した型の例外を予期するよう指定する属性 + + + + + 予期される型を指定して、 クラスの新しいインスタンスを初期化する + + 予期される例外の型 + + + + 予期される型と、テストで例外がスローされない場合に含めるメッセージとを指定して + クラスの新しいインスタンスを初期化します。 + + 予期される例外の型 + + 例外がスローされなかったことが原因でテストが失敗した場合に、テスト結果に含まれるメッセージ + + + + + 予期される例外の型を示す値を取得する + + + + + 予期される例外の型から派生した型を予期される型として使用できるかどうかを示す値を + 取得または設定する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 単体テストでスローされる例外の型が予期される型であることを検証する + + 単体テストでスローされる例外 + + + + 単体テストからの例外を予期するように指定する属性の基底クラス + + + + + 既定の例外なしメッセージを指定して クラスの新しいインスタンスを初期化する + + + + + 例外なしメッセージを指定して クラスの新しいインスタンスを初期化します + + + 例外がスローされなかったことが原因でテストが失敗した場合に、 + テスト結果に含まれるメッセージ + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 例外がスローされなかったためにテストが失敗した場合にテスト結果に含めるメッセージを取得する + + + + + 既定の例外なしメッセージを取得する + + ExpectedException 属性の型名 + 既定の例外なしメッセージ + + + + 例外が予期されているかどうかを判断します。メソッドが戻る場合は、 + 例外が予期されていたと解釈されます。メソッドが例外をスローする場合は、 + 例外が予期されていなかったと解釈され、スローされた例外のメッセージが + テスト結果に含められます。便宜上、 クラスを使用できます。 + が使用され、アサーションが失敗すると、 + テスト成果は [結果不確定] に設定されます。 + + 単体テストでスローされる例外 + + + + AssertFailedException または AssertInconclusiveException である場合に、例外を再スローする + + アサーション例外である場合に再スローされる例外 + + + + このクラスは、ジェネリック型を使用する型の単体テストを実行するユーザーを支援するように設計されています。 + GenericParameterHelper は、次のようないくつかの共通ジェネリック型制約を + 満たしています: + 1. パブリックの既定のコンストラクター + 2. 共通インターフェイスを実装します: IComparable、IEnumerable + + + + + C# ジェネリックの 'newable' 制約を満たす + クラスの新しいインスタンスを初期化します。 + + + This constructor initializes the Data property to a random value. + + + + + Data プロパティをユーザー指定の値に初期化する クラスの + 新しいインスタンスを初期化します。 + + 任意の整数値 + + + + データを取得または設定する + + + + + 2 つの GenericParameterHelper オブジェクトの値の比較を実行する + + 次との比較を実行するオブジェクト + オブジェクトの値が 'this' GenericParameterHelper オブジェクトと同じ値である場合は true。 + それ以外の場合は、false。 + + + + このオブジェクトのハッシュコードを返します。 + + ハッシュ コード。 + + + + 2 つの オブジェクトのデータを比較します。 + + 比較対象のオブジェクト。 + + このインスタンスと値の相対値を示す符号付きの数値。 + + + Thrown when the object passed in is not an instance of . + + + + + 長さが Data プロパティから派生している IEnumerator オブジェクト + を返します。 + + IEnumerator オブジェクト + + + + 現在のオブジェクトに相当する GenericParameterHelper + オブジェクトを返します。 + + 複製されたオブジェクト。 + + + + ユーザーが診断用に単体テストからトレースをログ記録/書き込みできるようにします。 + + + + + LogMessage のハンドラー。 + + ログに記録するメッセージ。 + + + + リッスンするイベント。単体テスト ライターがメッセージを書き込むときに発生します。 + 主にアダプターによって消費されます。 + + + + + テスト ライターがメッセージをログ記録するために呼び出す API。 + + プレースホルダーを含む文字列形式。 + プレースホルダーのパラメーター。 + + + + TestCategory 属性。単体テストのカテゴリを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化し、カテゴリをテストに適用します。 + + + テスト カテゴリ。 + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + "Category" 属性の基底クラス + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + クラスの新しいインスタンスを初期化します。 + カテゴリをテストに適用します。TestCategories で返される文字列は + テストをフィルター処理する /category コマンドで使用されます + + + + + テストに適用されているテスト カテゴリを取得します。 + + + + + AssertFailedException クラス。テスト ケースのエラーを示すために使用されます + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + クラスの新しいインスタンスを初期化します。 + + + + + 単体テスト内のさまざまな条件をテストするヘルパー クラスの + コレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + Assert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is false. + + + + + 指定した条件が true であるかどうかをテストして、条件が false の場合は + 例外をスローします。 + + + テストで true であることが予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + false の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is false. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + Thrown if is true. + + + + + 指定した条件が false であるかどうかをテストして、 + 条件が true である場合は例外をスローします。 + + + テストで false であると予期される条件。 + + + 次の場合に、例外に含まれるメッセージ + true の場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is true. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null であるかどうかをテストして、 + null でない場合は例外をスローします。 + + + テストで null であると予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null でない場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + Thrown if is null. + + + + + 指定したオブジェクトが null 以外であるかどうかをテストして、 + null である場合は例外をスローします。 + + + テストで null 出ないと予期されるオブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + null である場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null. + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not refer to the same object + as . + + + + + 指定した両方のオブジェクトが同じオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照しない場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで予期される値です。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not refer to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if refers to the same object + as . + + + + + 指定したオブジェクトが別のオブジェクトを参照するかどうかをテストして、 + 2 つの入力が同じオブジェクトを参照する場合は例外をスローします。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + と同じである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if refers to the same object + as . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is not equal to . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しいかどうかをテストして、 + 2 つの値が等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで予期される値です。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した値どうしが等しくないかどうかをテストして、 + 2 つの値が等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + The type of values to compare. + + + 比較する最初の値。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目の値。これはテストのコードで生成される値です。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しいかどうかをテストして、 + 2 つのオブジェクトが等しくない場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで予期されるオブジェクトです。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトどうしが等しくないかどうかをテストして、 + 2 つのオブジェクトが等しい場合は例外をスローします。論理値が等しい場合であっても、異なる数値型は + 等しくないものとして処理されます。42L は 42 とは等しくありません。 + + + 比較する最初のオブジェクト。これはテストで次と一致しないと予期される + 値です 。 + + + 比較する 2 番目のオブジェクト。これはテストのコードで生成されるオブジェクトです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで予期される浮動小数です。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した浮動小数どうしが等しくないかどうかをテストして、 + 等しい場合は例外をスローします。 + + + 比較する最初の浮動小数。これはテストで次と一致しないと予期される + 浮動小数です 。 + + + 比較する 2 番目の浮動小数。これはテストのコードで生成される浮動小数です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + Thrown if is not equal to + . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した倍精度浮動小数点数どうしが等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の倍精度浮動小数点型。これはテストで予期される倍精度浮動小数点型です。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 次の値を超える差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + と異なる 次の値を超える差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if is equal to . + + + + + Tests whether the specified doubles are unequal and throws an exception + if they are equal. + + + 比較する最初の倍精度浮動小数点型。これはテストで次と一致しないと予期される + 倍精度浮動小数点型です 。 + + + 比較する 2 番目の倍精度浮動小数点型。これはテストのコードで生成される倍精度浮動小数点型です。 + + + 必要な精度。次の場合にのみ、例外がスローされます + 次と異なる場合 + 最大でも次の値の差異がある場合 。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 または次の値未満の差異がある場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しいかどうかをテストして、 + 等しくない場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで予期される文字列です。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして、 + 等しい場合は例外をスローします。比較にはインバリアント カルチャが使用されます。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定した文字列が等しくないかどうかをテストして + 等しい場合は例外をスローします。 + + + 比較する最初の文字列。これはテストで次と一致しないと予期される + 文字列です 。 + + + 比較する 2 番目の文字列。これはテストのコードで生成される文字列です。 + + + 大文字と小文字を区別する比較か、大文字と小文字を区別しない比較かを示すブール値。(true + は大文字と小文字を区別しない比較を示します。) + + + カルチャ固有の比較情報を提供する CultureInfo オブジェクト。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが予期した型のインスタンスであるかどうかをテストして、 + 予期した型がオブジェクトの継承階層にない場合は + 例外をスローします。 + + + テストで特定の型であると予期されるオブジェクト。 + + + 次の予期される型 。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 指定したオブジェクトが間違った型のインスタンスでないかどうかをテストして、 + 指定した型がオブジェクトの継承階層にある場合は + 例外をスローします。 + + + テストで特定の型でないと予期されるオブジェクト。 + + + 次である型 必要のない。 + + + 次の場合に、例外に含まれるメッセージ + 次のインスタンスである場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException をスローします。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertFailedException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Always thrown. + + + + + AssertInconclusiveException をスローします。 + + + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Always thrown. + + + + + 静的な Equals オーバーロードは、2 つの型のインスタンスを比較して参照の等価性を調べる + ために使用されます。2 つのインスタンスを比較して等価性を調べるためにこのメソッドを使用 + することはできません。このオブジェクトは常に Assert.Fail を使用してスロー + します。単体テストでは、Assert.AreEqual および関連するオーバーロードをご使用ください。 + + オブジェクト A + オブジェクト B + 常に false。 + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + 次の場合に、例外に含まれるメッセージ + 型の例外をスローしません 。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + スローされることが予期される例外の種類。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に + + AssertFailedException + + をスローするかどうかをテストします。 + + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + デリゲート によって指定されたコードが型 (派生型ではない) の指定されたとおりの例外をスローするかどうか、 + およびコードが例外をスローしない場合や 以外の型の例外をスローする場合に AssertFailedException をスローするかどうかをテストします。 + + テスト対象であり、例外をスローすると予期されるコードにデリゲートします。 + + 次の場合に、例外に含まれるメッセージ + 以下の型の例外をスローしない場合。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + その (デリゲートを実行中)。 + + + + + null 文字 ('\0') を "\\0" に置き換えます。 + + + 検索する文字列。 + + + "\\0" で置き換えられた null 文字を含む変換された文字列。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException を作成して、スローするヘルパー関数 + + + 例外をスローするアサーションの名前 + + + アサーション エラーの条件を記述するメッセージ + + + パラメーター。 + + + + + 有効な条件であるかパラメーターを確認します + + + パラメーター。 + + + アサーション名。 + + + パラメーター名 + + + 無効なパラメーター例外のメッセージ + + + パラメーター。 + + + + + 安全にオブジェクトを文字列に変換し、null 値と null 文字を処理します。 + null 値は "(null)" に変換されます。null 文字は "\\0" に変換されます。 + + + 文字列に変換するオブジェクト。 + + + 変換された文字列。 + + + + + 文字列のアサート。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定した文字列に指定したサブ文字列が含まれているかどうかをテストして、 + テスト文字列内にサブ文字列が含まれていない場合は例外を + スローします。 + + + 次を含むと予期される文字列 。 + + + 次の内部で発生することが予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の先頭が指定したサブ文字列であるかどうかをテストして + テスト文字列の先頭がサブ文字列でない場合は + 例外をスローします。 + + + 先頭が次であると予期される文字列 。 + + + 次のプレフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 先頭が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not begin with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not end with + . + + + + + 指定した文字列の末尾が指定したサブ文字列であるかどうかをテストして、 + テスト文字列の末尾がサブ文字列でない場合は + 例外をスローします。 + + + 末尾が次であることが予期される文字列 。 + + + 次のサフィックスであると予期される文字列 。 + + + 次の場合に、例外に含まれるメッセージ + 末尾が次ではない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not end with + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致するかどうかをテストして、 + 文字列が表現と一致しない場合は例外をスローします。 + + + 次と一致すると予期される文字列 。 + + + 次である正規表現 is + 一致することが予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致しない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if does not match + . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if matches . + + + + + 指定した文字列が正規表現と一致しないかどうかをテストして、 + 文字列が表現と一致する場合は例外をスローします。 + + + 次と一致しないと予期される文字列 。 + + + 次である正規表現 is + 一致しないと予期される。 + + + 次の場合に、例外に含まれるメッセージ + 一致する場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if matches . + + + + + 単体テスト内のコレクションと関連付けられている + さまざまな条件をテストするヘルパー クラスのコレクション。テスト対象の条件を満たしていない場合は、 + 例外がスローされます。 + + + + + CollectionAssert 機能の単一インスタンスを取得します。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれているかどうかをテストして、 + 要素がコレクションにない場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内にあると予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + 次にない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + Thrown if is found in + . + + + + + 指定したコレクションに指定した要素が含まれていないかどうかをテストして、 + 要素がコレクション内にある場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + コレクション内に存在しないことが予期される要素。 + + + 次の場合に、例外に含まれるメッセージ + が次にある場合 。メッセージはテスト結果に + 表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is found in + . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが null 以外であるかどうかをテストして、 + いずれかの要素が null である場合は例外をスローします。 + + + 要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + null 要素を含む場合。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a null element is found in . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + Thrown if a two or more equal elements are found in + . + + + + + 指定したコレクション内のすべてのアイテムが一意であるかどうかをテストして、 + コレクション内のいずれかの 2 つの要素が等しい場合はスローします。 + + + 重複する要素を検索するコレクション。 + + + 次の場合に、例外に含まれるメッセージ + 少なくとも 1 つの重複する要素が含まれています。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if a two or more equal elements are found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットであるかどうかをテストして、 + スーパーセットにない要素がサブセットに入っている場合は + 例外をスローします。 + + + 次のサブセットであると予期されるコレクション 。 + + + 次のスーパーセットであると予期されるコレクション + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次に見つからない場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is not found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + Thrown if every element in is also found in + . + + + + + コレクションが別のコレクションのサブセットでないかどうかをテストして、 + サブセット内のすべての要素がスーパーセットにもある場合は + 例外をスローします。 + + + のサブセットではないと予期されるコレクション 。 + + + 次のスーパーセットであるとは予期されないコレクション + + + 次にあるすべての要素が次である場合に、例外に含まれるメッセージ + 次にもある場合 . + メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if every element in is also found in + . + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに同じ要素が含まれているかどうかをテストして、 + いずれかのコレクションにもう一方のコレクション内にない要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これにはテストで予期される + 要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 要素が 2 つのコレクションのどちらかのみに見つかった場合に + 例外に含まれるメッセージ。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 2 つのコレクションに異なる要素が含まれているかどうかをテストして、 + 順番に関係なく、2 つのコレクションに同一の要素が含まれている場合は例外を + スローします。 + + + 比較する最初のコレクション。これには実際のコレクションと異なると + テストで予期される要素が含まれます。 + + + 比較する 2 番目のコレクション。これはテストのコードで + 生成されるコレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と同じ要素を含む場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクション内のすべての要素が指定した型のインスタンスであるかどうかをテストして、 + 指定した型が 1 つ以上の要素 + の継承階層にない場合は例外をスローします。 + + + テストで特定の型であると予期される要素を + 含むコレクション。 + + + 次の各要素の予期される型 。 + + + 次にある要素が次の条件である場合に、例外に含まれるメッセージ + 次のインスタンスではない場合 + 。メッセージはテスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しいかどうかをテストして、 + 2 つのコレクションが等しくない場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで予期されるコレクションです。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しくない場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is not equal to + . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + Thrown if is equal to . + + + + + 指定したコレクションが等しくないかどうかをテストして、 + 2 つのコレクションが等しい場合は例外をスローします。等値は、順序と数が同じである同じ要素を含むものとして + 定義されています。同じ値への異なる参照は + 等しいものとして見なされます。 + + + 比較する最初のコレクション。これはテストで次と一致しないことが予期される + コレクションです 。 + + + 比較する 2 番目のコレクション。これはテストのコードで生成される + コレクションです。 + + + コレクションの要素を比較する場合に使用する比較の実装。 + + + 次の場合に、例外に含まれるメッセージ + 次と等しい場合 。メッセージは + テスト結果に表示されます。 + + + の書式を設定する場合に使用するパラメーターの配列 。 + + + Thrown if is equal to . + + + + + 最初のコレクションが 2 番目のコレクションのサブセットであるかどうかを + 決定します。いずれかのセットに重複する要素が含まれている場合は、 + サブセット内の要素の出現回数は + スーパーセット内の出現回数以下である必要があります。 + + + テストで次に含まれると予期されるコレクション 。 + + + テストで次を含むと予期されるコレクション 。 + + + 次の場合は true 次のサブセットの場合 + 、それ以外の場合は false。 + + + + + 指定したコレクションの各要素の出現回数を含む + 辞書を構築します。 + + + 処理するコレクション。 + + + コレクション内の null 要素の数。 + + + 指定したコレクション内の各要素の + 出現回数を含むディレクトリ。 + + + + + 2 つのコレクション間で一致しない要素を検索します。 + 一致しない要素とは、予期されるコレクションでの出現回数が + 実際のコレクションでの出現回数と異なる要素のことです。 + コレクションは、同じ数の要素を持つ、null ではない + さまざまな参照と見なされます。このレベルの検証を行う責任は + 呼び出し側にあります。一致しない要素がない場合、 + 関数は false を返し、out パラメーターは使用されません。 + + + 比較する最初のコレクション。 + + + 比較する 2 番目のコレクション。 + + + 次の予期される発生回数 + または一致しない要素がない場合は + 0 です。 + + + 次の実際の発生回数 + または一致しない要素がない場合は + 0 です。 + + + 一致しない要素 (null の場合があります)、または一致しない要素がない場合は + null です。 + + + 一致しない要素が見つかった場合は true、それ以外の場合は false。 + + + + + object.Equals を使用してオブジェクトを比較する + + + + + フレームワーク例外の基底クラス。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + 例外。 + + + + クラスの新しいインスタンスを初期化します。 + + メッセージ。 + + + + ローカライズされた文字列などを検索するための、厳密に型指定されたリソース クラス。 + + + + + このクラスで使用されているキャッシュされた ResourceManager インスタンスを返します。 + + + + + 厳密に型指定されたこのリソース クラスを使用して、現在のスレッドの + CurrentUICulture プロパティをすべてのリソース ルックアップで無視します。 + + + + + "アクセス文字列は無効な構文を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "予期されたコレクションでは、<{2}> が {1} 回発生します。実際のコレクションでは、{3} 回発生します。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "重複する項目が見つかりました:<{1}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要です。実際の値: <{2}> では大文字と小文字が異なります。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> 以内の差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1} ({2})> が必要ですが、<{3} ({4})> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> が必要ですが、<{2}> が指定されました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "指定する値 <{1}> と実際の値 <{2}> との間には <{3}> を超える差が必要です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "<{1}> 以外の任意の値が必要ですが、<{2}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "AreSame() に値型を渡すことはできません。オブジェクトに変換された値は同じになりません。AreEqual() を使用することを検討してください。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0} に失敗しました。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "UITestMethodAttribute が指定された非同期の TestMethod はサポートされていません。非同期を削除するか、TestMethodAttribute を使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが空です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションの参照が、同じコレクション オブジェクトにポイントしています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "両方のコレクションが同じ要素を含んでいます。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "{0}({1})" に類似したローカライズされた文字列を検索します。 + + + + + "(null)" に類似したローカライズされた文字列を検索します。 + + + + + Looks up a localized string similar to (object). + + + + + "文字列 '{0}' は文字列 '{1}' を含んでいません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} ({1})" に類似したローカライズされた文字列を検索します。 + + + + + "アサーションには Assert.Equals を使用せずに、Assert.AreEqual とオーバーロードを使用してください。" に類似したローカライズされた文字列を検索します。 + + + + + "コレクション内の要素数が一致しません。<{1}> が必要ですが <{2}> が指定されています。{0}。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {0} の要素が一致しません。" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は、必要な型ではありません。<{2}> が必要ですが、<{3}> が指定されています。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "インデックス {1} の要素は null です。必要な型:<{2}>。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は文字列 '{1}' で終わりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "無効な引数 - EqualsTester は null を使用することはできません。" に類似したローカライズされた文字列を検索します。 + + + + + "型 {0} のオブジェクトを {1} に変換できません。" に類似したローカライズされた文字列を検索します。 + + + + + "参照された内部オブジェクトは、現在有効ではありません。" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "プロパティ {0} は型 {1} を含んでいますが、型 {2} が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "{0} には型 <{1}> が必要ですが、型 <{2}> が指定されました。" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' は、パターン '{1}' と一致しません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "正しくない型は <{1}> であり、実際の型は <{2}> です。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "文字列 '{0}' はパターン '{1}' と一致します。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "DataRowAttribute が指定されていません。DataTestMethodAttribute では少なくとも 1 つの DataRowAttribute が必要です。" に類似したローカライズされた文字列を検索します。 + + + + + "例外がスローされませんでした。{1} の例外が予期されていました。{0}" に類似したローカライズされた文字列を検索します。 + + + + + "パラメーター '{0}' は無効です。値を null にすることはできません。{1}。" に類似したローカライズされた文字列を検索します。 + + + + + "要素数が異なります。" に類似したローカライズされた文字列を検索します。 + + + + + "指定されたシグネチャを使用するコンストラクターが見つかりませんでした。 + プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + PrivateObject のコンストラクターに定義する型を渡す必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + + "指定されたメンバー ({0}) が見つかりませんでした。プライベート アクセサーを再生成しなければならないか、 + またはメンバーがプライベートであり、基底クラスで定義されている可能性があります。後者である場合、メンバーを + 定義する型を PrivateObject のコンストラクターに渡す必要があります。" + に類似したローカライズされた文字列を検索します。 + + + + + + "文字列 '{0}' は文字列 '{1}' で始まりません。{2}。" に類似したローカライズされた文字列を検索します。 + + + + + "予期される例外の型は System.Exception または System.Exception の派生型である必要があります。" に類似したローカライズされた文字列を検索します。 + + + + + "(例外が発生したため、型 {0} の例外のメッセージを取得できませんでした。)" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは予期された例外 {0} をスローしませんでした。{1}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは例外をスローしませんでした。テスト メソッドで定義されている属性 {0} で例外が予期されていました。" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "テスト メソッドは、例外 {0} をスローしましたが、例外 {1} またはその派生型が予期されていました。例外メッセージ: {2}" に類似したローカライズされた文字列を検索します。 + + + + + "例外 {2} がスローされましたが、例外 {1} が予期されていました。{0} + 例外メッセージ: {3} + スタック トレース: {4}" に類似したローカライズされた文字列を検索します。 + + + + + 単体テストの成果 + + + + + テストを実行しましたが、問題が発生しました。 + 問題には例外または失敗したアサーションが関係している可能性があります。 + + + + + テストが完了しましたが、成功したか失敗したかは不明です。 + 中止したテストに使用される場合があります。 + + + + + 問題なくテストが実行されました。 + + + + + 現在テストを実行しています。 + + + + + テストを実行しようとしているときにシステム エラーが発生しました。 + + + + + テストがタイムアウトしました。 + + + + + ユーザーによってテストが中止されました。 + + + + + テストは不明な状態です + + + + + 単体テストのフレームワークのヘルパー機能を提供する + + + + + すべての内部例外のメッセージなど、例外メッセージを + 再帰的に取得します + + 次のメッセージを取得する例外 + エラー メッセージ情報を含む文字列 + + + + クラスで使用できるタイムアウトの列挙型。 + 列挙型の型は一致している必要があります + + + + + 無限。 + + + + + テスト クラス属性。 + + + + + このテストの実行を可能するテスト メソッド属性を取得します。 + + このメソッドで定義されているテスト メソッド属性インスタンス。 + The 。このテストを実行するために使用されます。 + Extensions can override this method to customize how all methods in a class are run. + + + + テスト メソッド属性。 + + + + + テスト メソッドを実行します。 + + 実行するテスト メソッド。 + テストの結果を表す TestResult オブジェクトの配列。 + Extensions can override this method to customize running a TestMethod. + + + + テスト初期化属性。 + + + + + テスト クリーンアップ属性。 + + + + + Ignore 属性。 + + + + + テストのプロパティ属性。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 名前。 + + + 値。 + + + + + 名前を取得します。 + + + + + 値を取得します。 + + + + + クラス初期化属性。 + + + + + クラス クリーンアップ属性。 + + + + + アセンブリ初期化属性。 + + + + + アセンブリ クリーンアップ属性。 + + + + + テストの所有者 + + + + + クラスの新しいインスタンスを初期化します。 + + + 所有者。 + + + + + 所有者を取得します。 + + + + + 優先順位属性。単体テストの優先順位を指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + 優先順位。 + + + + + 優先順位を取得します。 + + + + + テストの説明 + + + + + テストを記述する クラスの新しいインスタンスを初期化します。 + + 説明。 + + + + テストの説明を取得します。 + + + + + CSS プロジェクト構造の URI + + + + + CSS プロジェクト構造の URI の クラスの新しいインスタンスを初期化します。 + + CSS プロジェクト構造の URI。 + + + + CSS プロジェクト構造の URI を取得します。 + + + + + CSS イテレーション URI + + + + + CSS イテレーション URI の クラスの新しいインスタンスを初期化します。 + + CSS イテレーション URI。 + + + + CSS イテレーション URI を取得します。 + + + + + WorkItem 属性。このテストに関連付けられている作業項目の指定に使用されます。 + + + + + WorkItem 属性の クラスの新しいインスタンスを初期化します。 + + 作業項目に対する ID。 + + + + 関連付けられている作業項目に対する ID を取得します。 + + + + + タイムアウト属性。単体テストのタイムアウトを指定するために使用されます。 + + + + + クラスの新しいインスタンスを初期化します。 + + + タイムアウト。 + + + + + 事前設定するタイムアウトを指定して クラスの新しいインスタンスを初期化する + + + タイムアウト + + + + + タイムアウトを取得します。 + + + + + アダプターに返される TestResult オブジェクト。 + + + + + クラスの新しいインスタンスを初期化します。 + + + + + 結果の表示名を取得または設定します。複数の結果が返される場合に便利です。 + null の場合は、メソッド名が DisplayName として使用されます。 + + + + + テスト実行の成果を取得または設定します。 + + + + + テストが失敗した場合にスローされる例外を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでログに記録されたメッセージの出力を取得または設定します。 + + + + + テスト コードでデバッグ トレースを取得または設定します。 + + + + + Gets or sets the debug traces by test code. + + + + + テスト実行の期間を取得または設定します。 + + + + + データ ソース内のデータ行インデックスを取得または設定します。データ ドリブン テストの一続きのデータ行の + それぞれの結果に対してのみ設定されます。 + + + + + テスト メソッドの戻り値を取得または設定します。(現在は、常に null です)。 + + + + + テストで添付された結果ファイルを取得または設定します。 + + + + + データ ドリブン テストの接続文字列、テーブル名、行アクセス方法を指定します。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource の既定のプロバイダー名。 + + + + + 既定のデータ アクセス方法。 + + + + + クラスの新しいインスタンスを初期化します。このインスタンスは、データ ソースにアクセスするためのデータ プロバイダー、接続文字列、データ テーブル、データ アクセス方法を指定して初期化されます。 + + System.Data.SqlClient などデータ プロバイダーの不変名 + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + データにアクセスする順番をしています。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは接続文字列とテーブル名を指定して初期化されます。 + OLEDB データ ソースにアクセスするには接続文字列とデータ テーブルを指定します。 + + + データ プロバイダー固有の接続文字列。 + 警告: 接続文字列には機微なデータ (パスワードなど) を含めることができます。 + 接続文字列はソース コードのプレーンテキストとコンパイルされたアセンブリに保存されます。 + ソース コードとアセンブリへのアクセスを制限して、この秘匿性の高い情報を保護します。 + + データ テーブルの名前。 + + + + クラスの新しいインスタンスを初期化します。このインスタンスは設定名に関連付けられているデータ プロバイダーと接続文字列を使用して初期化されます。 + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションにあるデータ ソースの名前。 + + + + データ ソースのデータ プロバイダーを表す値を取得します。 + + + データ プロバイダー名。データ プロバイダーがオブジェクトの初期化時に指定されていなかった場合は、System.Data.OleDb の既定のプロバイダーが返されます。 + + + + + データ ソースの接続文字列を表す値を取得します。 + + + + + データを提供するテーブル名を示す値を取得します。 + + + + + データ ソースへのアクセスに使用するメソッドを取得します。 + + + + 次のいずれか 値。以下の場合 初期化されていない場合は、これは既定値を返します 。 + + + + + app.config ファイルの <microsoft.visualstudio.qualitytools> セクションで見つかるデータ ソースの名前を取得します。 + + + + + データをインラインで指定できるデータ ドリブン テストの属性。 + + + + + すべてのデータ行を検索して、実行します。 + + + テスト メソッド。 + + + 次の配列 。 + + + + + データ ドリブン テスト メソッドを実行します。 + + 実行するテスト メソッド。 + データ行. + 実行の結果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..93582a160 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 테스트 배포별 배포 항목(파일 또는 디렉터리)을 지정하는 데 사용됩니다. + 테스트 클래스 또는 테스트 메서드에서 지정할 수 있습니다. + 둘 이상의 항목을 지정하기 위한 여러 특성 인스턴스를 가질 수 있습니다. + 항목 경로는 절대 또는 상대 경로일 수 있으며, 상대 경로인 경우 RunConfig.RelativePathRoot가 기준입니다. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 배포할 파일 또는 디렉터리에 대한 상대 또는 절대 경로. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다. + 항목을 복사할 디렉터리의 경로. 배포 디렉터리에 대한 절대 경로 또는 상대 경로일 수 있습니다.에 의해 식별되는 모든 파일 및 디렉터리는 이 디렉터리에 복사됩니다. + + + + 복사할 소스 파일 또는 폴더의 경로를 가져옵니다. + + + + + 항목을 복사할 디렉터리의 경로를 가져옵니다. + + + + + Windows 스토어 앱에 대한 UI 스레드에서 테스트 코드를 실행합니다. + + + + + UI 스레드에서 테스트 메서드를 실행합니다. + + + 테스트 메서드입니다. + + + 배열 인스턴스. + + Throws when run on an async test method. + + + + + TestContext 클래스. 이 클래스는 완전히 추상 클래스여야 하며 멤버를 포함할 + 수 없습니다. 어댑터는 멤버를 구현합니다. 프레임워크의 사용자는 + 잘 정의된 인터페이스를 통해서만 여기에 액세스할 수 있습니다. + + + + + 테스트에 대한 테스트 속성을 가져옵니다. + + + + + 현재 실행 중인 테스트 메서드를 포함하는 클래스의 정규화된 이름을 가져옵니다 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 현재 실행 중인 테스트 메서드의 이름을 가져옵니다. + + + + + 현재 테스트 결과를 가져옵니다. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..22e769ac3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 실행을 위한 TestMethod입니다. + + + + + 테스트 메서드의 이름을 가져옵니다. + + + + + 테스트 클래스의 이름을 가져옵니다. + + + + + 테스트 메서드의 반환 형식을 가져옵니다. + + + + + 테스트 메서드의 매개 변수를 가져옵니다. + + + + + 테스트 메서드에 대한 methodInfo를 가져옵니다. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 테스트 메서드를 호출합니다. + + + 테스트 메서드에 전달할 인수(예: 데이터 기반의 경우) + + + 테스트 메서드 호출의 결과. + + + This call handles asynchronous test methods as well. + + + + + 테스트 메서드의 모든 특성을 가져옵니다. + + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 모든 특성. + + + + + 특정 형식의 특성을 가져옵니다. + + System.Attribute type. + + 부모 클래스에 정의된 특성이 올바른지 여부입니다. + + + 지정한 형식의 특성입니다. + + + + + 도우미입니다. + + + + + 검사 매개 변수가 Null이 아닙니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws argument null exception when parameter is null. + + + + 검사 매개 변수가 Null이 아니거나 비어 있습니다. + + + 매개 변수. + + + 매개 변수 이름. + + + 메시지. + + Throws ArgumentException when parameter is null. + + + + 데이터 기반 테스트에서 데이터 행에 액세스하는 방법에 대한 열거형입니다. + + + + + 행이 순차적인 순서로 반환됩니다. + + + + + 행이 임의의 순서로 반환됩니다. + + + + + 테스트 메서드에 대한 인라인 데이터를 정의하는 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + + + + 인수 배열을 사용하는 클래스의 새 인스턴스를 초기화합니다. + + 데이터 개체. + 추가 데이터. + + + + 테스트 메서드 호출을 위한 데이터를 가져옵니다. + + + + + 사용자 지정을 위한 테스트 결과에서 표시 이름을 가져오거나 설정합니다. + + + + + 어설션 불확실 예외입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + InternalTestFailureException 클래스. 테스트 사례에 대한 내부 실패를 나타내는 데 사용됩니다. + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 예외 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 지정된 형식의 예외를 예상하도록 지정하는 특성 + + + + + 예상 형식이 있는 클래스의 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + + + 테스트에서 예외를 throw하지 않을 때 포함할 메시지 및 예상 형식이 있는 클래스의 + 새 인스턴스를 초기화합니다. + + 예상되는 예외의 형식 + + 예외를 throw하지 않아 테스트가 실패할 경우 테스트 결과에 포함할 메시지 + + + + + 예상되는 예외의 형식을 나타내는 값을 가져옵니다. + + + + + 예상 예외의 형식에서 파생된 형식이 예상대로 자격을 얻도록 허용할지 여부를 나타내는 값을 가져오거나 + 설정합니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 단위 테스트에 의해 throw되는 예외의 형식이 예상되는지를 확인합니다. + + 단위 테스트에서 throw한 예외 + + + + 단위 테스트에서 예외를 예상하도록 지정하는 특성에 대한 기본 클래스 + + + + + 기본 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + + + 예외 없음 메시지가 있는 클래스의 새 인스턴스를 초기화합니다. + + + 예외를 throw하지 않아서 테스트가 실패할 경우 테스트 결과에 포함할 + 메시지 + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 예외를 throw하지 않아 테스트에 실패하는 경우 테스트 결과에 포함할 메시지를 가져옵니다. + + + + + 기본 예외 없음 메시지를 가져옵니다. + + ExpectedException 특성 형식 이름 + 기본 예외 없음 메시지 + + + + 예외가 예상되는지 여부를 확인합니다. 메서드가 반환되면 예외가 + 예상되는 것으로 이해됩니다. 메서드가 예외를 throw하면 예외가 + 예상되지 않는 것으로 이해되고, throw된 예외의 메시지가 + 테스트 결과에 포함됩니다. 클래스는 편의를 위해 사용될 수 + 있습니다. 이(가) 사용되는 경우 어설션에 실패하며, + 테스트 결과가 [결과 불충분]으로 설정됩니다. + + 단위 테스트에서 throw한 예외 + + + + AssertFailedException 또는 AssertInconclusiveException인 경우 예외를 다시 throw합니다. + + 어설션 예외인 경우 예외를 다시 throw + + + + 이 클래스는 제네릭 형식을 사용하는 형식에 대한 사용자의 유닛 테스트를 지원하도록 설계되었습니다. + GenericParameterHelper는 몇 가지 공통된 제네릭 형식 제약 조건을 충족합니다. + 예: + 1. public 기본 생성자 + 2. 공통 인터페이스 구현: IComparable, IEnumerable + + + + + C# 제네릭의 '새로 입력할 수 있는' 제약 조건을 충족하는 클래스의 + 새 인스턴스를 초기화합니다. + + + This constructor initializes the Data property to a random value. + + + + + 데이터 속성을 사용자가 제공한 값으로 초기화하는 클래스의 + 새 인스턴스를 초기화합니다. + + 임의의 정수 값 + + + + 데이터를 가져오거나 설정합니다. + + + + + 두 GenericParameterHelper 개체의 값을 비교합니다. + + 비교할 개체 + 개체의 값이 '이' GenericParameterHelper 개체와 동일한 경우에는 true이고, + 동일하지 않은 경우에는 false입니다. + + + + 이 개체의 해시 코드를 반환합니다. + + 해시 코드입니다. + + + + 두 개체의 데이터를 비교합니다. + + 비교할 개체입니다. + + 이 인스턴스 및 값의 상대 값을 나타내는 부호 있는 숫자입니다. + + + Thrown when the object passed in is not an instance of . + + + + + 길이가 데이터 속성에서 파생된 IEnumerator 개체를 + 반환합니다. + + IEnumerator 개체 + + + + 현재 개체와 동일한 GenericParameterHelper 개체를 + 반환합니다. + + 복제된 개체입니다. + + + + 사용자가 진단을 위해 단위 테스트에서 추적을 로그하거나 쓸 수 있습니다. + + + + + LogMessage용 처리기입니다. + + 로깅할 메시지. + + + + 수신할 이벤트입니다. 단위 테스트 기록기에서 메시지를 기록할 때 발생합니다. + 주로 어댑터에서 사용합니다. + + + + + 메시지를 로그하기 위해 테스트 작성자가 호출하는 API입니다. + + 자리 표시자가 있는 문자열 형식. + 자리 표시자에 대한 매개 변수. + + + + TestCategory 특성 - 단위 테스트의 범주 지정에 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화하고 범주를 테스트에 적용합니다. + + + 테스트 범주. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + "Category" 특성을 위한 기본 클래스 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 클래스의 새 인스턴스를 초기화합니다. + 범주를 테스트에 적용합니다. TestCategories에 의해 반환된 문자열은 + 테스트 필터링을 위한 /category 명령과 함께 사용됩니다. + + + + + 테스트에 적용된 테스트 범주를 가져옵니다. + + + + + AssertFailedException 클래스 - 테스트 사례에 대한 실패를 나타내는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 단위 테스트 내에서 다양한 조건을 테스트하기 위한 도우미 + 클래스의 컬렉션입니다. 테스트 중인 조건이 충족되지 않으면 예외가 + throw됩니다. + + + + + Assert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is false. + + + + + 지정된 조건이 true인지를 테스트하고 조건이 false이면 예외를 + throw합니다. + + + 테스트가 참일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 거짓인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is false. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is true. + + + + + 지정된 조건이 false인지를 테스트하고 조건이 true이면 예외를 + throw합니다. + + + 테스트가 거짓일 것으로 예상하는 조건. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 참인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is true. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not null. + + + + + 지정된 개체가 Null인지를 테스트하고, Null이 아니면 예외를 + throw합니다. + + + 테스트가 null일 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null이 아닌 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is null. + + + + + 지정된 개체가 Null이 아닌지를 테스트하고, Null이면 예외를 + throw합니다. + + + 테스트가 null이 아닐 것으로 예상하는 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null인 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null. + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if does not refer to the same object + as . + + + + + 지정된 두 개체가 동일한 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하지 않으면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not refer to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if refers to the same object + as . + + + + + 지정된 개체가 서로 다른 개체를 참조하는지를 테스트하고, 두 입력이 + 동일한 개체를 참조하면 예외를 throw합니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if refers to the same object + as . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is not equal to . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 값이 같은지를 테스트하고, 두 값이 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 예상하는 값입니다. + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 값이 다른지를 테스트하고, 두 값이 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + The type of values to compare. + + + 비교할 첫 번째 값. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 값. 테스트 중인 코드에 의해 생성된 값입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 개체가 같은지를 테스트하고, 두 개체가 같지 않으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 예상하는 개체입니다. + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 개체가 다른지를 테스트하고, 두 개체가 같으면 + 예외를 throw합니다. 논리값이 같더라도 숫자 형식이 다르면 + 같지 않은 것으로 취급됩니다. 42L은 42와 같지 않습니다. + + + 비교할 첫 번째 개체. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 값: . + + + 비교할 두 번째 개체. 테스트 중인 코드에 의해 생성된 개체입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 부동이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 예상하는 부동입니다. + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 부동이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 부동. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 부동: . + + + 비교할 두 번째 부동. 테스트 중인 코드에 의해 생성된 부동입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + Thrown if is not equal to + . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 double이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 예상하는 double입니다. + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음보다 큰 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 과(와)의 차이가 다음보다 큰 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 double이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 double. 테스트가 다음과 일치하지 않을 것으로 예상하는 + double: . + + + 비교할 두 번째 double. 테스트 중인 코드에 의해 생성된 double입니다. + + + 필요한 정확성. 다음과 같은 경우에만 예외가 throw됩니다. + 과(와) + 의 차이가 다음을 넘지 않는 경우: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: 또는 그 차이가 다음 미만인 경우: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to . + + + + + 지정된 문자열이 같은지를 테스트하고, 같지 않으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 예상하는 문자열입니다. + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. 비교에는 고정 문화권이 사용됩니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 문자열이 다른지를 테스트하고, 같으면 예외를 + throw합니다. + + + 비교할 첫 번째 문자열. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 문자열: . + + + 비교할 두 번째 문자열. 테스트 중인 코드에 의해 생성된 문자열입니다. + + + 대/소문자를 구분하거나 구분하지 않는 비교를 나타내는 부울(true는 + 대/소문자를 구분하지 않는 비교를 나타냄). + + + 문화권 관련 비교 정보를 제공하는 CultureInfo 개체. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 예상 형식의 인스턴스인지를 테스트하고, + 예상 형식이 개체의 상속 계층 구조에 있지 않은 예외를 + throw합니다. + + + 테스트가 지정된 형식일 것으로 예상하는 개체. + + + 다음의 예상 형식: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스가 아닌 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 지정된 개체가 잘못된 형식의 인스턴스가 아닌지를 테스트하고, + 지정된 형식이 개체의 상속 계층 구조에 있는 경우 예외를 + throw합니다. + + + 테스트가 지정된 형식이 아닐 것으로 예상하는 개체. + + + 형식: 이(가) 아니어야 함. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음의 인스턴스인 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + AssertFailedException을 throw합니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertFailedException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Always thrown. + + + + + AssertInconclusiveException을 throw합니다. + + + 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Always thrown. + + + + + 참조 같음에 대해 두 형식의 인스턴스를 비교하는 데 정적 equals 오버로드가 + 사용됩니다. 이 메서드는 같음에 대해 두 인스턴스를 비교하는 데 사용되지 않습니다. + 이 개체는 항상 Assert.Fail과 함께 throw됩니다. 단위 테스트에서 + Assert.AreEqual 및 관련 오버로드를 사용하세요. + + 개체 A + 개체 B + 항상 False. + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우:. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + throw될 예외 형식입니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 + + AssertFailedException + + 을 throw합니다. + + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + 대리자가 지정한 코드가 형식의 정확한 특정 예외(파생된 형식이 아님)를 throw하는지 테스트하고 + 코드가 예외를 throw하지 않거나 이(가) 아닌 형식의 예외를 throw하는 경우 AssertFailedException을 throw합니다. + + 테스트할 코드 및 예외를 throw할 것으로 예상되는 코드에 대한 대리자. + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음 형식의 예외를 throw하지 않는 경우: . + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 오류가 발생했습니다. + + + + + Null 문자('\0')를 "\\0"으로 바꿉니다. + + + 검색할 문자열. + + + Null 문자가 "\\0"으로 교체된 변환된 문자열. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException을 만들고 throw하는 도우미 함수 + + + 예외를 throw하는 어설션의 이름 + + + 어설션 실패에 대한 조건을 설명하는 메시지 + + + 매개 변수. + + + + + 유효한 조건의 매개 변수를 확인합니다. + + + 매개 변수. + + + 어셜선 이름. + + + 매개 변수 이름 + + + 잘못된 매개 변수 예외에 대한 메시지 + + + 매개 변수. + + + + + 개체를 문자열로 안전하게 변환하고, Null 값 및 Null 문자를 처리합니다. + Null 값은 "(null)"로 변환됩니다. Null 문자는 "\\0"으로 변환됩니다. + + + 문자열로 변환될 개체. + + + 변환된 문자열. + + + + + 문자열 어셜션입니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 문자열에 지정된 하위 문자열이 포함되었는지를 테스트하고, + 테스트 문자열 내에 해당 하위 문자열이 없으면 예외를 + throw합니다. + + + 다음을 포함할 것으로 예상되는 문자열: . + + + 다음 이내에 발생할 것으로 예상되는 문자열 . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 시작되는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 시작되지 않으면 예외를 + throw합니다. + + + 다음으로 시작될 것으로 예상되는 문자열: . + + + 다음의 접두사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 시작되지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not begin with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if does not end with + . + + + + + 지정된 문자열이 지정된 하위 문자열로 끝나는지를 테스트하고, + 테스트 문자열이 해당 하위 문자열로 끝나지 않으면 예외를 + throw합니다. + + + 다음으로 끝날 것으로 예상되는 문자열: . + + + 다음의 접미사일 것으로 예상되는 문자열: . + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음으로 끝나지 않는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not end with + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하는지를 테스트하고, 문자열이 + 식과 일치하지 않으면 예외를 throw합니다. + + + 다음과 일치할 것으로 예상되는 문자열: . + + + 과(와) + 일치할 것으로 예상되는 정규식 + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하지 않는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if does not match + . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if matches . + + + + + 지정된 문자열이 정규식과 일치하지 않는지를 테스트하고, 문자열이 + 식과 일치하면 예외를 throw합니다. + + + 다음과 일치하지 않을 것으로 예상되는 문자열: . + + + 과(와) + 일치하지 않을 것으로 예상되는 정규식. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 일치하는 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if matches . + + + + + 단위 테스트 내에서 컬렉션과 연결된 다양한 조건을 테스트하기 + 위한 도우미 클래스의 컬렉션. 테스트 중인 조건이 충족되지 않으면 + 예외가 throw됩니다. + + + + + CollectionAssert 기능의 singleton 인스턴스를 가져옵니다. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하는지를 테스트하고, + 컬렉션에 요소가 없으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함될 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 없는 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if is found in + . + + + + + 지정된 컬렉션이 지정된 요소를 포함하지 않는지를 테스트하고, + 컬렉션에 요소가 있으면 예외를 throw합니다. + + + 요소를 검색할 컬렉션. + + + 컬렉션에 포함되지 않을 것으로 예상되는 요소. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음에 포함된 경우: . 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is found in + . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 Null이 아닌지를 테스트하고, + Null인 요소가 있으면 예외를 throw합니다. + + + Null 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) null 요소를 포함하는 경우. 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a null element is found in . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + Thrown if a two or more equal elements are found in + . + + + + + 지정된 컬렉션의 모든 항목이 고유한지 여부를 테스트하고, + 컬렉션에 두 개의 같은 요소가 있는 경우 예외를 throw합니다. + + + 중복 요소를 검색할 컬렉션. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 하나 이상의 중복 요소를 포함하는 경우. 메시지는 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if a two or more equal elements are found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지입니다.. + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합인지를 테스트하고, + 하위 집합의 요소가 상위 집합에 없는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합일 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되는 컬렉션: + + + + 의 모든 요소가 다음에서 발견되지 않는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is not found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + Thrown if every element in is also found in + . + + + + + 한 컬렉션이 다른 컬렉션의 하위 집합이 아닌지를 테스트하고, + 하위 집합의 요소가 상위 집합에도 있는 경우 + 예외를 throw합니다. + + + 다음의 하위 집합이 아닐 것으로 예상되는 컬렉션: . + + + 다음의 상위 집합일 것으로 예상되지 않는 컬렉션: + + + + 의 모든 요소가 다음에서도 발견되는 경우 예외에 포함할 메시지: . + 테스트 결과에 메시지가 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if every element in is also found in + . + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 동일한 요소가 포함되어 있는지를 테스트하고, + 한 컬렉션이 다른 컬렉션에 없는 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 요소를 + 포함합니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 요소가 컬렉션 중 하나에서는 발견되었지만 다른 곳에서는 발견되지 + 않은 경우 예외에 포함할 메시지. 메시지가 테스트 결과에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 두 컬렉션에 서로 다른 요소가 포함되어 있는지를 테스트하고, + 두 컬렉션이 순서와 상관없이 동일한 요소를 포함하는 경우 예외를 + throw합니다. + + + 비교할 첫 번째 컬렉션. 여기에는 테스트가 실제 컬렉션과 다를 것으로 + 예상하는 요소가 포함됩니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성되는 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 동일한 요소를 포함하는 경우: . 메시지가 + 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션의 모든 요소가 예상 형식의 인스턴스인지를 테스트하고 + 예상 형식이 하나 이상의 요소의 상속 계층 구조에 없는 경우 + 예외를 throw합니다. + + + 테스트가 지정된 형식 중 하나일 것으로 예상하는 요소가 포함된 + 컬렉션. + + + 다음의 각 요소의 예상 형식: . + + + + 의 요소가 다음의 인스턴스가 아닌 경우 예외에 포함할 메시지: + . 메시지가 테스트 결과에 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 같은지를 테스트하고, 두 컬렉션이 같지 않으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 있는 + 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 같은 것으로 + 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 예상하는 컬렉션입니다. + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같지 않은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is not equal to + . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + Thrown if is equal to . + + + + + 지정된 컬렉션이 다른지를 테스트하고, 두 컬렉션이 같으면 예외를 + throw합니다. 같음이란 동일한 요소를 동일한 순서 및 양으로 가지고 + 있는 것이라고 정의됩니다. 동일한 값에 대한 서로 다른 참조는 + 같은 것으로 간주됩니다. + + + 비교할 첫 번째 컬렉션. 테스트가 다음과 일치하지 않을 것으로 예상하는 + 컬렉션입니다. . + + + 비교할 두 번째 컬렉션. 테스트 중인 코드에 의해 생성된 + 컬렉션입니다. + + + 컬렉션의 요소를 비교할 때 사용할 비교 구현. + + + 다음과 같은 경우 예외에 포함할 메시지: + 이(가) 다음과 같은 경우: . 메시지가 결과 테스트에 + 표시됩니다. + + + 다음의 서식을 지정할 때 사용할 매개 변수의 배열: . + + + Thrown if is equal to . + + + + + 첫 번째 컬렉션이 두 번째 컬렉션의 하위 집합인지를 + 확인합니다. 한 집합에 중복된 요소가 포함된 경우, 하위 집합에 있는 요소의 + 발생 횟수는 상위 집합에 있는 발생 횟수와 같거나 + 작아야 합니다. + + + 테스트가 다음에 포함될 것으로 예상하는 컬렉션: . + + + 테스트가 다음을 포함할 것으로 예상하는 컬렉션: . + + + 다음의 경우 True 이(가) + 의 하위 집합인 경우 참, 나머지 경우는 거짓. + + + + + 지정된 컬렉션에서 각 요소의 발생 횟수를 포함하는 + 사전을 생성합니다. + + + 처리할 컬렉션. + + + 컬렉션에 있는 null 요소의 수. + + + 지정된 컬렉션에 있는 각 요소의 발생 횟수를 포함하는 + 딕셔너리. + + + + + 두 컬렉션 간의 불일치 요소를 찾습니다. 불일치 요소란 + 예상 컬렉션에 나타나는 횟수가 실제 컬렉션에 + 나타나는 횟수와 다른 요소를 말합니다. 컬렉션은 + 같은 수의 요소가 있는 Null이 아닌 다른 참조로 + 간주됩니다. 이 수준에서의 확인 작업은 호출자의 + 책임입니다. 불일치 요소가 없으면 함수는 false를 + 반환하고 출력 매개 변수가 사용되지 않습니다. + + + 비교할 첫 번째 컬렉션. + + + 비교할 두 번째 컬렉션. + + + 다음의 예상 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 다음의 실제 발생 횟수: + 또는 불일치 요소가 없는 경우 + 영(0). + + + 불일치 요소(null일 수 있음) 또는 불일치 요소가 없는 경우 + null. + + + 불일치 요소가 발견되면 참, 발견되지 않으면 거짓. + + + + + object.Equals를 사용하여 개체 비교합니다. + + + + + 프레임워크 예외에 대한 기본 클래스입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + 예외. + + + + 클래스의 새 인스턴스를 초기화합니다. + + 메시지. + + + + 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + + + + + 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + + + + + 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 + 대한 현재 스레드의 CurrentUICulture 속성을 재정의합니다. + + + + + [액세스 문자열의 구문이 잘못되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 컬렉션에 <{2}>은(는) {1}개가 포함되어야 하는데 실제 컬렉션에는 {3}개가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [중복된 항목이 있습니다. <{1}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 대/소문자가 다른 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 크지 않아야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}({2})>. 실제 값: <{3}({4})>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값 <{1}>과(와) 실제 값 <{2}>의 차이가 <{3}>보다 커야 합니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 값: <{1}>을(를) 제외한 모든 값. 실제 값: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [AreSame()에 값 형식을 전달하면 안 됩니다. Object로 변환된 값은 동일한 값으로 간주되지 않습니다. AreEqual()을 사용해 보세요. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}이(가) 실패했습니다. {1}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [async TestMethod with UITestMethodAttribute는 지원되지 않습니다. async를 제거하거나 TestMethodAttribute를 사용하세요.]와 유사한 지역화된 문자열 조회합니다. + + + + + [두 컬렉션이 모두 비어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션 참조가 동일한 컬렉션 개체를 가리킵니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [두 컬렉션에 같은 요소가 포함되어 있습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [(null)]과 유사한 지역화된 문자열을 조회합니다. + + + + + Looks up a localized string similar to (object). + + + + + ['{0}' 문자열이 '{1}' 문자열을 포함하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0}({1})]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [어설션에 Assert.Equals를 사용할 수 없습니다. 대신 Assert.AreEqual 및 오버로드를 사용하세요.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [컬렉션의 요소 수가 일치하지 않습니다. 예상 값: <{1}>. 실제 값: <{2}>.{0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {0}에 있는 요소가 일치하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소는 예상 형식이 아닙니다. 예상 형식: <{2}>. 실제 형식: <{3}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [인덱스 {1}에 있는 요소가 (null)입니다. 예상 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 문자열로 끝나지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 인수 - EqualsTester에는 Null을 사용할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 형식의 개체를 {1} 형식의 개체로 변환할 수 없습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [참조된 내부 개체가 더 이상 유효하지 않습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. {1}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 속성의 형식은 {2}이어야 하는데 실제로는 {1}입니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{0} 예상 형식: <{1}>. 실제 형식: <{2}>.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치하지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [잘못된 형식: <{1}>. 실제 형식: <{2}>. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 문자열이 '{1}' 패턴과 일치합니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [DataRowAttribute가 지정되지 않았습니다. DataTestMethodAttribute에는 하나 이상의 DataRowAttribute가 필요합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 예외가 throw되지 않았습니다. {0}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + ['{0}' 매개 변수가 잘못되었습니다. 이 값은 Null일 수 없습니다. {1}.](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [요소 수가 다릅니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 시그니처를 가진 생성자를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + 다음과 유사한 지역화된 문자열을 조회합니다. + [지정한 멤버({0})를 찾을 수 없습니다. 전용 접근자를 다시 생성해야 할 수 있습니다. + 또는 멤버가 기본 클래스에 정의된 전용 멤버일 수 있습니다. 기본 클래스에 정의된 전용 멤버인 경우에는 이 멤버를 정의하는 형식을 + PrivateObject의 생성자에 전달해야 합니다.] + + + + + + ['{0}' 문자열이 '{1}' 문자열로 시작되지 않습니다. {2}.]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [예상 예외 형식은 System.Exception이거나 System.Exception에서 파생된 형식이어야 합니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [(예외로 인해 {0} 형식의 예외에 대한 메시지를 가져오지 못했습니다.)]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외 {0}을(를) throw하지 않았습니다. {1}](과)와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 예상 예외를 throw하지 않았습니다. 예외는 테스트 메서드에 정의된 {0} 특성에 의해 예상되었습니다.]와 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외를 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [테스트 메서드에서 {0} 예외를 throw했지만 {1} 예외 또는 해당 예외에서 파생된 형식을 예상했습니다. 예외 메시지: {2}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + [{1} 예외를 예상했지만 {2} 예외를 throw했습니다. {0} + 예외 메시지: {3} + 스택 추적: {4}]과(와) 유사한 지역화된 문자열을 조회합니다. + + + + + 단위 테스트 결과 + + + + + 테스트가 실행되었지만 문제가 있습니다. + 예외 또는 실패한 어설션과 관련된 문제일 수 있습니다. + + + + + 테스트가 완료되었지만, 성공인지 실패인지를 알 수 없습니다. + 중단된 테스트에 사용된 것일 수 있습니다. + + + + + 아무 문제 없이 테스트가 실행되었습니다. + + + + + 테스트가 현재 실행 중입니다. + + + + + 테스트를 실행하려고 시도하는 동안 시스템 오류가 발생했습니다. + + + + + 테스트가 시간 초과되었습니다. + + + + + 테스트가 사용자에 의해 중단되었습니다. + + + + + 테스트의 상태를 알 수 없습니다. + + + + + 단위 테스트 프레임워크에 대한 도우미 기능을 제공합니다. + + + + + 재귀적으로 모든 내부 예외에 대한 메시지를 포함하여 예외 메시지를 + 가져옵니다. + + 오류 메시지 정보가 포함된 + 문자열에 대한 메시지 가져오기의 예외 + + + + 클래스와 함께 사용할 수 있는 시간 제한에 대한 열거형입니다. + 열거형의 형식은 일치해야 합니다. + + + + + 무제한입니다. + + + + + 테스트 클래스 특성입니다. + + + + + 이 테스트를 실행할 수 있는 테스트 메서드 특성을 가져옵니다. + + 이 메서드에 정의된 테스트 메서드 특성 인스턴스입니다. + 이 테스트를 실행하는 데 사용됩니다. + Extensions can override this method to customize how all methods in a class are run. + + + + 테스트 메서드 특성입니다. + + + + + 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드입니다. + 테스트 결과를 나타내는 TestResult 개체의 배열입니다. + Extensions can override this method to customize running a TestMethod. + + + + 테스트 초기화 특성입니다. + + + + + 테스트 정리 특성입니다. + + + + + 무시 특성입니다. + + + + + 테스트 속성 특성입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 이름. + + + 값. + + + + + 이름을 가져옵니다. + + + + + 값을 가져옵니다. + + + + + 클래스 초기화 특성입니다. + + + + + 클래스 정리 특성입니다. + + + + + 어셈블리 초기화 특성입니다. + + + + + 어셈블리 정리 특성입니다. + + + + + 테스트 소유자 + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 소유자. + + + + + 소유자를 가져옵니다. + + + + + Priority 특성 - 단위 테스트의 우선 순위를 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 우선 순위. + + + + + 우선 순위를 가져옵니다. + + + + + 테스트의 설명 + + + + + 테스트를 설명하는 클래스의 새 인스턴스를 초기화합니다. + + 설명입니다. + + + + 테스트의 설명을 가져옵니다. + + + + + CSS 프로젝트 구조 URI + + + + + CSS 프로젝트 구조 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 프로젝트 구조 URI입니다. + + + + CSS 프로젝트 구조 URI를 가져옵니다. + + + + + CSS 반복 URI + + + + + CSS 반복 URI에 대한 클래스의 새 인스턴스를 초기화합니다. + + CSS 반복 URI입니다. + + + + CSS 반복 URI를 가져옵니다. + + + + + WorkItem 특성 - 이 테스트와 연결된 작업 항목을 지정하는 데 사용됩니다. + + + + + WorkItem 특성에 대한 클래스의 새 인스턴스를 초기화합니다. + + 작업 항목에 대한 ID입니다. + + + + 연결된 작업 항목에 대한 ID를 가져옵니다. + + + + + Timeout 특성 - 단위 테스트의 시간 제한을 지정하는 데 사용됩니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한. + + + + + 미리 설정된 시간 제한이 있는 클래스의 새 인스턴스를 초기화합니다. + + + 시간 제한 + + + + + 시간 제한을 가져옵니다. + + + + + 어댑터에 반환할 TestResult 개체입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. + + + + + 결과의 표시 이름을 가져오거나 설정합니다. 여러 결과를 반환할 때 유용합니다. + Null인 경우 메서드 이름은 DisplayName으로 사용됩니다. + + + + + 테스트 실행의 결과를 가져오거나 설정합니다. + + + + + 테스트 실패 시 throw할 예외를 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에서 로그한 메시지의 출력을 가져오거나 설정합니다. + + + + + 테스트 코드에 의한 디버그 추적을 가져오거나 설정합니다. + + + + + Gets or sets the debug traces by test code. + + + + + 테스트 실행의 지속 시간을 가져오거나 설정합니다. + + + + + 데이터 소스에서 데이터 행 인덱스를 가져오거나 설정합니다. 데이터 기반 테스트에서 + 개별 데이터 행 실행의 결과에 대해서만 설정합니다. + + + + + 테스트 메서드의 반환 값을 가져오거나 설정합니다(현재 항상 Null). + + + + + 테스트로 첨부한 결과 파일을 가져오거나 설정합니다. + + + + + 데이터 기반 테스트에 대한 연결 문자열, 테이블 이름 및 행 액세스 방법을 지정합니다. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource의 기본 공급자 이름입니다. + + + + + 기본 데이터 액세스 방법입니다. + + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 데이터 소스에 액세스할 데이터 공급자, 연결 문자열, 데이터 테이블 및 데이터 액세스 방법으로 초기화됩니다. + + 고정 데이터 공급자 이름(예: System.Data.SqlClient) + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + 데이터에 액세스할 순서를 지정합니다. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 연결 문자열 및 테이블 이름으로 초기화됩니다. + OLEDB 데이터 소스에 액세스하기 위한 연결 문자열 및 데이터 테이블을 지정하세요. + + + 데이터 공급자별 연결 문자열. + 경고: 연결 문자열에는 중요한 데이터(예: 암호)가 포함될 수 있습니다. + 연결 문자열은 소스 코드와 컴파일된 어셈블리에 일반 텍스트로 저장됩니다. + 이 중요한 정보를 보호하려면 소스 코드 및 어셈블리에 대한 액세스를 제한하세요. + + 데이터 테이블의 이름. + + + + 클래스의 새 인스턴스를 초기화합니다. 이 인스턴스는 설정 이름과 연결된 연결 문자열 및 데이터 공급자로 초기화됩니다. + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에 있는 데이터 소스의 이름. + + + + 데이터 소스의 데이터 공급자를 나타내는 값을 가져옵니다. + + + 데이터 공급자 이름. 데이터 공급자를 개체 초기화에서 지정하지 않은 경우 System.Data.OleDb의 기본 공급자가 반환됩니다. + + + + + 데이터 소스의 연결 문자열을 나타내는 값을 가져옵니다. + + + + + 데이터를 제공하는 테이블 이름을 나타내는 값을 가져옵니다. + + + + + 데이터 소스에 액세스하는 데 사용되는 메서드를 가져옵니다. + + + + 값 중 하나입니다. 이(가) 초기화되지 않은 경우 다음 기본값이 반환됩니다. . + + + + + app.config 파일의 <microsoft.visualstudio.qualitytools> 섹션에서 찾은 데이터 소스의 이름을 가져옵니다. + + + + + 데이터를 인라인으로 지정할 수 있는 데이터 기반 테스트의 특성입니다. + + + + + 모든 데이터 행을 찾고 실행합니다. + + + 테스트 메서드. + + + 배열 . + + + + + 데이터 기반 테스트 메서드를 실행합니다. + + 실행할 테스트 메서드. + 데이터 행. + 실행 결과. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..4b958bf7d --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Służy do określenia elementu wdrożenia (pliku lub katalogu) dla wdrożenia testowego. + Może być określony w klasie testowej lub metodzie testowej. + Może mieć wiele wystąpień atrybutu w celu określenia więcej niż jednego elementu. + Ścieżka elementu może być bezwzględna lub względna. Jeśli jest względna, jest określana względem elementu RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Inicjuje nowe wystąpienie klasy . + + Plik lub katalog do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + + + + Inicjuje nowe wystąpienie klasy + + Względna lub bezwzględna ścieżka do pliku lub katalogu do wdrożenia. Ścieżka jest określana względem katalogu wyjściowego kompilacji. Element zostanie skopiowany do tego samego katalogu co wdrożone zestawy testowe. + Ścieżka katalogu, do którego mają być kopiowane elementy. Może być bezwzględna lub określana względem katalogu wdrażania. Wszystkie pliki i katalogi określone przez zostaną skopiowane do tego katalogu. + + + + Pobiera ścieżkę źródłowego pliku lub folderu do skopiowania. + + + + + Pobiera ścieżkę katalogu, do którego element jest kopiowany. + + + + + Wykonaj kod testowy w wątku interfejsu użytkownika dla aplikacji ze Sklepu Windows. + + + + + Wykonuje metodę testową w wątku interfejsu użytkownika. + + + Metoda testowa. + + + Tablica elementów wystąpienia. + + Throws when run on an async test method. + + + + + Klasa TestContext. Ta klasa powinna być w pełni abstrakcyjna i nie może zawierać żadnych + elementów członkowskich. Adapter zaimplementuje elementy członkowskie. Użytkownicy platformy powinni + uzyskiwać dostęp do tego elementu tylko za pośrednictwem prawidłowo zdefiniowanego interfejsu. + + + + + Pobiera właściwości testu. + + + + + Pobiera w pełni kwalifikowaną nazwę klasy zawierającej aktualnie wykonywaną metodę testową + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Pobiera nazwę aktualnie wykonywanej metody testowej + + + + + Pobiera wynik bieżącego testu. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..559338436 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Metoda TestMethod do wykonania. + + + + + Pobiera nazwę metody testowej. + + + + + Pobiera nazwę klasy testowej. + + + + + Pobiera zwracany typ metody testowej. + + + + + Pobiera parametry metody testowej. + + + + + Pobiera element methodInfo dla metody testowej. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Wywołuje metodę testową. + + + Argumenty przekazywane do metody testowej (np. w przypadku opartej na danych) + + + Wynik wywołania metody testowej. + + + This call handles asynchronous test methods as well. + + + + + Pobierz wszystkie atrybuty metody testowej. + + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Wszystkie atrybuty. + + + + + Pobierz atrybut określonego typu. + + System.Attribute type. + + Informacja o tym, czy atrybut zdefiniowany w klasie nadrzędnej jest prawidłowy. + + + Atrybuty określonego typu. + + + + + Element pomocniczy. + + + + + Sprawdzany parametr nie ma wartości null. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws argument null exception when parameter is null. + + + + Sprawdzany parametr nie ma wartości null i nie jest pusty. + + + Parametr. + + + Nazwa parametru. + + + Komunikat. + + Throws ArgumentException when parameter is null. + + + + Wyliczenie dotyczące sposobu dostępu do wierszy danych w teście opartym na danych. + + + + + Wiersze są zwracane po kolei. + + + + + Wiersze są zwracane w kolejności losowej. + + + + + Atrybut do definiowania danych wbudowanych dla metody testowej. + + + + + Inicjuje nowe wystąpienie klasy . + + Obiekt danych. + + + + Inicjuje nowe wystąpienie klasy , które pobiera tablicę argumentów. + + Obiekt danych. + Więcej danych. + + + + Pobiera dane do wywoływania metody testowej. + + + + + Pobiera lub ustawia nazwę wyświetlaną w wynikach testu do dostosowania. + + + + + Wyjątek niejednoznacznej asercji. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Klasa InternalTestFailureException. Używana do określenia wewnętrznego błędu przypadku testowego + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat wyjątku. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Atrybut określający, że jest oczekiwany wyjątek określonego typu + + + + + Inicjuje nowe wystąpienie klasy z oczekiwanym typem + + Typ oczekiwanego wyjątku + + + + Inicjuje nowe wystąpienie klasy z + oczekiwanym typem i komunikatem do uwzględnienia, gdy test nie zgłasza żadnego wyjątku. + + Typ oczekiwanego wyjątku + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ nie zostanie zgłoszony wyjątek + + + + + Pobiera wartość wskazującą typ oczekiwanego wyjątku + + + + + Pobiera lub ustawia wartość wskazującą, czy typy pochodne typu oczekiwanego wyjątku + są traktowane jako oczekiwane + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Weryfikuje, czy typ wyjątku zgłoszonego przez test jednostkowy jest oczekiwany + + Wyjątek zgłoszony przez test jednostkowy + + + + Klasa podstawowa dla atrybutów, które określają, że jest oczekiwany wyjątek z testu jednostkowego + + + + + Inicjuje nowe wystąpienie klasy z domyślnym komunikatem o braku wyjątku + + + + + Inicjuje nowe wystąpienie klasy z komunikatem o braku wyjątku + + + Komunikat do dołączenia do wyniku testu, jeśli test nie powiedzie się, ponieważ + nie zostanie zgłoszony wyjątek + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera komunikat do uwzględnienia w wyniku testu, jeśli test nie powiedzie się z powodu niezgłoszenia wyjątku + + + + + Pobiera domyślny komunikat bez wyjątku + + Nazwa typu atrybutu ExpectedException + Domyślny komunikat bez wyjątku + + + + Określa, czy wyjątek jest oczekiwany. Jeśli wykonanie metody zakończy się normalnie, oznacza to, + że wyjątek był oczekiwany. Jeśli metoda zgłosi wyjątek, oznacza to, + że wyjątek nie był oczekiwany, a komunikat zgłoszonego wyjątku + jest dołączony do wyniku testu. Klasy można użyć dla + wygody. Jeśli zostanie użyta klasa i asercja nie powiedzie się, + wynik testu zostanie ustawiony jako Niejednoznaczny. + + Wyjątek zgłoszony przez test jednostkowy + + + + Zgłoś ponownie wyjątek, jeśli jest to wyjątek AssertFailedException lub AssertInconclusiveException + + Wyjątek do ponownego zgłoszenia, jeśli jest to wyjątek asercji + + + + Ta klasa jest zaprojektowana w taki sposób, aby pomóc użytkownikowi wykonującemu testy jednostkowe dla typów używających typów ogólnych. + Element GenericParameterHelper zachowuje niektóre typowe ograniczenia typów ogólnych, + takie jak: + 1. publiczny konstruktor domyślny + 2. implementuje wspólny interfejs: IComparable, IEnumerable + + + + + Inicjuje nowe wystąpienie klasy , które + spełnia ograniczenie „newable” w typach ogólnych języka C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicjuje nowe wystąpienie klasy , które + inicjuje właściwość Data wartością dostarczoną przez użytkownika. + + Dowolna liczba całkowita + + + + Pobiera lub ustawia element Data + + + + + Wykonuje porównanie wartości dwóch obiektów GenericParameterHelper + + obiekt, z którym ma zostać wykonane porównanie + Wartość true, jeśli obiekt ma tę samą wartość co obiekt „this” typu GenericParameterHelper. + W przeciwnym razie wartość false. + + + + Zwraca wartość skrótu tego obiektu. + + Kod skrótu. + + + + Porównuje dane dwóch obiektów . + + Obiekt do porównania. + + Liczba ze znakiem, która wskazuje wartości względne tego wystąpienia i wartości. + + + Thrown when the object passed in is not an instance of . + + + + + Zwraca obiekt IEnumerator, którego długość jest określona na podstawie + właściwości Data. + + Obiekt IEnumerator + + + + Zwraca obiekt GenericParameterHelper równy + bieżącemu obiektowi. + + Sklonowany obiekt. + + + + Umożliwia użytkownikom rejestrowanie/zapisywanie śladów z testów jednostek w celach diagnostycznych. + + + + + Procedura obsługi elementu LogMessage. + + Komunikat do zarejestrowania. + + + + Zdarzenie, które ma być nasłuchiwane. Zgłaszane, gdy składnik zapisywania testu jednostkowego zapisze jakiś komunikat. + Zwykle zużywane przez adapter. + + + + + Interfejs API składnika zapisywania testu do wywołania na potrzeby rejestrowania komunikatów. + + Format ciągu z symbolami zastępczymi. + Parametry dla symboli zastępczych. + + + + Atrybut TestCategory używany do określenia kategorii testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy i stosuje kategorię do testu. + + + Kategoria testu. + + + + + Pobiera kategorie testu, które zostały zastosowane do testu. + + + + + Klasa podstawowa atrybutu „Category” + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicjuje nowe wystąpienie klasy . + Stosuje kategorię do testu. Ciągi zwrócone przez element TestCategories + są używane w poleceniu /category do filtrowania testów + + + + + Pobiera kategorię testu, która została zastosowana do testu. + + + + + Klasa AssertFailedException. Używana do wskazania niepowodzenia przypadku testowego + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Inicjuje nowe wystąpienie klasy . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków w ramach + testów jednostkowych. Jeśli testowany warunek nie zostanie spełniony, zostanie zgłoszony + wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość true, i zgłasza wyjątek, + jeśli warunek ma wartość false. + + + Warunek, którego wartość oczekiwana przez test to true. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość false. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is false. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is true. + + + + + Testuje, czy określony warunek ma wartość false, i zgłasza wyjątek, + jeśli warunek ma wartość true. + + + Warunek, którego wartość oczekiwana przez test to false. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość true. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is true. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość null, i zgłasza wyjątek, + jeśli ma inną wartość. + + + Obiekt, którego wartość oczekiwana przez test to null. + + + Komunikat do dołączenia do wyjątku, gdy element + nie ma wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is null. + + + + + Testuje, czy określony obiekt ma wartość inną niż null, i zgłasza wyjątek, + jeśli ma wartość null. + + + Obiekt, którego wartość oczekiwana przez test jest inna niż null. + + + Komunikat do dołączenia do wyjątku, gdy element + ma wartość null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null. + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy oba określone obiekty przywołują ten sam obiekt, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe nie przywołują tego samego obiektu. + + + Pierwszy obiekt do porównania. To jest wartość, której oczekuje test. + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest tym samym elementem co . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not refer to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone obiekty przywołują inne obiekty, + i zgłasza wyjątek, jeśli dwa obiekty wejściowe przywołują ten sam obiekt. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest taki sam jak element . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if refers to the same object + as . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są równe, i zgłasza wyjątek, + jeśli dwie wartości są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, której oczekuje test. + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości są różne, i zgłasza wyjątek, + jeśli dwie wartości są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + The type of values to compare. + + + Pierwsza wartość do porównania. To jest wartość, która według testu + nie powinna pasować . + + + Druga wartość do porównania. To jest wartość utworzona przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są równe, i zgłasza wyjątek, + jeśli dwa obiekty są różne. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest obiekt, którego oczekuje test. + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone obiekty są różne, i zgłasza wyjątek, + jeśli dwa obiekty są równe. Różne typy liczbowe są traktowane + jako różne, nawet jeśli wartości logiczne są równe. Wartość 42L jest różna od wartości 42. + + + Pierwszy obiekt do porównania. To jest wartość, która zgodnie z testem powinna + nie pasować do elementu . + + + Drugi obiekt do porównania. To jest obiekt utworzony przez testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa, której oczekuje test. + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości zmiennoprzecinkowe są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość zmiennoprzecinkowa do porównania. Test oczekuje, że ta wartość zmiennoprzecinkowa nie będzie + zgodna z elementem . + + + Druga wartość zmiennoprzecinkowa do porównania. To jest wartość zmiennoprzecinkowa utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwsza wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji, której oczekuje test. + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o więcej niż . + + + Komunikat do dołączenia do wyjątku, gdy element + jest różny od elementu o więcej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone wartości podwójnej precyzji są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwsza wartość podwójnej precyzji do porównania. Test oczekuje, że ta wartość podwójnej precyzji + nie będzie pasować do elementu . + + + Druga wartość podwójnej precyzji do porównania. To jest wartość podwójnej precyzji utworzona przez testowany kod. + + + Wymagana dokładność. Wyjątek zostanie zgłoszony, tylko jeśli + jest różny od elementu + o co najwyżej . + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi lub różny o mniej niż + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są równe, i zgłasza wyjątek, + jeśli są różne. + + + Pierwszy ciąg do porównania. To jest ciąg, którego oczekuje test. + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. Na potrzeby tego porównania jest używana niezmienna kultura. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone ciągi są różne, i zgłasza wyjątek, + jeśli są równe. + + + Pierwszy ciąg do porównania. To jest ciąg, który według testu + nie powinien pasować do elementu . + + + Drugi ciąg do porównania. To jest ciąg utworzony przez testowany kod. + + + Wartość logiczna wskazująca, czy porównanie uwzględnia wielkość liter. (Wartość true + wskazuje porównanie bez uwzględniania wielkości liter). + + + Obiekt CultureInfo, który określa informacje dotyczące porównania specyficznego dla kultury. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt jest wystąpieniem oczekiwanego + typu, i zgłasza wyjątek, jeśli oczekiwany typ nie należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu powinien być określonego typu. + + + Oczekiwany typ elementu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest wystąpieniem typu . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testuje, czy określony obiekt nie jest wystąpieniem nieprawidłowego + typu, i zgłasza wyjątek, jeśli podany typ należy + do hierarchii dziedziczenia obiektu. + + + Obiekt, który według testu nie powinien być określonego typu. + + + Element nie powinien być tego typu. + + + Komunikat do dołączenia do wyjątku, gdy element + jest wystąpieniem typu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Zgłasza wyjątek AssertFailedException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertFailedException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Always thrown. + + + + + Zgłasza wyjątek AssertInconclusiveException. + + + Komunikat do dołączenia do wyjątku. Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Always thrown. + + + + + Statyczne przeciążenia metody equals są używane do porównywania wystąpień dwóch typów pod kątem + równości odwołań. Ta metoda nie powinna być używana do porównywania dwóch wystąpień pod kątem + równości. Ten obiekt zawsze będzie zgłaszał wyjątek za pomocą metody Assert.Fail. Użyj metody + Assert.AreEqual i skojarzonych przeciążeń w testach jednostkowych. + + Obiekt A + Obiekt B + Zawsze wartość false. + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Typ wyjątku, którego zgłoszenie jest oczekiwane. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek + + AssertFailedException + , + jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Testuje, czy kod określony przez delegata zgłasza wyjątek dokładnie typu (a nie jego typu pochodnego) + i zgłasza wyjątek AssertFailedException, jeśli kod nie zgłasza wyjątku lub zgłasza wyjątek typu innego niż . + + Delegat dla kodu do przetestowania, który powinien zgłosić wyjątek. + + Komunikat do dołączenia do wyjątku, gdy element + nie zgłasza wyjątku typu . + + + Tablica parametrów do użycia podczas formatowania elementu . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Element wykonywanie delegata. + + + + + Zastępuje znaki null („\0”) ciągiem „\\0”. + + + Ciąg do wyszukania. + + + Przekonwertowany ciąg ze znakami null zastąpionymi ciągiem „\\0”. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Funkcja pomocnicza, która tworzy i zgłasza wyjątek AssertionFailedException + + + nazwa asercji zgłaszającej wyjątek + + + komunikat opisujący warunki dla błędu asercji + + + Parametry. + + + + + Sprawdza parametry pod kątem prawidłowych warunków + + + Parametr. + + + Nazwa asercji. + + + nazwa parametru + + + komunikat dla wyjątku nieprawidłowego parametru + + + Parametry. + + + + + Bezpiecznie konwertuje obiekt na ciąg, obsługując wartości null i znaki null. + Wartości null są konwertowane na ciąg „(null)”. Znaki null są konwertowane na ciąg „\\0”. + + + Obiekt do przekonwertowania na ciąg. + + + Przekonwertowany ciąg. + + + + + Asercja ciągu. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg zawiera podany podciąg, + i zgłasza wyjątek, jeśli podciąg nie występuje + w testowanym ciągu. + + + Ciąg, który powinien zawierać ciąg . + + + Ciąg, którego wystąpienie jest oczekiwane w ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg rozpoczyna się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie rozpoczyna się + podciągiem. + + + Ciąg, którego oczekiwany początek to . + + + Ciąg, który powinien być prefiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie zaczyna się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not begin with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg kończy się podanym podciągiem, + i zgłasza wyjątek, jeśli testowany ciąg nie kończy się + podciągiem. + + + Ciąg, którego oczekiwane zakończenie to . + + + Ciąg, który powinien być sufiksem ciągu . + + + Komunikat do dołączenia do wyjątku, gdy element + nie kończy się ciągiem . Komunikat + jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not end with + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg nie pasuje do wyrażenia. + + + Ciąg, który powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg ma + pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + nie pasuje do wzorca . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if does not match + . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if matches . + + + + + Testuje, czy określony ciąg nie pasuje do wyrażenia regularnego, + i zgłasza wyjątek, jeśli ciąg pasuje do wyrażenia. + + + Ciąg, który nie powinien pasować do wzorca . + + + Wyrażenie regularne, do którego ciąg nie + powinien pasować. + + + Komunikat do dołączenia do wyjątku, gdy element + dopasowania . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if matches . + + + + + Kolekcja klas pomocniczych na potrzeby testowania różnych warunków skojarzonych + z kolekcjami w ramach testów jednostkowych. Jeśli testowany warunek + nie jest spełniony, zostanie zgłoszony wyjątek. + + + + + Pobiera pojedyncze wystąpienie funkcji CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja zawiera podany element, + i zgłasza wyjątek, jeśli element nie znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie znajduje się w ciągu . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Thrown if is found in + . + + + + + Testuje, czy określona kolekcja nie zawiera podanego elementu, + i zgłasza wyjątek, jeśli element znajduje się w kolekcji. + + + Kolekcja, w której ma znajdować się wyszukiwany element. + + + Element, który nie powinien należeć do kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + znajduje się w kolekcji . Komunikat jest wyświetlony w wynikach + testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji mają wartości inne niż null, i zgłasza + wyjątek, jeśli którykolwiek element ma wartość null. + + + Kolekcja, w której mają być wyszukiwane elementy o wartości null. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera element o wartości null. Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a null element is found in . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy wszystkie elementy w określonej kolekcji są unikatowe, + i zgłasza wyjątek, jeśli dowolne dwa elementy w kolekcji są równe. + + + Kolekcja, w której mają być wyszukiwane zduplikowane elementy. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera co najmniej jeden zduplikowany element. Komunikat jest wyświetlony w + wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if a two or more equal elements are found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if an element in is not found in + . + + + + + Testuje, czy dana kolekcja stanowi podzbiór innej kolekcji, + i zgłasza wyjątek, jeśli dowolny element podzbioru znajduje się także + w nadzbiorze. + + + Kolekcja powinna być podzbiorem . + + + Kolekcja powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie można odnaleźć w . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is not found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Thrown if every element in is also found in + . + + + + + Testuje, czy jedna kolekcja nie jest podzbiorem innej kolekcji, + i zgłasza wyjątek, jeśli wszystkie elementy w podzbiorze znajdują się również + w nadzbiorze. + + + Kolekcja nie powinna być podzbiorem . + + + Kolekcja nie powinna być nadzbiorem + + + Komunikat do uwzględnienia w wyjątku, gdy każdy element w kolekcji + znajduje się również w kolekcji . + Komunikat jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if every element in is also found in + . + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają te same elementy, i zgłasza + wyjątek, jeśli któraś z kolekcji zawiera element niezawarty w drugiej + kolekcji. + + + Pierwsza kolekcja do porównania. Zawiera elementy oczekiwane przez + test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do uwzględnienia w wyjątku, gdy element został odnaleziony + w jednej z kolekcji, ale nie ma go w drugiej. Komunikat jest wyświetlany + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testuje, czy dwie kolekcje zawierają różne elementy, i zgłasza + wyjątek, jeśli dwie kolekcje zawierają identyczne elementy bez względu + na porządek. + + + Pierwsza kolekcja do porównania. Zawiera elementy, co do których test oczekuje, + że będą inne niż rzeczywista kolekcja. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + zawiera te same elementy co . Komunikat + jest wyświetlany w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Sprawdza, czy wszystkie elementy w określonej kolekcji są wystąpieniami + oczekiwanego typu i zgłasza wyjątek, jeśli oczekiwanego typu nie ma + w hierarchii dziedziczenia jednego lub większej liczby elementów. + + + Kolekcja zawierająca elementy, co do których test oczekuje, że będą + elementami określonego typu. + + + Oczekiwany typ każdego elementu kolekcji . + + + Komunikat do uwzględnienia w wyjątku, gdy elementu w + nie jest wystąpieniem + . Komunikat jest wyświetlony w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są równe, i zgłasza wyjątek, + jeśli dwie kolekcje nie są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja oczekiwana przez test. + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + nie jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is not equal to + . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Thrown if is equal to . + + + + + Testuje, czy określone kolekcje są nierówne, i zgłasza wyjątek, + jeśli dwie kolekcje są równe. Równość jest definiowana jako zawieranie tych samych + elementów w takim samym porządku i ilości. Różne odwołania do tej samej + wartości są uznawane za równe. + + + Pierwsza kolekcja do porównania. To jest kolekcja, co do której test oczekuje +, że nie będzie zgodna . + + + Druga kolekcja do porównania. To jest kolekcja utworzona przez + testowany kod. + + + Implementacja porównania do użycia podczas porównywania elementów kolekcji. + + + Komunikat do dołączenia do wyjątku, gdy element + jest równy elementowi . Komunikat jest wyświetlony + w wynikach testu. + + + Tablica parametrów do użycia podczas formatowania elementu . + + + Thrown if is equal to . + + + + + Określa, czy pierwsza kolekcja jest podzbiorem drugiej kolekcji. + Jeśli któryś zbiór zawiera zduplikowane elementy, liczba wystąpień + elementu w podzbiorze musi być mniejsza lub równa liczbie + wystąpień w nadzbiorze. + + + Kolekcja, co do której test oczekuje, że powinna być zawarta w . + + + Kolekcja, co do której test oczekuje, że powinna zawierać . + + + Wartość true, jeśli jest podzbiorem kolekcji + , w przeciwnym razie wartość false. + + + + + Tworzy słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + Kolekcja do przetworzenia. + + + Liczba elementów o wartości null w kolekcji. + + + Słownik zawierający liczbę wystąpień każdego elementu + w określonej kolekcji. + + + + + Znajduje niezgodny element w dwóch kolekcjach. Niezgodny + element to ten, którego liczba wystąpień w oczekiwanej kolekcji + jest inna niż w rzeczywistej kolekcji. Kolekcje + są uznawane za różne odwołania o wartości innej niż null z tą samą + liczbą elementów. Obiekt wywołujący jest odpowiedzialny za ten poziom weryfikacji. + Jeśli nie ma żadnego niezgodnego elementu, funkcja zwraca wynik + false i parametry wyjściowe nie powinny być używane. + + + Pierwsza kolekcja do porównania. + + + Druga kolekcja do porównania. + + + Oczekiwana liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Rzeczywista liczba wystąpień elementu + lub 0, jeśli nie ma żadnego niezgodnego + elementu. + + + Niezgodny element (może mieć wartość null) lub wartość null, jeśli + nie ma żadnego niezgodnego elementu. + + + wartość true, jeśli znaleziono niezgodny element; w przeciwnym razie wartość false. + + + + + porównuje obiekty przy użyciu funkcji object.Equals + + + + + Klasa podstawowa dla wyjątków struktury. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + Wyjątek. + + + + Inicjuje nowe wystąpienie klasy . + + Komunikat. + + + + Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itp. + + + + + Zwraca buforowane wystąpienie ResourceManager używane przez tę klasę. + + + + + Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich + przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg dostępu ma nieprawidłową składnię. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana kolekcja zawiera następującą liczbę wystąpień elementu <{2}>: {1}. Rzeczywista kolekcja zawiera następującą liczbę wystąpień: {3}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Znaleziono zduplikowany element: <{1}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano: <{1}>. Przypadek jest inny w wartości rzeczywistej: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy nie większej niż <{3}> między oczekiwaną wartością <{1}> i wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1} ({2})>. Rzeczywista wartość: <{3} ({4})>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwana wartość: <{1}>. Rzeczywista wartość: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano różnicy większej niż <{3}> między oczekiwaną wartością <{1}> a wartością rzeczywistą <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwano dowolnej wartości z wyjątkiem: <{1}>. Wartość rzeczywista: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie przekazuj typów wartości do metody AreSame(). Wartości przekonwertowane na typ Object nigdy nie będą takie same. Rozważ użycie metody AreEqual(). {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} — niepowodzenie. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do asynchronicznej metody TestMethod z elementem UITestMethodAttribute, które nie są obsługiwane. Usuń element asynchroniczny lub użyj elementu TestMethodAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje są puste. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Odwołania do obu kolekcji wskazują ten sam obiekt kolekcji. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Obie kolekcje zawierają te same elementy. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0}({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (null). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (object). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie zawiera ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} ({1}). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można użyć metody Assert.Equals dla asercji. Zamiast tego użyj metody Assert.AreEqual i przeciążeń. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Liczba elementów w kolekcjach nie jest zgodna. Oczekiwana wartość: <{1}>. Wartość rzeczywista: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {0} nie jest zgodny. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} nie ma oczekiwanego typu. Oczekiwany typ: <{2}>. Rzeczywisty typ: <{3}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Element w indeksie {1} ma wartość (null). Oczekiwany typ: <{2}>.{0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie kończy się ciągiem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nieprawidłowy argument. Element EqualsTester nie może używać wartości null. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie można przekonwertować obiektu typu {0} na typ {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Przywoływany obiekt wewnętrzny nie jest już prawidłowy. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Właściwość {0} ma typ {1}. Oczekiwano typu {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: {0} Oczekiwany typ: <{1}>. Rzeczywisty typ: <{2}>. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Niepoprawny typ: <{1}>. Rzeczywisty typ: <{2}>. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” jest zgodny ze wzorcem „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie określono atrybutu DataRowAttribute. Atrybut DataTestMethodAttribute wymaga co najmniej jednego atrybutu DataRowAttribute. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Nie zgłoszono wyjątku. Oczekiwany wyjątek: {1}. {0}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Parametr „{0}” jest nieprawidłowy. Wartość nie może być równa null. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Inna liczba elementów. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć konstruktora z określoną sygnaturą. Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: + Nie można odnaleźć określonego elementu członkowskiego ({0}). Może być konieczne ponowne wygenerowanie prywatnej metody dostępu + lub element członkowski może być zdefiniowany jako prywatny w klasie podstawowej. W drugim przypadku należy przekazać typ, + który definiuje element członkowski w konstruktorze obiektu PrivateObject. + . + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Ciąg „{0}” nie rozpoczyna się od ciągu „{1}”. {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Oczekiwanym typem wyjątku musi być typ System.Exception lub typ pochodzący od typu System.Exception. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: (Nie można pobrać komunikatu dotyczącego wyjątku typu {0} z powodu wyjątku). + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła oczekiwanego wyjątku {0}. {1}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa nie zgłosiła wyjątku. Wyjątek był oczekiwany przez atrybut {0} zdefiniowany w metodzie testowej. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1}. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Metoda testowa zgłosiła wyjątek {0}, ale oczekiwano wyjątku {1} lub typu, który od niego pochodzi. Komunikat o wyjątku: {2}. + + + + + Wyszukuje zlokalizowany ciąg podobny do następującego: Zgłoszono wyjątek {2}, ale oczekiwano wyjątku {1}. {0} + Komunikat o wyjątku: {3} + Ślad stosu: {4}. + + + + + wyniki testu jednostkowego + + + + + Test został wykonany, ale wystąpiły problemy. + Problemy mogą obejmować wyjątki lub asercje zakończone niepowodzeniem. + + + + + Test został ukończony, ale nie można stwierdzić, czy zakończył się powodzeniem, czy niepowodzeniem. + Może być używany dla przerwanych testów. + + + + + Test został wykonany bez żadnych problemów. + + + + + Test jest obecnie wykonywany. + + + + + Wystąpił błąd systemu podczas próby wykonania testu. + + + + + Upłynął limit czasu testu. + + + + + Test został przerwany przez użytkownika. + + + + + Stan testu jest nieznany + + + + + Udostępnia funkcjonalność pomocnika dla platformy testów jednostkowych + + + + + Pobiera komunikaty wyjątku, w tym rekursywnie komunikaty wszystkich wewnętrznych + wyjątków + + Wyjątek, dla którego mają zostać pobrane komunikaty + ciąg z informacjami o komunikacie o błędzie + + + + Wyliczenie dla limitów czasu, które może być używane z klasą . + Typ wyliczenia musi być zgodny + + + + + Nieskończone. + + + + + Atrybut klasy testowej. + + + + + Pobiera atrybut metody testowej, który umożliwia uruchomienie tego testu. + + Wystąpienie atrybutu metody testowej zdefiniowane w tej metodzie. + do użycia do uruchamiania tego testu. + Extensions can override this method to customize how all methods in a class are run. + + + + Atrybut metody testowej. + + + + + Wykonuje metodę testową. + + Metoda testowa do wykonania. + Tablica obiektów TestResult reprezentujących wyniki testu. + Extensions can override this method to customize running a TestMethod. + + + + Atrybut inicjowania testu. + + + + + Atrybut oczyszczania testu. + + + + + Atrybut ignorowania. + + + + + Atrybut właściwości testu. + + + + + Inicjuje nowe wystąpienie klasy . + + + Nazwa. + + + Wartość. + + + + + Pobiera nazwę. + + + + + Pobiera wartość. + + + + + Atrybut inicjowania klasy. + + + + + Atrybut oczyszczania klasy. + + + + + Atrybut inicjowania zestawu. + + + + + Atrybut oczyszczania zestawu. + + + + + Właściciel testu + + + + + Inicjuje nowe wystąpienie klasy . + + + Właściciel. + + + + + Pobiera właściciela. + + + + + Atrybut priorytetu służący do określania priorytetu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Priorytet. + + + + + Pobiera priorytet. + + + + + Opis testu + + + + + Inicjuje nowe wystąpienie klasy do opisu testu. + + Opis. + + + + Pobiera opis testu. + + + + + Identyfikator URI struktury projektu CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI struktury projektu CSS. + + Identyfikator URI struktury projektu CSS. + + + + Pobiera identyfikator URI struktury projektu CSS. + + + + + Identyfikator URI iteracji CSS + + + + + Inicjuje nowe wystąpienie klasy dla identyfikatora URI iteracji CSS. + + Identyfikator URI iteracji CSS. + + + + Pobiera identyfikator URI iteracji CSS. + + + + + Atrybut elementu roboczego służący do określania elementu roboczego skojarzonego z tym testem. + + + + + Inicjuje nowe wystąpienie klasy dla atrybutu WorkItem. + + Identyfikator dla elementu roboczego. + + + + Pobiera identyfikator dla skojarzonego elementu roboczego. + + + + + Atrybut limitu czasu służący do określania limitu czasu testu jednostkowego. + + + + + Inicjuje nowe wystąpienie klasy . + + + Limit czasu. + + + + + Inicjuje nowe wystąpienie klasy ze wstępnie ustawionym limitem czasu + + + Limit czasu + + + + + Pobiera limit czasu. + + + + + Obiekt TestResult zwracany do adaptera. + + + + + Inicjuje nowe wystąpienie klasy . + + + + + Pobiera lub ustawia nazwę wyświetlaną wyniku. Przydatny w przypadku zwracania wielu wyników. + Jeśli ma wartość null, nazwa metody jest używana jako nazwa wyświetlana. + + + + + Pobiera lub ustawia wynik wykonania testu. + + + + + Pobiera lub ustawia wyjątek zgłoszony, gdy test kończy się niepowodzeniem. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia dane wyjściowe komunikatu rejestrowanego przez kod testu. + + + + + Pobiera lub ustawia ślady debugowania przez kod testu. + + + + + Gets or sets the debug traces by test code. + + + + + Pobiera lub ustawia czas trwania wykonania testu. + + + + + Pobiera lub ustawia indeks wiersza danych w źródle danych. Ustawia tylko dla wyników oddzielnych + uruchomień wiersza danych w teście opartym na danych. + + + + + Pobiera lub ustawia wartość zwracaną metody testowej. (Obecnie zawsze wartość null). + + + + + Pobiera lub ustawia pliki wyników dołączone przez test. + + + + + Określa parametry połączenia, nazwę tabeli i metodę dostępu do wiersza w przypadku testowania opartego na danych. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Nazwa domyślnego dostawcy dla źródła danych. + + + + + Domyślna metoda uzyskiwania dostępu do danych. + + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych, parametrami połączenia, tabelą danych i metodą dostępu do danych w celu uzyskania dostępu do źródła danych. + + Niezmienna nazwa dostawcy danych, taka jak System.Data.SqlClient + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + Określa kolejność dostępu do danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z parametrami połączenia i nazwą tabeli. + Określ parametry połączenia i tabelę danych w celu uzyskania dostępu do źródła danych OLEDB. + + + Parametry połączenia specyficzne dla dostawcy danych. + OSTRZEŻENIE: parametry połączenia mogą zawierać poufne dane (na przykład hasło). + Parametry połączenia są przechowywane w postaci zwykłego tekstu w kodzie źródłowym i w skompilowanym zestawie. + Należy ograniczyć dostęp do kodu źródłowego i zestawu, aby chronić te poufne informacje. + + Nazwa tabeli danych. + + + + Inicjuje nowe wystąpienie klasy . To wystąpienie zostanie zainicjowane z dostawcą danych i parametrami połączenia skojarzonymi z nazwą ustawienia. + + Nazwa źródła danych znaleziona w sekcji <microsoft.visualstudio.qualitytools> pliku app.config. + + + + Pobiera wartość reprezentującą dostawcę danych źródła danych. + + + Nazwa dostawcy danych. Jeśli dostawca danych nie został wyznaczony w czasie inicjowania obiektu, zostanie zwrócony domyślny dostawca obiektu System.Data.OleDb. + + + + + Pobiera wartość reprezentującą parametry połączenia dla źródła danych. + + + + + Pobiera wartość wskazującą nazwę tabeli udostępniającej dane. + + + + + Pobiera metodę używaną do uzyskiwania dostępu do źródła danych. + + + + Jedna z . Jeśli nie zainicjowano , zwróci wartość domyślną . + + + + + Pobiera nazwę źródła danych znajdującego się w sekcji <microsoft.visualstudio.qualitytools> w pliku app.config. + + + + + Atrybut dla testu opartego na danych, w którym dane można określić bezpośrednio. + + + + + Znajdź wszystkie wiersze danych i wykonaj. + + + Metoda testowa. + + + Tablica elementów . + + + + + Uruchamianie metody testowej dla testu opartego na danych. + + Metoda testowa do wykonania. + Wiersz danych. + Wyniki wykonania. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..d5c4cce37 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Usado para especificar o item de implantação (arquivo ou diretório) para implantação por teste. + Pode ser especificado em classe de teste ou em método de teste. + Pode ter várias instâncias do atributo para especificar mais de um item. + O caminho do item pode ser absoluto ou relativo. Se relativo, é relativo a RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Inicializa uma nova instância da classe . + + O arquivo ou o diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + + + + Inicializa uma nova instância da classe + + O caminho relativo ou absoluto ao arquivo ou ao diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados. + O caminho do diretório para o qual os itens deverão ser copiados. Ele pode ser absoluto ou relativo ao diretório de implantação. Todos os arquivos e diretórios identificados por serão copiados para esse diretório. + + + + Obtém o caminho da pasta ou do arquivo de origem a ser copiado. + + + + + Obtém o caminho do diretório para o qual o item é copiado. + + + + + Executar código de teste no thread da Interface do Usuário para Aplicativos da Windows Store. + + + + + Executa o método de teste no Thread da Interface do Usuário. + + + O Método de teste. + + + Uma matriz de instâncias. + + Throws when run on an async test method. + + + + + Classe TestContext. Essa classe deve ser totalmente abstrata e não conter nenhum + membro. O adaptador implementará os membros. Os usuários na estrutura devem + acessá-la somente por meio de uma interface bem definida. + + + + + Obtém as propriedades de teste para um teste. + + + + + Obtém o Nome totalmente qualificado da classe contendo o método de teste executado no momento + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Obtém o Nome do método de teste executado no momento + + + + + Obtém o resultado do teste atual. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..2b63dd5e0 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/pt-BR/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + O TestMethod para a execução. + + + + + Obtém o nome do método de teste. + + + + + Obtém o nome da classe de teste. + + + + + Obtém o tipo de retorno do método de teste. + + + + + Obtém os parâmetros do método de teste. + + + + + Obtém o methodInfo para o método de teste. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Invoca o método de teste. + + + Argumentos a serem passados ao método de teste. (Por exemplo, para testes controlados por dados) + + + Resultado da invocação do método de teste. + + + This call handles asynchronous test methods as well. + + + + + Obter todos os atributos do método de teste. + + + Se o atributo definido na classe pai é válido. + + + Todos os atributos. + + + + + Obter atributo de tipo específico. + + System.Attribute type. + + Se o atributo definido na classe pai é válido. + + + Os atributos do tipo especificado. + + + + + O auxiliar. + + + + + O parâmetro de verificação não nulo. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws argument null exception when parameter is null. + + + + O parâmetro de verificação não nulo nem vazio. + + + O parâmetro. + + + O nome do parâmetro. + + + A mensagem. + + Throws ArgumentException when parameter is null. + + + + Enumeração para como acessamos as linhas de dados no teste controlado por dados. + + + + + As linhas são retornadas em ordem sequencial. + + + + + As linhas são retornadas em ordem aleatória. + + + + + O atributo para definir dados embutidos para um método de teste. + + + + + Inicializa uma nova instância da classe . + + O objeto de dados. + + + + Inicializa a nova instância da classe que ocupa uma matriz de argumentos. + + Um objeto de dados. + Mais dados. + + + + Obtém Dados para chamar o método de teste. + + + + + Obtém ou define o nome de exibição nos resultados de teste para personalização. + + + + + A exceção inconclusiva da asserção. + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Classe InternalTestFailureException. Usada para indicar falha interna de um caso de teste + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem de exceção. + + + + Inicializa uma nova instância da classe . + + + + + Atributo que especifica que uma exceção do tipo especificado é esperada + + + + + Inicializa uma nova instância da classe com o tipo especificado + + Tipo da exceção esperada + + + + Inicializa uma nova instância da classe com + o tipo esperado e a mensagem a ser incluída quando nenhuma exceção é gerada pelo teste. + + Tipo da exceção esperada + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma exceção + + + + + Obtém um valor que indica o Tipo da exceção esperada + + + + + Obtém ou define um valor que indica se é para permitir tipos derivados do tipo da exceção esperada para + qualificá-la como esperada + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Verifica se o tipo da exceção gerada pelo teste de unidade é esperado + + A exceção gerada pelo teste de unidade + + + + Classe base para atributos que especificam que uma exceção de um teste de unidade é esperada + + + + + Inicializa uma nova instância da classe com uma mensagem de não exceção padrão + + + + + Inicializa a nova instância da classe com uma mensagem de não exceção + + + Mensagem a ser incluída no resultado do teste se ele falhar por não gerar uma + exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem a ser incluída no resultado do teste caso o teste falhe devido à não geração de uma exceção + + + + + Obtém a mensagem de não exceção padrão + + O nome do tipo de atributo ExpectedException + A mensagem de não exceção padrão + + + + Determina se uma exceção é esperada. Se o método é retornado, entende-se + que a exceção era esperada. Se o método gera uma exceção, entende-se + que a exceção não era esperada e a mensagem de exceção gerada + é incluída no resultado do teste. A classe pode ser usada para + conveniência. Se é usada e há falha de asserção, + o resultado do teste é definido como Inconclusivo. + + A exceção gerada pelo teste de unidade + + + + Gerar a exceção novamente se for uma AssertFailedException ou uma AssertInconclusiveException + + A exceção a ser gerada novamente se for uma exceção de asserção + + + + Essa classe é projetada para ajudar o usuário a executar o teste de unidade para os tipos que usam tipos genéricos. + GenericParameterHelper satisfaz algumas restrições comuns de tipos genéricos, + como: + 1. construtor público padrão + 2. implementa interface comum: IComparable, IEnumerable + + + + + Inicializa a nova instância da classe que + satisfaz a restrição 'newable' em genéricos C#. + + + This constructor initializes the Data property to a random value. + + + + + Inicializa a nova instância da classe que + inicializa a propriedade Data para um valor fornecido pelo usuário. + + Qualquer valor inteiro + + + + Obtém ou define Data + + + + + Executa a comparação de valores de dois objetos GenericParameterHelper + + objeto com o qual comparar + verdadeiro se o objeto tem o mesmo valor que 'esse' objeto GenericParameterHelper. + Caso contrário, falso. + + + + Retorna um código hash para esse objeto. + + O código hash. + + + + Compara os dados dos dois objetos . + + O objeto com o qual comparar. + + Um número assinado indicando os valores relativos dessa instância e valor. + + + Thrown when the object passed in is not an instance of . + + + + + Retorna um objeto IEnumerator cujo comprimento é derivado + da propriedade Data. + + O objeto IEnumerator + + + + Retorna um objeto GenericParameterHelper que é igual ao + objeto atual. + + O objeto clonado. + + + + Permite que usuários registrem/gravem rastros de testes de unidade para diagnósticos. + + + + + Manipulador para LogMessage. + + Mensagem a ser registrada. + + + + Evento a ser escutado. Acionado quando o gerador do teste de unidade escreve alguma mensagem. + Principalmente para ser consumido pelo adaptador. + + + + + API para o gravador de teste chamar Registrar mensagens. + + Formato de cadeia de caracteres com espaços reservados. + Parâmetros dos espaços reservados. + + + + Atributo TestCategory. Usado para especificar a categoria de um teste de unidade. + + + + + Inicializa a nova instância da classe e aplica a categoria ao teste. + + + A Categoria de teste. + + + + + Obtém as categorias de teste aplicadas ao teste. + + + + + Classe base para o atributo "Category" + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Inicializa a nova instância da classe . + Aplica a categoria ao teste. As cadeias de caracteres retornadas por TestCategories + são usadas com o comando /category para filtrar os testes + + + + + Obtém a categoria de teste aplicada ao teste. + + + + + Classe AssertFailedException. Usada para indicar falha em um caso de teste + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Inicializa uma nova instância da classe . + + + + + Uma coleção de classes auxiliares para testar várias condições nos + testes de unidade. Se a condição testada não é atendida, uma exceção + é gerada. + + + + + Obtém uma instância singleton da funcionalidade Asserção. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Thrown if is false. + + + + + Testa se a condição especificada é verdadeira e gera uma exceção + se a condição é falsa. + + + A condição que o teste espera ser verdadeira. + + + A mensagem a ser incluída na exceção quando + é falsa. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is false. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Thrown if is true. + + + + + Testa se a condição especificada é falsa e gera uma exceção + se a condição é verdadeira. + + + A condição que o teste espera ser falsa. + + + A mensagem a ser incluída na exceção quando + é verdadeira. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is true. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is not null. + + + + + Testa se o objeto especificado é nulo e gera uma exceção + caso ele não seja. + + + O objeto que o teste espera ser nulo. + + + A mensagem a ser incluída na exceção quando + não é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if is null. + + + + + Testa se o objeto especificado é não nulo e gera uma exceção + caso ele seja nulo. + + + O objeto que o teste espera que não seja nulo. + + + A mensagem a ser incluída na exceção quando + é nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null. + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem ao mesmo objeto e + gera uma exceção se as duas entradas não se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é o mesmo que . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not refer to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Thrown if refers to the same object + as . + + + + + Testa se os objetos especificados se referem a objetos diferentes e + gera uma exceção se as duas entradas se referem ao mesmo objeto. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é o mesmo que . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if refers to the same object + as . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is not equal to . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são iguais e gera uma exceção + se os dois valores não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trate-se do valor esperado pelo teste. + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os valores especificados são desiguais e gera uma exceção + se os dois valores são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + The type of values to compare. + + + O primeiro valor a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo valor a ser comparado. Trata-se do valor produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são iguais e gera uma exceção + se os dois objetos não são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do objeto esperado pelo teste. + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os objetos especificados são desiguais e gera uma exceção + se os dois objetos são iguais. Tipos numéricos diferentes são tratados + como desiguais mesmo se os valores lógicos são iguais. 42L não é igual a 42. + + + O primeiro objeto a ser comparado. Trata-se do valor que o teste espera que não + corresponda a . + + + O segundo objeto a ser comparado. Trata-se do objeto produzido pelo código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro float a ser comparado. Trata-se do float esperado pelo teste. + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os floats especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro float a ser comparado. Trata-se do float que o teste espera que não + corresponda a . + + + O segundo float a ser comparado. Trata-se do float produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + Thrown if is not equal to + . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são iguais e gera uma exceção + se eles não são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo esperado pelo teste. + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por mais de . + + + A mensagem a ser incluída na exceção quando + for diferente de por mais de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if is equal to . + + + + + Testa se os duplos especificados são desiguais e gera uma exceção + se eles são iguais. + + + O primeiro duplo a ser comparado. Trata-se do duplo que o teste espera que não + corresponda a . + + + O segundo duplo a ser comparado. Trata-se do duplo produzido pelo código em teste. + + + A precisão necessária. Uma exceção será gerada somente se + for diferente de + por no máximo . + + + A mensagem a ser incluída na exceção quando + é igual a ou diferente por menos de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são iguais e gera uma exceção + se elas não são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres esperada pelo teste. + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. A cultura invariável é usada para a comparação. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as cadeias de caracteres especificadas são desiguais e gera uma exceção + se elas são iguais. + + + A primeira cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres que o teste espera que não + corresponda a . + + + A segunda cadeia de caracteres a ser comparada. Trata-se da cadeia de caracteres produzida pelo código em teste. + + + Um booliano que indica uma comparação que diferencia ou não maiúsculas de minúsculas. (verdadeiro + indica uma comparação que diferencia maiúsculas de minúsculas.) + + + Um objeto CultureInfo que fornece informações de comparação específicas de cultura. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado é uma instância do tipo + esperado e gera uma exceção se o tipo esperado não está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que seja do tipo especificado. + + + O tipo esperado de . + + + A mensagem a ser incluída na exceção quando + não é uma instância de . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Testa se o objeto especificado não é uma instância do tipo + incorreto e gera uma exceção se o tipo especificado está na + hierarquia de herança do objeto. + + + O objeto que o teste espera que não seja do tipo especificado. + + + O tipo que não deve ser. + + + A mensagem a ser incluída na exceção quando + é uma instância de . A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Gera uma AssertFailedException. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertFailedException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Always thrown. + + + + + Gera uma AssertInconclusiveException. + + + A mensagem a ser incluída na exceção. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Always thrown. + + + + + Os métodos estático igual a sobrecargas são usados para comparar instâncias de dois tipos em relação à igualdade de + referência. Esse método não deve ser usado para comparar a igualdade de + duas instâncias. Esse objeto sempre gerará Assert.Fail. Use + Assert.AreEqual e sobrecargas associadas nos testes de unidade. + + Objeto A + Objeto B + Sempre falso. + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O tipo de exceção que se espera que seja gerada. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera + + AssertFailedException + + se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + + Delegado ao código a ser testado e que é esperado que gere exceção. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Testa se o código especificado pelo delegado gera a exceção exata especificada de tipo (e não de tipo derivado) + e gera AssertFailedException se o código não gera uma exceção ou gera uma exceção de outro tipo diferente de . + + Delegado ao código a ser testado e que é esperado que gere exceção. + + A mensagem a ser incluída na exceção quando + não gera exceção de tipo . + + + Uma matriz de parâmetros a serem usados ao formatar . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + O executando o representante. + + + + + Substitui os caracteres nulos ('\0') por "\\0". + + + A cadeia de caracteres a ser pesquisada. + + + A cadeia de caracteres convertida com os caracteres nulos substituídos por "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Função auxiliar que cria e gera uma AssertionFailedException + + + nome da asserção que gera uma exceção + + + mensagem que descreve as condições da falha de asserção + + + Os parâmetros. + + + + + Verifica o parâmetro das condições válidas + + + O parâmetro. + + + O Nome da asserção. + + + nome do parâmetro + + + mensagem da exceção de parâmetro inválido + + + Os parâmetros. + + + + + Converte com segurança um objeto em uma cadeia de caracteres manipulando valores e caracteres nulos. + Os valores nulos são convertidos em "(null)". Os caracteres nulos são convertidos em "\\0". + + + O objeto a ser convertido em uma cadeia de caracteres. + + + A cadeia de caracteres convertida. + + + + + A asserção da cadeia de caracteres. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada contém a subcadeia especificada + e gera uma exceção se a subcadeia não ocorre na + cadeia de teste. + + + A cadeia de caracteres que se espera que contenha . + + + A cadeia de caracteres que se espera que ocorra em . + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada começa com a subcadeia especificada + e gera uma exceção se a cadeia de teste não começa com a + subcadeia. + + + A cadeia de caracteres que se espera que comece com . + + + A cadeia de caracteres que se espera que seja um prefixo de . + + + A mensagem a ser incluída na exceção quando + não começa com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not begin with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada termina com a subcadeia especificada + e gera uma exceção se a cadeia de teste não termina com a + subcadeia. + + + A cadeia de caracteres que se espera que termine com . + + + A cadeia de caracteres que se espera que seja um sufixo de . + + + A mensagem a ser incluída na exceção quando + não termina com . A mensagem é + mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not end with + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada corresponde a uma expressão regular e + gera uma exceção se a cadeia não corresponde à expressão. + + + A cadeia de caracteres que se espera que corresponda a . + + + A expressão regular com a qual se espera que tenha + correspondência. + + + A mensagem a ser incluída na exceção quando + não corresponde a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if does not match + . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Thrown if matches . + + + + + Testa se a cadeia de caracteres especificada não corresponde a uma expressão regular + e gera uma exceção se a cadeia corresponde à expressão. + + + A cadeia de caracteres que se espera que não corresponda a . + + + A expressão regular com a qual se espera que é + esperado não corresponder. + + + A mensagem a ser incluída na exceção quando + corresponde a . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if matches . + + + + + Uma coleção de classes auxiliares para testar várias condições associadas + às coleções nos testes de unidade. Se a condição testada não é + atendida, uma exceção é gerada. + + + + + Obtém a instância singleton da funcionalidade CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada contém o elemento especificado + e gera uma exceção se o elemento não está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que esteja na coleção. + + + A mensagem a ser incluída na exceção quando + não está em . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Thrown if is found in + . + + + + + Testa se a coleção especificada não contém o elemento + especificado e gera uma exceção se o elemento está na coleção. + + + A coleção na qual pesquisar o elemento. + + + O elemento que se espera que não esteja na coleção. + + + A mensagem a ser incluída na exceção quando + está em . A mensagem é mostrada nos resultados de + teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is found in + . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são não nulos e gera + uma exceção se algum elemento é nulo. + + + A coleção na qual pesquisar elementos nulos. + + + A mensagem a ser incluída na exceção quando + contém um elemento nulo. A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a null element is found in . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se todos os itens na coleção especificada são exclusivos ou não e + gera uma exceção se dois elementos na coleção são iguais. + + + A coleção na qual pesquisar elementos duplicados. + + + A mensagem a ser incluída na exceção quando + contém pelo menos um elemento duplicado. A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if a two or more equal elements are found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção é um subconjunto de outra coleção e + gera uma exceção se algum elemento no subconjunto não está também no + superconjunto. + + + A coleção que se espera que seja um subconjunto de . + + + A coleção que se espera que seja um superconjunto de + + + A mensagem a ser incluída na exceção quando um elemento em + não é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is not found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Thrown if every element in is also found in + . + + + + + Testa se uma coleção não é um subconjunto de outra coleção e + gera uma exceção se todos os elementos no subconjunto também estão no + superconjunto. + + + A coleção que se espera que não seja um subconjunto de . + + + A coleção que se espera que não seja um superconjunto de + + + A mensagem a ser incluída na exceção quando todo elemento em + também é encontrado em . + A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if every element in is also found in + . + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm os mesmos elementos e gera uma + exceção se alguma das coleções contém um elemento que não está presente na outra + coleção. + + + A primeira coleção a ser comparada. Ela contém os elementos esperados pelo + teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando um elemento foi encontrado + em uma das coleções, mas não na outra. A mensagem é mostrada + nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se duas coleções contêm elementos diferentes e gera uma + exceção se as duas coleções contêm elementos idênticos sem levar em consideração + a ordem. + + + A primeira coleção a ser comparada. Ela contém os elementos que o teste + espera que sejam diferentes em relação à coleção real. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida + pelo código em teste. + + + A mensagem a ser incluída na exceção quando + contém os mesmos elementos que . A mensagem + é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se todos os elementos na coleção especificada são instâncias + do tipo esperado e gera uma exceção se o tipo esperado não + está na hierarquia de herança de um ou mais dos elementos. + + + A coleção que contém elementos que o teste espera que sejam do + tipo especificado. + + + O tipo esperado de cada elemento de . + + + A mensagem a ser incluída na exceção quando um elemento em + não é uma instância de + . A mensagem é mostrada nos resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são iguais e gera uma exceção + se as duas coleções não são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção esperada pelo teste. + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + não é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is not equal to + . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Thrown if is equal to . + + + + + Testa se as coleções especificadas são desiguais e gera uma exceção + se as duas coleções são iguais. A igualdade é definida como tendo os mesmos + elementos na mesma ordem e quantidade. Referências diferentes ao mesmo + valor são consideradas iguais. + + + A primeira coleção a ser comparada. Trata-se da coleção que o teste espera + que não corresponda a . + + + A segunda coleção a ser comparada. Trata-se da coleção produzida pelo + código em teste. + + + A implementação de comparação a ser usada ao comparar elementos da coleção. + + + A mensagem a ser incluída na exceção quando + é igual a . A mensagem é mostrada nos + resultados de teste. + + + Uma matriz de parâmetros a serem usados ao formatar . + + + Thrown if is equal to . + + + + + Determina se a primeira coleção é um subconjunto da segunda + coleção. Se os conjuntos contiverem elementos duplicados, o número + de ocorrências do elemento no subconjunto deverá ser menor ou igual + ao número de ocorrências no superconjunto. + + + A coleção que o teste espera que esteja contida em . + + + A coleção que o teste espera que contenha . + + + Verdadeiro se é um subconjunto de + , caso contrário, falso. + + + + + Cria um dicionário contendo o número de ocorrências de cada + elemento na coleção especificada. + + + A coleção a ser processada. + + + O número de elementos nulos na coleção. + + + Um dicionário contendo o número de ocorrências de cada elemento + na coleção especificada. + + + + + Encontra um elemento incompatível entre as duas coleções. Um elemento + incompatível é aquele que aparece um número diferente de vezes na + coleção esperada em relação à coleção real. É pressuposto que + as coleções sejam referências não nulas diferentes com o + mesmo número de elementos. O chamador é responsável por esse nível de + verificação. Se não houver nenhum elemento incompatível, a função retornará + falso e os parâmetros de saída não deverão ser usados. + + + A primeira coleção a ser comparada. + + + A segunda coleção a ser comparada. + + + O número esperado de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O número real de ocorrências de + ou 0 se não houver nenhum elemento + incompatível. + + + O elemento incompatível (poderá ser nulo) ou nulo se não houver nenhum + elemento incompatível. + + + verdadeiro se um elemento incompatível foi encontrado. Caso contrário, falso. + + + + + compara os objetos usando object.Equals + + + + + Classe base para exceções do Framework. + + + + + Inicializa uma nova instância da classe . + + + + + Inicializa uma nova instância da classe . + + A mensagem. + A exceção. + + + + Inicializa uma nova instância da classe . + + A mensagem. + + + + Uma classe de recurso fortemente tipada para pesquisar cadeias de caracteres localizadas, etc. + + + + + Retorna a instância de ResourceManager armazenada em cache usada por essa classe. + + + + + Substitui a propriedade CurrentUICulture do thread atual em todas + as pesquisas de recursos usando essa classe de recurso fortemente tipada. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres de acesso tem sintaxe inválida. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A coleção esperada contém {1} ocorrência(s) de <{2}>. A coleção real contém {3} ocorrência(s). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Item duplicado encontrado:<{1}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Maiúsculas e minúsculas diferentes para o valor real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença não maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1} ({2})>. Real:<{3} ({4})>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperado:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Esperada uma diferença maior que <{3}> entre o valor esperado <{1}> e o valor real <{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a É esperado qualquer valor, exceto:<{1}>. Real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não passe tipos de valores para AreSame(). Os valores convertidos em Object nunca serão os mesmos. Considere usar AreEqual(). {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante à Falha em {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada similar a TestMethod assíncrono com UITestMethodAttribute sem suporte. Remova o assíncrono ou use o TestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções estão vazias. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as referências de coleções apontam para o mesmo objeto de coleção. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Ambas as coleções contêm os mesmos elementos. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0}({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (nulo). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (objeto). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não contém a cadeia de caracteres '{1}'. {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} ({1}). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Assert.Equals não deve ser usado para Asserções. Use Assert.AreEqual e sobrecargas em seu lugar. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O número de elementos nas coleções não corresponde. Esperado:<{1}>. Real:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {0} não corresponde. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} não é de tipo esperado. Tipo esperado:<{2}>. Tipo real:<{3}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O elemento no índice {1} é (nulo). Tipo esperado:<{2}>.{0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não termina com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Argumento inválido – EqualsTester não pode usar nulos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Não é possível converter objeto do tipo {0} em {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O objeto interno referenciado não é mais válido. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A propriedade {0} é do tipo {1}; tipo esperado {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a {0} Tipo esperado:<{1}>. Tipo real:<{2}>.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Tipo incorreto:<{1}>. Tipo real:<{2}>. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' corresponde ao padrão '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhum DataRowAttribute especificado. Pelo menos um DataRowAttribute é necessário com DataTestMethodAttribute. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Nenhuma exceção gerada. A exceção {1} era esperada. {0}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O parâmetro '{0}' é inválido. O valor não pode ser nulo. {1}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Número diferente de elementos. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O construtor com a assinatura especificada não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a + O membro especificado ({0}) não pôde ser encontrado. Talvez seja necessário gerar novamente seu acessador particular + ou o membro pode ser particular e definido em uma classe base. Se o último for verdadeiro, será necessário passar o tipo + que define o membro no construtor do PrivateObject. + . + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a A cadeia de caracteres '{0}' não começa com a cadeia de caracteres '{1}'. {2}.. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O tipo de exceção esperado deve ser System.Exception ou um tipo derivado de System.Exception. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a (Falha ao obter a mensagem para uma exceção do tipo {0} devido a uma exceção.). + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou a exceção esperada {0}. {1}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste não gerou uma exceção. Uma exceção era esperada pelo atributo {0} definido no método de teste. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperada a exceção {1}. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a O método de teste gerou a exceção {0}, mas era esperado a exceção {1} ou um tipo derivado dela. Mensagem de exceção: {2}. + + + + + Pesquisa uma cadeia de caracteres localizada semelhante a Exceção gerada {2}, mas a exceção {1} era esperada. {0} + Mensagem de Exceção: {3} + Rastreamento de Pilha: {4}. + + + + + resultados de teste de unidade + + + + + O teste foi executado, mas ocorreram problemas. + Os problemas podem envolver exceções ou asserções com falha. + + + + + O teste foi concluído, mas não é possível dizer se houve aprovação ou falha. + Pode ser usado para testes anulados. + + + + + O teste foi executado sem nenhum problema. + + + + + O teste está em execução no momento. + + + + + Ocorreu um erro de sistema ao tentarmos executar um teste. + + + + + O tempo limite do teste foi atingido. + + + + + O teste foi anulado pelo usuário. + + + + + O teste está em um estado desconhecido + + + + + Fornece funcionalidade auxiliar para a estrutura do teste de unidade + + + + + Obtém as mensagens de exceção, incluindo as mensagens para todas as exceções internas + recursivamente + + Exceção ao obter mensagens para + cadeia de caracteres com informações de mensagem de erro + + + + Enumeração para tempos limite, a qual pode ser usada com a classe . + O tipo de enumeração deve corresponder + + + + + O infinito. + + + + + O atributo da classe de teste. + + + + + Obtém um atributo de método de teste que habilita a execução desse teste. + + A instância de atributo do método de teste definida neste método. + O a ser usado para executar esse teste. + Extensions can override this method to customize how all methods in a class are run. + + + + O atributo do método de teste. + + + + + Executa um método de teste. + + O método de teste a ser executado. + Uma matriz de objetos TestResult que representam resultados do teste. + Extensions can override this method to customize running a TestMethod. + + + + O atributo de inicialização do teste. + + + + + O atributo de limpeza do teste. + + + + + O atributo ignorar. + + + + + O atributo de propriedade de teste. + + + + + Inicializa uma nova instância da classe . + + + O nome. + + + O valor. + + + + + Obtém o nome. + + + + + Obtém o valor. + + + + + O atributo de inicialização de classe. + + + + + O atributo de limpeza de classe. + + + + + O atributo de inicialização de assembly. + + + + + O atributo de limpeza de assembly. + + + + + Proprietário do Teste + + + + + Inicializa uma nova instância da classe . + + + O proprietário. + + + + + Obtém o proprietário. + + + + + Atributo de prioridade. Usado para especificar a prioridade de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + A prioridade. + + + + + Obtém a prioridade. + + + + + Descrição do teste + + + + + Inicializa uma nova instância da classe para descrever um teste. + + A descrição. + + + + Obtém a descrição de um teste. + + + + + URI de Estrutura do Projeto de CSS + + + + + Inicializa a nova instância da classe para o URI da Estrutura do Projeto CSS. + + O URI da Estrutura do Projeto ECSS. + + + + Obtém o URI da Estrutura do Projeto CSS. + + + + + URI de Iteração de CSS + + + + + Inicializa uma nova instância da classe para o URI de Iteração do CSS. + + O URI de iteração do CSS. + + + + Obtém o URI de Iteração do CSS. + + + + + Atributo WorkItem. Usado para especificar um item de trabalho associado a esse teste. + + + + + Inicializa a nova instância da classe para o Atributo WorkItem. + + A ID para o item de trabalho. + + + + Obtém a ID para o item de trabalho associado. + + + + + Atributo de tempo limite. Usado para especificar o tempo limite de um teste de unidade. + + + + + Inicializa uma nova instância da classe . + + + O tempo limite. + + + + + Inicializa a nova instância da classe com um tempo limite predefinido + + + O tempo limite + + + + + Obtém o tempo limite. + + + + + O objeto TestResult a ser retornado ao adaptador. + + + + + Inicializa uma nova instância da classe . + + + + + Obtém ou define o nome de exibição do resultado. Útil ao retornar vários resultados. + Se for nulo, o nome do Método será usado como o DisplayName. + + + + + Obtém ou define o resultado da execução de teste. + + + + + Obtém ou define a exceção gerada quando o teste falha. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define a saída da mensagem registrada pelo código de teste. + + + + + Obtém ou define os rastreamentos de depuração pelo código de teste. + + + + + Gets or sets the debug traces by test code. + + + + + Obtém ou define a duração de execução do teste. + + + + + Obtém ou define o índice de linha de dados na fonte de dados. Defina somente para os resultados de execuções + individuais de um teste controlado por dados. + + + + + Obtém ou define o valor retornado do método de teste. (Sempre nulo no momento). + + + + + Obtém ou define os arquivos de resultado anexados pelo teste. + + + + + Especifica a cadeia de conexão, o nome de tabela e o método de acesso de linha para teste controlado por dados. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + O nome do provedor padrão para a DataSource. + + + + + O método de acesso a dados padrão. + + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados, uma cadeia de conexão, uma tabela de dados e um método de acesso a dados para acessar a fonte de dados. + + Nome do provedor de dados invariável, como System.Data.SqlClient + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + Especifica a ordem para acessar os dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com uma cadeia de conexão e um nome da tabela. + Especifique a cadeia de conexão e a tabela de dados para acessar a fonte de dados OLEDB. + + + Cadeia de conexão específica do provedor de dados. + AVISO: a cadeia de conexão pode conter dados confidenciais (por exemplo, uma senha). + A cadeia de conexão é armazenada em texto sem formatação no código-fonte e no assembly compilado. + Restrinja o acesso ao código-fonte e ao assembly para proteger essas formações confidenciais. + + O nome da tabela de dados. + + + + Inicializa a nova instância da classe . Essa instância será inicializada com um provedor de dados e com uma cadeia de conexão associada ao nome da configuração. + + O nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> do arquivo app.config. + + + + Obtém o valor que representa o provedor de dados da fonte de dados. + + + O nome do provedor de dados. Se um provedor de dados não foi designado na inicialização do objeto, o provedor de dados padrão de System.Data.OleDb será retornado. + + + + + Obtém o valor que representa a cadeia de conexão da fonte de dados. + + + + + Obtém um valor que indica o nome da tabela que fornece dados. + + + + + Obtém o método usado para acessar a fonte de dados. + + + + Um dos valores. Se o não for inicializado, o valor padrão será retornado . + + + + + Obtém o nome da fonte de dados encontrada na seção <microsoft.visualstudio.qualitytools> no arquivo app.config. + + + + + O atributo para teste controlado por dados em que os dados podem ser especificados de maneira embutida. + + + + + Encontrar todas as linhas de dados e executar. + + + O Método de teste. + + + Uma matriz de . + + + + + Executa o método de teste controlado por dados. + + O método de teste a ser executado. + Linha de Dados. + Resultados de execução. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..8221c4a50 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Используется для указания элемента развертывания (файл или каталог) для развертывания каждого теста. + Может указываться для тестового класса или метода теста. + Чтобы указать несколько элементов, можно использовать несколько экземпляров атрибута. + Путь к элементу может быть абсолютным или относительным, в последнем случае он указывается по отношению к RunConfig.RelativePathRoot. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + Инициализирует новый экземпляр класса . + + Файл или каталог для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + + + + Инициализирует новый экземпляр класса + + Относительный или абсолютный путь к файлу или каталогу для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста. + Путь к каталогу, в который должны быть скопированы элементы. Он может быть абсолютным или относительным (по отношению к каталогу развертывания). Все файлы и каталоги, обозначенные при помощи будет скопировано в этот каталог. + + + + Получает путь к копируемым исходному файлу или папке. + + + + + Получает путь к каталогу, в который копируется элемент. + + + + + Выполнение кода теста в потоке пользовательского интерфейса для приложений Магазина Windows. + + + + + Выполнение метода теста для потока пользовательского интерфейса. + + + Метод теста. + + + Массив экземпляры. + + Throws when run on an async test method. + + + + + Класс TestContext. Этот класс должен быть полностью абстрактным и не должен содержать ни одного элемента. + Элементы будут реализованы в адаптере. Пользователи платформы должны обращаться к этому классу + только при помощи четко определенного интерфейса. + + + + + Получает свойства теста. + + + + + Получает полное имя класса, содержащего метод теста, который выполняется в данный момент + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Получает имя метода теста, выполняемого в данный момент + + + + + Получает текущий результат теста. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..f278594a3 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4202 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + TestMethod для выполнения. + + + + + Получает имя метода теста. + + + + + Получает имя тестового класса. + + + + + Получает тип возвращаемого значения метода теста. + + + + + Получает параметры метода теста. + + + + + Получает methodInfo для метода теста. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Вызывает метод теста. + + + Аргументы, передаваемые методу теста (например, для управляемых данными тестов). + + + Результат вызова метода теста. + + + This call handles asynchronous test methods as well. + + + + + Получить все атрибуты метода теста. + + + Допустим ли атрибут, определенный в родительском классе. + + + Все атрибуты. + + + + + Получить атрибут указанного типа. + + System.Attribute type. + + Допустим ли атрибут, определенный в родительском классе. + + + Атрибуты указанного типа. + + + + + Вспомогательный метод. + + + + + Параметр проверки не имеет значения NULL. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws argument null exception when parameter is null. + + + + Параметр проверки не равен NULL или не пуст. + + + Параметр. + + + Имя параметра. + + + Сообщение. + + Throws ArgumentException when parameter is null. + + + + Перечисление, описывающее способ доступа к строкам данных в тестах, управляемых данными. + + + + + Строки возвращаются в последовательном порядке. + + + + + Строки возвращаются в случайном порядке. + + + + + Атрибут для определения встроенных данных для метода теста. + + + + + Инициализирует новый экземпляр класса . + + Объект данных. + + + + Инициализирует новый экземпляр класса , принимающий массив аргументов. + + Объект данных. + Дополнительные данные. + + + + Получает данные для вызова метода теста. + + + + + Получает или задает отображаемое имя в результатах теста для настройки. + + + + + Исключение утверждения с неопределенным результатом. + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Класс InternalTestFailureException. Используется для указания внутреннего сбоя для тестового случая + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение об исключении. + + + + Инициализирует новый экземпляр класса . + + + + + Атрибут, который указывает, что ожидается исключение указанного типа + + + + + Инициализирует новый экземпляр класса ожидаемого типа + + Тип ожидаемого исключения + + + + Инициализирует новый экземпляр класса + ожидаемого типа c сообщением для включения, когда тест не создает исключение. + + Тип ожидаемого исключения + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал исключение + + + + + Получает значение, указывающее тип ожидаемого исключения + + + + + Получает или задает значение, которое означает, являются ли ожидаемыми типы, производные + от типа ожидаемого исключения + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Проверяет, является ли ожидаемым тип исключения, созданного модульным тестом + + Исключение, созданное модульным тестом + + + + Базовый класс для атрибутов, которые указывают ожидать исключения из модульного теста + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений по умолчанию + + + + + Инициализирует новый экземпляр класса с сообщением об отсутствии исключений + + + Сообщение для включения в результат теста, если тест не был пройден из-за того, что не создал + исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение, включаемое в результаты теста, если он не пройден из-за того, что не возникло исключение + + + + + Получает сообщение по умолчанию об отсутствии исключений + + Название типа для атрибута ExpectedException + Сообщение об отсутствии исключений по умолчанию + + + + Определяет, ожидается ли исключение. Если метод возвращает управление, то + считается, что ожидалось исключение. Если метод создает исключение, то + считается, что исключение не ожидалось, и сообщение созданного исключения + включается в результат теста. Для удобства можно использовать класс . + Если используется и утверждение завершается с ошибкой, + то результат теста будет неопределенным. + + Исключение, созданное модульным тестом + + + + Повторно создать исключение при возникновении исключения AssertFailedException или AssertInconclusiveException + + Исключение, которое необходимо создать повторно, если это исключение утверждения + + + + Этот класс предназначен для пользователей, выполняющих модульное тестирование для универсальных типов. + GenericParameterHelper удовлетворяет некоторым распространенным ограничениям для универсальных типов, + например. + 1. Открытый конструктор по умолчанию + 2. Реализует общий интерфейс: IComparable, IEnumerable + + + + + Инициализирует новый экземпляр класса , который + удовлетворяет ограничению newable в универсальных типах C#. + + + This constructor initializes the Data property to a random value. + + + + + Инициализирует новый экземпляр класса , который + инициализирует свойство Data в указанное пользователем значение. + + Любое целочисленное значение + + + + Получает или задает данные + + + + + Сравнить значения двух объектов GenericParameterHelper + + объект, с которым будет выполнено сравнение + True, если obj имеет то же значение, что и объект "this" GenericParameterHelper. + В противном случае False. + + + + Возвращает хэш-код для этого объекта. + + Хэш-код. + + + + Сравнивает данные двух объектов . + + Объект для сравнения. + + Число со знаком, указывающее относительные значения этого экземпляра и значения. + + + Thrown when the object passed in is not an instance of . + + + + + Возвращает объект IEnumerator, длина которого является производной + от свойства Data. + + Объект IEnumerator + + + + Возвращает объект GenericParameterHelper, равный + текущему объекту. + + Клонированный объект. + + + + Позволяет пользователям регистрировать/записывать трассировки от модульных тестов для диагностики. + + + + + Обработчик LogMessage. + + Сообщение для записи в журнал. + + + + Прослушиваемое событие. Возникает, когда средство записи модульных тестов записывает сообщение. + Главным образом используется адаптером. + + + + + API, при помощи которого средство записи теста будет обращаться к сообщениям журнала. + + Строка формата с заполнителями. + Параметры для заполнителей. + + + + Атрибут TestCategory; используется для указания категории модульного теста. + + + + + Инициализирует новый экземпляр класса и применяет категорию к тесту. + + + Категория теста. + + + + + Возвращает или задает категории теста, которые были применены к тесту. + + + + + Базовый класс для атрибута Category + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + Инициализирует новый экземпляр класса . + Применяет к тесту категорию. Строки, возвращаемые TestCategories , + используются с командой /category для фильтрации тестов + + + + + Возвращает или задает категорию теста, которая была применена к тесту. + + + + + Класс AssertFailedException. Используется для указания сбоя тестового случая + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Инициализирует новый экземпляр класса . + + + + + Коллекция вспомогательных классов для тестирования различных условий в + модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции Assert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие истинным, и создает исключение, + если условие ложно. + + + Условие, которое должно быть истинным с точки зрения теста. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение False. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is false. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Thrown if is true. + + + + + Проверяет, является ли указанное условие ложным, и создает исключение, + если условие истинно. + + + Условие, которое с точки зрения теста должно быть ложным. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение True. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is true. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он не равен NULL. + + + Объект, который с точки зрения теста должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение, отличное от NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Thrown if is null. + + + + + Проверяет, имеет ли указанный объект значение NULL, и создает исключение, + если он равен NULL. + + + Объект, который не должен быть равен NULL. + + + Сообщение, которое будет добавлено в исключение, если + имеет значение NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if is null. + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на один и тот же объект, и + создает исключение, если два входных значения не ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — ожидаемое тестом значение. + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not refer to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if refers to the same object + as . + + + + + Проверяет, ссылаются ли указанные объекты на разные объекты, и + создает исключение, если два входных значения ссылаются на один и тот же объект. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if refers to the same object + as . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is not equal to . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на равенство и создает исключение, + если два значения не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это — ожидаемое тестом значение. + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные значения на неравенство и создает исключение, + если два значения равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + The type of values to compare. + + + Первое сравниваемое значение. Это значение с точки зрения теста не должно + соответствовать . + + + Второе сравниваемое значение. Это — значение, созданное тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на равенство и создает исключение, + если два объекта не равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — ожидаемый тестом объект. + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные объекты на неравенство и создает исключение, + если два объекта равны. Различные числовые типы + считаются неравными, даже если логические значения равны. Например, 42L не равно 42. + + + Первый сравниваемый объект. Это — значение, которое с точки зрения теста не должно + соответствовать . + + + Второй сравниваемый объект. Это — объект, созданный тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой для сравнения. Это число с плавающей запятой с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Thrown if is not equal to + . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на равенство и создает исключение, + если они не равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это — ожидаемое тестом число. + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + более чем на . + + + Сообщение, которое будет добавлено в исключение, если + отличается от более чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные числа с плавающей запятой двойной точности на неравенство и создает исключение, + если они равны. + + + Первое число с плавающей запятой двойной точности для сравнения. Это число с точки зрения теста не должно + соответствовать . + + + Второе число с плавающей запятой двойной точности для сравнения. Это — число, созданное тестируемым кодом. + + + Требуемая точность. Исключение будет создано, только если + отличается от + не более чем на . + + + Сообщение, которое будет добавлено в исключение, если + равен или отличается менее чем на + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет, равны ли указанные строки, и создает исключение, + если они не равны. При сравнении используются инвариантный язык и региональные параметры. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to . + + + + + Проверяет указанные строки на равенство и создает исключение, + если они не равны. + + + Первая сравниваемая строка. Это — ожидаемая тестом строка. + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет строки на неравенство и создает исключение, + если они равны. При сравнении используются инвариантные язык и региональные параметры. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные строки на неравенство и создает исключение, + если они равны. + + + Первая сравниваемая строка. Эта строка не должна с точки зрения теста + соответствовать . + + + Вторая сравниваемая строка. Это — строка, созданная тестируемым кодом. + + + Логический параметр, означающий сравнение с учетом или без учета регистра. (True + означает сравнение с учетом регистра.) + + + Объект CultureInfo, содержащий данные о языке и региональных стандартах, которые используются при сравнении. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром ожидаемого + типа, и создает исключение, если ожидаемый тип отсутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста должен иметь указанный тип. + + + Ожидаемый тип . + + + Сообщение, которое будет добавлено в исключение, если + не является экземпляром . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Проверяет, является ли указанный объект экземпляром неправильного + типа, и создает исключение, если указанный тип присутствует в + иерархии наследования объекта. + + + Объект, который с точки зрения теста не должен иметь указанный тип. + + + Тип, который параметр иметь не должен. + + + Сообщение, которое будет добавлено в исключение, если + является экземпляром класса . Сообщение отображается + в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Создает исключение AssertFailedException. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertFailedException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Always thrown. + + + + + Создает исключение AssertInconclusiveException. + + + Сообщение, которое нужно добавить в исключение. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Always thrown. + + + + + Статические переопределения равенства используются для сравнения экземпляров двух типов на равенство + ссылок. Этот метод не должен использоваться для сравнения двух экземпляров на + равенство. Этот объект всегда создает исключение с Assert.Fail. Используйте в ваших модульных тестах + Assert.AreEqual и связанные переопределения. + + Объект A + Объект B + False (всегда). + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Тип ожидаемого исключения. + + + + + Проверяет, создает ли код, указанный в делегате , заданное исключение типа (не производного), + и создает исключение + + AssertFailedException, + + если код не создает исключение, или создает исключение типа, отличного от . + + + Делегат для проверяемого кода, который должен создать исключение. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Проверяет, создает ли код, указанный с помощью делегата , в точности заданное исключение типа (и не производного типа ), + и создает исключение AssertFailedException , если код не создает исключение, или создает исключение типа, отличного от . + + Делегат для проверяемого кода, который должен создать исключение. + + Сообщение, которое будет добавлено в исключение, если + не создает исключение типа . + + + Массив параметров для использования при форматировании . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + выполнение делегата. + + + + + Заменяет NULL-символы ("\0") символами "\\0". + + + Искомая строка. + + + Преобразованная строка, в которой NULL-символы были заменены на "\\0". + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + Вспомогательная функция, которая создает и вызывает AssertionFailedException + + + имя утверждения, создавшего исключение + + + сообщение с описанием условий для сбоя утверждения + + + Параметры. + + + + + Проверяет параметр на допустимые условия + + + Параметр. + + + Имя утверждения. + + + имя параметра + + + сообщение об исключении, связанном с недопустимым параметром + + + Параметры. + + + + + Безопасно преобразует объект в строку, обрабатывая значения NULL и NULL-символы. + Значения NULL преобразуются в "(null)", NULL-символы — в "\\0". + + + Объект для преобразования в строку. + + + Преобразованная строка. + + + + + Утверждение строки. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли указанная строка заданную подстроку, + и создает исключение, если подстрока не содержится + в тестовой строке. + + + Строка, которая должна содержать . + + + Строка, которая должна входить в . + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Thrown if does not begin with + . + + + + + Проверяет, начинается ли указанная строка с указанной подстроки, + и создает исключение, если тестовая строка не начинается + с подстроки. + + + Строка, которая должна начинаться с . + + + Строка, которая должна быть префиксом . + + + Сообщение, которое будет добавлено в исключение, если + не начинается с . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not begin with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Thrown if does not end with + . + + + + + Проверяет, заканчивается ли указанная строка заданной подстрокой, + и создает исключение, если тестовая строка не заканчивается + заданной подстрокой. + + + Строка, которая должна заканчиваться на . + + + Строка, которая должна быть суффиксом . + + + Сообщение, которое будет добавлено в исключение, если + не заканчивается на . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not end with + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Thrown if does not match + . + + + + + Проверяет, соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка не соответствует регулярному выражению. + + + Строка, которая должна соответствовать . + + + Регулярное выражение, которому параметр должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + не соответствует . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if does not match + . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Thrown if matches . + + + + + Проверяет, не соответствует ли указанная строка регулярному выражению, + и создает исключение, если строка соответствует регулярному выражению. + + + Строка, которая не должна соответствовать . + + + Регулярное выражение, которому параметр не должен + соответствовать. + + + Сообщение, которое будет добавлено в исключение, если + соответствует . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if matches . + + + + + Коллекция вспомогательных классов для тестирования различных условий, связанных + с коллекциями в модульных тестах. Если проверяемое условие + ложно, создается исключение. + + + + + Получает одноэлементный экземпляр функции CollectionAssert. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли заданная коллекция указанный элемент, + и создает исключение, если элемент не входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + не находится в . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Thrown if is found in + . + + + + + Проверяет, содержит ли коллекция указанный элемент, + и создает исключение, если элемент входит в коллекцию. + + + Коллекция, в которой выполняется поиск элемента. + + + Элемент, который не должен входить в коллекцию. + + + Сообщение, которое будет добавлено в исключение, если + находится в . Сообщение отображается в результатах + тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is found in + . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Thrown if a null element is found in . + + + + + Проверяет, все ли элементы в указанной коллекции имеют значения, отличные от NULL, + и создает исключение, если какой-либо элемент имеет значение NULL. + + + Коллекция, в которой выполняется поиск элементов, имеющих значение NULL. + + + Сообщение, которое будет добавлено в исключение, если + содержит элемент, равный NULL. Сообщение отображается в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a null element is found in . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, уникальны ли все элементы в указанной коллекции, + и создает исключение, если любые два элемента в коллекции равны. + + + Коллекция, в которой выполняется поиск дубликатов элементов. + + + Сообщение, которое будет добавлено в исключение, если + содержит как минимум один элемент-дубликат. Это сообщение отображается в + результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if a two or more equal elements are found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if an element in is not found in + . + + + + + Проверяет, является ли коллекция подмножеством другой коллекции, и + создает исключение, если любой элемент подмножества не является также элементом + супермножества. + + + Коллекция, которая должна быть подмножеством . + + + Коллекция, которая должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если элемент в + не обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is not found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Thrown if every element in is also found in + . + + + + + Проверяет, не является ли коллекция подмножеством другой коллекции, и + создает исключение, если все элементы подмножества также входят в + супермножество. + + + Коллекция, которая не должна быть подмножеством . + + + Коллекция, которая не должна быть супермножеством + + + Сообщение, которое будет добавлено в исключение, если каждый элемент в + также обнаружен в . + Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if every element in is also found in + . + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции одинаковые элементы, и создает + исключение, если в любой из коллекций есть непарные + элементы. + + + Первая сравниваемая коллекция. Она содержит ожидаемые тестом + элементы. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если элемент был обнаружен + в одной коллекции, но не обнаружен в другой. Это сообщение отображается + в результатах теста. + + + Массив параметров для использования при форматировании . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, содержат ли две коллекции разные элементы, и создает + исключение, если две коллекции содержат одинаковые элементы (без учета + порядка). + + + Первая сравниваемая коллекция. Она содержит элементы, которые должны + отличаться от фактической коллекции с точки зрения теста. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + содержит такие же элементы, что и . Сообщение + отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет, все ли элементы в указанной коллекции являются экземплярами + ожидаемого типа, и создает исключение, если ожидаемый тип + не входит в иерархию наследования одного или нескольких элементов. + + + Содержащая элементы коллекция, которые с точки зрения теста должны иметь + указанный тип. + + + Ожидаемый тип каждого элемента . + + + Сообщение, которое будет добавлено в исключение, если элемент в + не является экземпляром + . Сообщение отображается в результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на равенство и создает исключение, + если две коллекции не равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Это — ожидаемая тестом коллекция. + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + не равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is not equal to + . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Thrown if is equal to . + + + + + Проверяет указанные коллекции на неравенство и создает исключение, + если две коллекции равны. Равенство определяется как наличие одинаковых + элементов в том же порядке и количестве. Различные ссылки на одно и то же + значение считаются равными. + + + Первая сравниваемая коллекция. Эта коллекция с точки зрения теста не + должна соответствовать . + + + Вторая сравниваемая коллекция. Это — коллекция, созданная + тестируемым кодом. + + + Реализация сравнения для сравнения элементов коллекции. + + + Сообщение, которое будет добавлено в исключение, если + равен . Сообщение отображается в + результатах тестирования. + + + Массив параметров для использования при форматировании . + + + Thrown if is equal to . + + + + + Определяет, является ли первая коллекция подмножеством второй + коллекции. Если любое из множеств содержит одинаковые элементы, то число + вхождений элемента в подмножестве должно быть меньше или + равно количеству вхождений в супермножестве. + + + Коллекция, которая с точки зрения теста должна содержаться в . + + + Коллекция, которая с точки зрения теста должна содержать . + + + Значение True, если является подмножеством + , в противном случае — False. + + + + + Создает словарь с числом вхождений каждого элемента + в указанной коллекции. + + + Обрабатываемая коллекция. + + + Число элементов, имеющих значение NULL, в коллекции. + + + Словарь с числом вхождений каждого элемента + в указанной коллекции. + + + + + Находит несоответствующий элемент между двумя коллекциями. Несоответствующий + элемент — это элемент, количество вхождений которого в ожидаемой коллекции отличается + от фактической коллекции. В качестве коллекций + ожидаются различные ссылки, отличные от null, с одинаковым + количеством элементов. За этот уровень проверки отвечает + вызывающий объект. Если несоответствующих элементов нет, функция возвращает + False, и выходные параметры использовать не следует. + + + Первая сравниваемая коллекция. + + + Вторая сравниваемая коллекция. + + + Ожидаемое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Фактическое число вхождений + или 0, если несоответствующие элементы + отсутствуют. + + + Несоответствующий элемент (может иметь значение NULL) или значение NULL, если несоответствующий + элемент отсутствует. + + + Значение True, если был найден несоответствующий элемент, в противном случае — False. + + + + + сравнивает объекты при помощи object.Equals + + + + + Базовый класс для исключений платформы. + + + + + Инициализирует новый экземпляр класса . + + + + + Инициализирует новый экземпляр класса . + + Сообщение. + Исключение. + + + + Инициализирует новый экземпляр класса . + + Сообщение. + + + + Строго типизированный класс ресурса для поиска локализованных строк и т. д. + + + + + Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + + + + + Переопределяет свойство CurrentUICulture текущего потока для всех операций + поиска ресурсов, в которых используется этот строго типизированный класс. + + + + + Ищет локализованную строку, похожую на "Синтаксис строки доступа неверен". + + + + + Ищет локализованную строку, похожую на "Ожидаемая коллекция содержит {1} вхождений <{2}>. Фактическая коллекция содержит {3} вхождений. {0}". + + + + + Ищет локализованную строку, похожую на "Обнаружен элемент-дубликат: <{1}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое значение имеет другой регистр: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять не больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1} ({2})>. Фактическое: <{3} ({4})>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое: <{1}>. Фактическое: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Различие между ожидаемым значением <{1}> и фактическим значением <{2}> должно было составлять больше <{3}>. {0}". + + + + + Ищет локализованную строку, похожую на "Ожидалось любое значение, кроме: <{1}>. Фактическое значение: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Не передавайте типы значений в AreSame(). Значения, преобразованные в объекты, никогда не будут одинаковыми. Воспользуйтесь методом AreEqual(). {0}". + + + + + Ищет локализованную строку, похожую на "Сбой {0}. {1}". + + + + + Ищет локализованную строку, аналогичную "Асинхронный метод TestMethod с UITestMethodAttribute не поддерживается. Удалите async или используйте TestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Обе коллекции пусты. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы". + + + + + Ищет локализованную строку, похожую на "Ссылки на обе коллекции указывают на один объект коллекции. {0}". + + + + + Ищет локализованную строку, похожую на "Обе коллекции содержат одинаковые элементы. {0}". + + + + + Ищет локализованную строку, похожую на "{0}({1})". + + + + + Ищет локализованную строку, похожую на "(NULL)". + + + + + Ищет локализованную строку, похожую на "(объект)". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не содержит строку "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "{0} ({1})". + + + + + Ищет локализованную строку, похожую на "Assert.Equals не следует использовать для Assertions. Используйте Assert.AreEqual и переопределения". + + + + + Ищет локализованную строку, похожую на "Число элементов в коллекциях не совпадает. Ожидаемое число: <{1}>. Фактическое: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {0} не соответствует". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет непредвиденный тип. Ожидаемый тип: <{2}>. Фактический тип: <{3}>.{0}". + + + + + Ищет локализованную строку, похожую на "Элемент с индексом {1} имеет значение (NULL). Ожидаемый тип: <{2}>.{0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не заканчивается строкой "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Недопустимый аргумент — EqualsTester не может использовать значения NULL". + + + + + Ищет локализованную строку, похожую на "Невозможно преобразовать объект типа {0} в {1}". + + + + + Ищет локализованную строку, похожую на "Внутренний объект, на который была сделана ссылка, более не действителен". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. {1}". + + + + + Ищет локализованную строку, похожую на "Свойство {0} имеет тип {1}; ожидаемый тип: {2}". + + + + + Ищет локализованную строку, похожую на "{0} Ожидаемый тип: <{1}>. Фактический тип: <{2}>". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Неправильный тип: <{1}>. Фактический тип: <{2}>. {0}". + + + + + Ищет локализованную строку, похожую на "Строка "{0}" соответствует шаблону "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Не указан атрибут DataRowAttribute. Необходимо указать как минимум один атрибут DataRowAttribute с атрибутом DataTestMethodAttribute". + + + + + Ищет локализованную строку, похожую на "Исключение не было создано. Ожидалось исключение {1}. {0}". + + + + + Ищет локализованную строку, похожую на "Параметр "{0}" недопустим. Значение не может быть равно NULL. {1}". + + + + + Ищет локализованную строку, похожую на "Число элементов различается". + + + + + Ищет локализованную строку, похожую на + "Не удалось найти конструктор с указанной сигнатурой. Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор класса PrivateObject". + . + + + + + Ищет локализованную строку, похожую на + "Не удалось найти указанный элемент ({0}). Возможно, потребуется повторно создать закрытый метод доступа, + или элемент может быть закрытым и определяться в базовом классе. В последнем случае необходимо передать тип, + определяющий элемент, в конструктор PrivateObject". + . + + + + + Ищет локализованную строку, похожую на "Строка "{0}" не начинается со строки "{1}". {2}". + + + + + Ищет локализованную строку, похожую на "Ожидаемое исключение должно иметь тип System.Exception или производный от него тип". + + + + + Ищет локализованную строку, похожую на "(Не удалось получить сообщение для исключения типа {0} из-за исключения.)". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал ожидаемое исключение {0}. {1}". + + + + + Ищет локализованную строку, похожую на "Метод теста не создал исключение. Исключение ожидалось атрибутом {0}, определенным в методе теста". + + + + + Ищет локализованную строку, похожую на "Метод теста создан исключение {0}, а ожидалось исключение {1}. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Метод теста создал исключение {0}, а ожидалось исключение {1} или производный от него тип. Сообщение исключения: {2}". + + + + + Ищет локализованную строку, похожую на "Создано исключение {2}, а ожидалось исключение {1}. {0} + Сообщение исключения: {3} + Стек трассировки: {4}". + + + + + результаты модульного теста + + + + + Тест был выполнен, но при его выполнении возникли проблемы. + Эти проблемы могут включать исключения или сбой утверждений. + + + + + Тест завершен, но результат его завершения неизвестен. + Может использоваться для прерванных тестов. + + + + + Тест был выполнен без проблем. + + + + + Тест выполняется в данный момент. + + + + + При попытке выполнения теста возникла ошибка в системе. + + + + + Время ожидания для теста истекло. + + + + + Тест прерван пользователем. + + + + + Тест находится в неизвестном состоянии + + + + + Предоставляет вспомогательные функции для платформы модульных тестов + + + + + Получает сообщения с исключениями, включая сообщения для всех внутренних исключений + (рекурсивно) + + Исключение, для которого следует получить сообщения + строка с сообщением об ошибке + + + + Перечисление для времен ожидания, которое можно использовать с классом . + Тип перечисления должен соответствовать + + + + + Бесконечно. + + + + + Атрибут тестового класса. + + + + + Получает атрибут метода теста, включающий выполнение этого теста. + + Для этого метода определен экземпляр атрибута метода теста. + + для использования для выполнения этого теста. + Extensions can override this method to customize how all methods in a class are run. + + + + Атрибут метода теста. + + + + + Выполняет метод теста. + + Выполняемый метод теста. + Массив объектов TestResult, представляющих результаты теста. + Extensions can override this method to customize running a TestMethod. + + + + Атрибут инициализации теста. + + + + + Атрибут очистки теста. + + + + + Атрибут игнорирования. + + + + + Атрибут свойства теста. + + + + + Инициализирует новый экземпляр класса . + + + Имя. + + + Значение. + + + + + Получает имя. + + + + + Получает значение. + + + + + Атрибут инициализации класса. + + + + + Атрибут очистки класса. + + + + + Атрибут инициализации сборки. + + + + + Атрибут очистки сборки. + + + + + Владелец теста + + + + + Инициализирует новый экземпляр класса . + + + Владелец. + + + + + Получает владельца. + + + + + Атрибут Priority; используется для указания приоритета модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Приоритет. + + + + + Получает приоритет. + + + + + Описание теста + + + + + Инициализирует новый экземпляр класса для описания теста. + + Описание. + + + + Получает описание теста. + + + + + URI структуры проекта CSS + + + + + Инициализирует новый экземпляр класса для URI структуры проекта CSS. + + URI структуры проекта CSS. + + + + Получает URI структуры проекта CSS. + + + + + URI итерации CSS + + + + + Инициализирует новый экземпляр класса для URI итерации CSS. + + URI итерации CSS. + + + + Получает URI итерации CSS. + + + + + Атрибут WorkItem; используется для указания рабочего элемента, связанного с этим тестом. + + + + + Инициализирует новый экземпляр класса для атрибута WorkItem. + + Идентификатор рабочего элемента. + + + + Получает идентификатор связанного рабочего элемента. + + + + + Атрибут Timeout; используется для указания времени ожидания модульного теста. + + + + + Инициализирует новый экземпляр класса . + + + Время ожидания. + + + + + Инициализирует новый экземпляр класса с заданным временем ожидания + + + Время ожидания + + + + + Получает время ожидания. + + + + + Объект TestResult, который возвращается адаптеру. + + + + + Инициализирует новый экземпляр класса . + + + + + Получает или задает отображаемое имя результата. Удобно для возврата нескольких результатов. + Если параметр равен NULL, имя метода используется в качестве DisplayName. + + + + + Получает или задает результат выполнения теста. + + + + + Получает или задает исключение, создаваемое, если тест не пройден. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает выходные данные сообщения, записываемого кодом теста. + + + + + Получает или задает трассировки отладки для кода теста. + + + + + Gets or sets the debug traces by test code. + + + + + Получает или задает продолжительность выполнения теста. + + + + + Возвращает или задает индекс строки данных в источнике данных. Задается только для результатов выполнения + отдельных строк данных для теста, управляемого данными. + + + + + Получает или задает возвращаемое значение для метода теста. (Сейчас всегда равно NULL.) + + + + + Возвращает или задает файлы результатов, присоединенные во время теста. + + + + + Задает строку подключения, имя таблицы и метод доступа к строкам для тестов, управляемых данными. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + Имя поставщика по умолчанию для DataSource. + + + + + Метод доступа к данным по умолчанию. + + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных, строкой подключения, таблицей данных и методом доступа к данным для доступа к источнику данных. + + Имя инвариантного поставщика данных, например System.Data.SqlClient + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + Задает порядок доступа к данным. + + + + Инициализирует новый экземпляр класса . Этот экземпляр будет инициализирован с строкой подключения и именем таблицы. + Укажите строку подключения и таблицу данных для доступа к источнику данных OLEDB. + + + Строка подключения для поставщика данных. + Внимание! Строка подключения может содержать конфиденциальные данные (например, пароль). + Строка подключения хранится в виде открытого текста в исходном коде и в скомпилированной сборке. + Ограничьте доступ к исходному коду и сборке для защиты конфиденциальных данных. + + Имя таблицы данных. + + + + Инициализирует новый экземпляр класса . Этот экземпляр инициализируется с поставщиком данных и строкой подключения, связанной с именем параметра. + + Имя источника данных, обнаруженного в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + Получает значение, представляющее поставщик данных для источника данных. + + + Имя поставщика данных. Если поставщик данных не был определен при инициализации объекта, будет возвращен поставщик по умолчанию, System.Data.OleDb. + + + + + Получает значение, представляющее строку подключения для источника данных. + + + + + Получает значение с именем таблицы, содержащей данные. + + + + + Возвращает метод, используемый для доступа к источнику данных. + + + + Один из значений. Если не инициализировано, возвращается значение по умолчанию . + + + + + Возвращает имя источника данных, обнаруженное в разделе <microsoft.visualstudio.qualitytools> файла app.config. + + + + + Атрибут для тестов, управляемых данными, в которых данные могут быть встроенными. + + + + + Найти все строки данных и выполнить. + + + Метод теста. + + + Массив . + + + + + Выполнение метода теста, управляемого данными. + + Выполняемый метод теста. + Строка данных. + Результаты выполнения. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..a51256086 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + Test başına dağıtım için dağıtım öğesi (dosya veya dizin) belirtmek üzere kullanılır. + Test sınıfında veya test metodunda belirtilebilir. + Birden fazla öğe belirtmek için özniteliğin birden fazla örneğini içerebilir. + Öğe yolu mutlak veya göreli olabilir; göreli ise RunConfig.RelativePathRoot ile görelidir. + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + sınıfının yeni bir örneğini başlatır. + + Dağıtılacak dosya veya dizin. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + + + + sınıfının yeni bir örneğini başlatır + + Dağıtılacak dosya veya dizinin göreli ya da mutlak yolu. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır. + Öğelerin kopyalanacağı dizinin yolu. Dağıtım dizinine göre mutlak veya göreli olabilir. Tüm dosyalar ve dizinler şuna göre tanımlanır: bu dizine kopyalanacak. + + + + Kopyalanacak kaynak dosya veya klasörün yolunu alır. + + + + + Öğenin kopyalandığı dizinin yolunu alır. + + + + + Windows mağazası uygulamaları için UI iş parçacığında test kodunu çalıştırır. + + + + + UI İş Parçacığında test metodunu çalıştırır. + + + Test metodu. + + + Bir örnekler. + + Throws when run on an async test method. + + + + + TestContext sınıfı. Bu sınıf tamamen soyut olmalı ve herhangi bir üye + içermemelidir. Üyeler bağdaştırıcı tarafından uygulanır. Çerçevedeki kullanıcılar + buna yalnızca iyi tanımlanmış bir arabirim üzerinden erişmelidir. + + + + + Bir testin test özelliklerini alır. + + + + + O anda yürütülen test metodunu içeren sınıfın tam adını alır + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + Yürütülmekte olan test metodunun Adını alır + + + + + Geçerli test sonucunu alır. + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..b7a00291b --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + Yürütülecek TestMethod. + + + + + Test metodunun adını alır. + + + + + Test sınıfının adını alır. + + + + + Test metodunun dönüş türünü alır. + + + + + Test metodunun parametrelerini alır. + + + + + Test metodu için methodInfo değerini alır. + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + Test metodunu çağırır. + + + Test metoduna geçirilecek bağımsız değişkenler. (Örn. Veri temelli için) + + + Test yöntemi çağırma sonucu. + + + This call handles asynchronous test methods as well. + + + + + Test metodunun tüm özniteliklerini alır. + + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Tüm öznitelikler. + + + + + Belirli bir türdeki özniteliği alır. + + System.Attribute type. + + Üst sınıfta tanımlanan özniteliğin geçerli olup olmadığını belirtir. + + + Belirtilen türün öznitelikleri. + + + + + Yardımcı. + + + + + Denetim parametresi null değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws argument null exception when parameter is null. + + + + Denetim parametresi null veya boş değil. + + + Parametre. + + + Parametre adı. + + + İleti. + + Throws ArgumentException when parameter is null. + + + + Veri tabanlı testlerde veri satırlarına erişme şekline yönelik sabit listesi. + + + + + Satırlar sıralı olarak döndürülür. + + + + + Satırlar rastgele sırayla döndürülür. + + + + + Bir test metodu için satır içi verileri tanımlayan öznitelik. + + + + + sınıfının yeni bir örneğini başlatır. + + Veri nesnesi. + + + + Bir bağımsız değişken dizisi alan sınıfının yeni bir örneğini başlatır. + + Bir veri nesnesi. + Daha fazla veri. + + + + Çağıran test metodu verilerini alır. + + + + + Özelleştirme için test sonuçlarında görünen adı alır veya ayarlar. + + + + + Onay sonuçlandırılmadı özel durumu. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + InternalTestFailureException sınıfı. Bir test çalışmasının iç hatasını belirtmek için kullanılır + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + Özel durum iletisi. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Belirtilen türde bir özel durum beklemeyi belirten öznitelik + + + + + Beklenen tür ile sınıfının yeni bir örneğini başlatır + + Beklenen özel durum türü + + + + Beklenen tür ve test tarafından özel durum oluşturulmadığında eklenecek ileti ile sınıfının + yeni bir örneğini başlatır. + + Beklenen özel durum türü + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna dahil edilecek ileti + + + + + Beklenen özel durumun Türünü belirten bir değer alır + + + + + Beklenen özel durumun türünden türetilmiş türlerin beklenen özel durum türü olarak değerlendirilmesine izin verilip verilmeyeceğini + belirten değeri alır veya ayarlar + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Birim testi tarafından oluşturulan özel durum türünün beklendiğini doğrular + + Birim testi tarafından oluşturulan özel durum + + + + Birim testinden bir özel durum beklemek için belirtilen özniteliklerin temel sınıfı + + + + + Varsayılan bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + + + Bir 'özel durum yok' iletisi ile sınıfının yeni bir örneğini başlatır + + + Test bir özel durum oluşturmama nedeniyle başarısız olursa test sonucuna + dahil edilecek özel durum + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Özel durum oluşturulamaması nedeniyle testin başarısız olması durumunda, test sonucuna dahil edilecek olan iletiyi alır + + + + + Varsayılan 'özel durum yok' iletisini alır + + ExpectedException özniteliği tür adı + Özel durum olmayan varsayılan ileti + + + + Özel durumun beklenip beklenmediğini belirler. Metot dönüş yapıyorsa, özel + durumun beklendiği anlaşılır. Metot bir özel durum oluşturuyorsa, özel durumun + beklenmediği anlaşılır ve oluşturulan özel durumun iletisi test sonucuna + eklenir. Kolaylık sağlamak amacıyla sınıfı kullanılabilir. + kullanılırsa ve onaylama başarısız olursa, + test sonucu Belirsiz olarak ayarlanır. + + Birim testi tarafından oluşturulan özel durum + + + + Özel durum bir AssertFailedException veya AssertInconclusiveException ise özel durumu yeniden oluşturur + + Bir onaylama özel durumu ise yeniden oluşturulacak özel durum + + + + Bu sınıf, kullanıcının genel türler kullanan türlere yönelik birim testleri yapmasına yardımcı olmak üzere tasarlanmıştır. + GenericParameterHelper bazı genel tür kısıtlamalarını yerine getirir; + örneğin: + 1. genel varsayılan oluşturucu + 2. ortak arabirim uygular: IComparable, IEnumerable + + + + + sınıfının C# genel türlerindeki 'newable' + kısıtlamasını karşılayan yeni bir örneğini başlatır. + + + This constructor initializes the Data property to a random value. + + + + + sınıfının, Data özelliğini kullanıcı + tarafından sağlanan bir değerle başlatan yeni bir örneğini başlatır. + + Herhangi bir tamsayı değeri + + + + Verileri alır veya ayarlar + + + + + İki GenericParameterHelper nesnesi için değer karşılaştırması yapar + + karşılaştırma yapılacak nesne + nesne bu 'this' GenericParameterHelper nesnesiyle aynı değere sahipse true. + aksi takdirde false. + + + + Bu nesne için bir karma kod döndürür. + + Karma kod. + + + + İki nesnesinin verilerini karşılaştırır. + + Karşılaştırılacak nesne. + + Bu örnek ve değerin göreli değerlerini gösteren, işaretli sayı. + + + Thrown when the object passed in is not an instance of . + + + + + Uzunluğu Data özelliğinden türetilmiş bir IEnumerator nesnesi + döndürür. + + IEnumerator nesnesi + + + + Geçerli nesneye eşit olan bir GenericParameterHelper nesnesi + döndürür. + + Kopyalanan nesne. + + + + Kullanıcıların tanılama amacıyla birim testlerindeki izlemeleri günlüğe kaydetmesini/yazmasını sağlar. + + + + + LogMessage işleyicisi. + + Günlüğe kaydedilecek ileti. + + + + Dinlenecek olay. Birim testi yazıcı bir ileti yazdığında oluşturulur. + Genellikle bağdaştırıcı tarafından kullanılır. + + + + + İletileri günlüğe kaydetmek için çağrılacak test yazıcısı API'si. + + Yer tutucuları olan dize biçimi. + Yer tutucu parametreleri. + + + + TestCategory özniteliği; bir birim testinin kategorisini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır ve kategoriyi teste uygular. + + + Test Kategorisi. + + + + + Teste uygulanan test kategorilerini alır. + + + + + "Category" özniteliğinin temel sınıfı + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + sınıfının yeni bir örneğini başlatır. + Kategoriyi teste uygular. TestCategories tarafından döndürülen + dizeler /category komutu içinde testleri filtrelemek için kullanılır + + + + + Teste uygulanan test kategorisini alır. + + + + + AssertFailedException sınıfı. Test çalışmasının başarısız olduğunu göstermek için kullanılır + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + sınıfının yeni bir örneğini başlatır. + + + + + Birim testleri içindeki çeşitli koşulları test etmeye yönelik yardımcı + sınıf koleksiyonu. Test edilen koşul karşılanmazsa bir özel durum + oluşturulur. + + + + + Assert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Thrown if is false. + + + + + Belirtilen koşulun true olup olmadığını test eder ve koşul false ise + bir özel durum oluşturur. + + + Testte true olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + false. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is false. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Thrown if is true. + + + + + Belirtilen koşulun false olup olmadığını test eder ve koşul true ise + bir özel durum oluşturur. + + + Testte false olması beklenen koşul. + + + Şu durumda özel duruma dahil edilecek ileti + true. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is true. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Thrown if is not null. + + + + + Belirtilen nesnenin null olup olmadığını test eder ve değilse bir + özel durum oluşturur. + + + Testte null olması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null değil. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Thrown if is null. + + + + + Belirtilen dizenin null olup olmadığını test eder ve null ise bir özel durum + oluşturur. + + + Testte null olmaması beklenen nesne. + + + Şu durumda özel duruma dahil edilecek ileti + null. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null. + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen her iki nesnenin de aynı nesneye başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvurmuyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte beklenen değerdir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı değil: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not refer to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Thrown if refers to the same object + as . + + + + + Belirtilen nesnelerin farklı nesnelere başvurup başvurmadığını test eder + ve iki giriş aynı nesneye başvuruyorsa bir özel durum oluşturur. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynıdır: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if refers to the same object + as . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is not equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değer beklenir. + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen değerlerin eşit olup olmadığını test eder ve iki değer eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + The type of values to compare. + + + Karşılaştırılacak birinci değer. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci değer. Test kapsamındaki kod tarafından bu değer oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşit değilse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte beklenen nesnedir. + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen nesnelerin eşit olup olmadığını test eder ve iki nesne eşitse + bir özel durum oluşturur. Mantıksal değerleri eşit olsa bile + farklı sayısal türler eşit değil olarak kabul edilir. 42L, 42'ye eşit değildir. + + + Karşılaştırılacak birinci nesne. Testte bu değerin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci nesne. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci kayan nokta. Testte bu kayan nokta beklenir. + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen float'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak ilk kayan nokta. Testte bu kayan noktanın + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci kayan nokta. Test kapsamındaki kod tarafından bu nesne oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Thrown if is not equal to + . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşit değilse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çift beklenir. + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + şundan fazla: . + + + Şu durumda özel duruma dahil edilecek ileti + şundan farklıdır: şundan fazla: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen double'ların eşit olup olmadığını test eder ve eşitse + bir özel durum oluşturur. + + + Karşılaştırılacak birinci çift. Testte bu çiftin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci çift. Test kapsamındaki kod tarafından bu çift oluşturulur. + + + Gerekli doğruluk. Yalnızca şu durumlarda bir özel durum oluşturulur: + şundan farklı: + en fazla . + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: veya şu değerden daha az farklı: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşit değilse bir + özel durum oluşturur. + + + Karşılaştırılacak ilk dize. Testte bu dize beklenir. + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. Karşılaştırma için sabit kültür kullanılır. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen dizelerin eşit olup olmadığını test eder ve eşitse bir özel durum + oluşturur. + + + Karşılaştırılacak birinci dize. Testte bu dizenin eşleşmemesi + beklenir . + + + Karşılaştırılacak ikinci dize. Bu dize test kapsamındaki kod tarafından oluşturulur. + + + Büyük/küçük harfe duyarlı veya duyarsız bir karşılaştırmayı gösteren Boole değeri. (true + değeri büyük/küçük harfe duyarsız bir karşılaştırmayı belirtir.) + + + Kültüre özel karşılaştırma bilgileri veren bir CultureInfo nesnesi. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin beklenen türde bir örnek olup olmadığını test eder ve + beklenen tür, nesnenin devralma hiyerarşisinde değilse + bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen nesne. + + + Beklenen tür:. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneği değil: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Belirtilen nesnenin yanlış türde bir örnek olup olmadığını test eder + ve belirtilen tür nesnenin devralma hiyerarşisinde ise + bir özel durum oluşturur. + + + Testte beklenen türde olmaması beklenen nesne. + + + Tür olmamalıdır. + + + Şu durumda özel duruma dahil edilecek ileti + şunun bir örneğidir: . İleti test + sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + Bir AssertFailedException oluşturur. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertFailedException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Always thrown. + + + + + Bir AssertInconclusiveException oluşturur. + + + Özel duruma eklenecek ileti. İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Always thrown. + + + + + Statik eşit aşırı yüklemeler iki türün örneklerini başvuru eşitliği bakımından + karşılaştırmak için kullanılır. Bu metot iki örneği eşitlik bakımından karşılaştırmak için + kullanılmamalıdır. Bu nesne her zaman Assert.Fail ile oluşturulur. + Lütfen birim testlerinizde Assert.AreEqual ve ilişkili aşırı yüklemelerini kullanın. + + Nesne A + Nesne B + Her zaman false. + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Şu durumda özel duruma dahil edilecek ileti + şu türde bir özel durum oluşturmaz: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Oluşturulması beklenen özel durum türü. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa + + AssertFailedException + + oluşturur. + + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + temsilcisi tarafından belirtilen kodun tam olarak belirtilen türündeki (türetilmiş bir türde olmayan) özel durumu + oluşturup oluşturmadığını test eder ve kod özel durum oluşturmuyorsa veya türünden başka bir türde özel durum oluşturuyorsa AssertFailedException oluşturur. + + Test edilecek ve özel durum oluşturması beklenen kodun temsilcisi. + + Şu durumda özel duruma dahil edilecek ileti + tarafından şu türde özel durum oluşturulmadığı durumlarda oluşturulur: . + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + Bir temsilciyi çalıştırıyor. + + + + + Null karakterleri ('\0'), "\\0" ile değiştirir. + + + Aranacak dize. + + + Null karakterler içeren dönüştürülmüş dize "\\0" ile değiştirildi. + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + AssertionFailedException oluşturan yardımcı işlev + + + özel durum oluşturan onaylamanın adı + + + onaylama hatası koşullarını açıklayan ileti + + + Parametreler. + + + + + Parametreyi geçerli koşullar için denetler + + + Parametre. + + + Onaylama Adı. + + + parametre adı + + + iletisi geçersiz parametre özel durumu içindir + + + Parametreler. + + + + + Bir nesneyi güvenli bir şekilde dizeye dönüştürür, null değerleri ve null karakterleri işler. + Null değerler "(null)" değerine dönüştürülür. Null karakterler "\\0" değerine dönüştürülür. + + + Dizeye dönüştürülecek nesne. + + + Dönüştürülmüş dize. + + + + + Dize onayı. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyi içerip içermediğini test eder + ve alt dize test dizesinin içinde geçmiyorsa bir özel durum + oluşturur. + + + Şunu içermesi beklenen dize . + + + Şunun içinde gerçekleşmesi beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle başlayıp başlamadığını test eder + ve test dizesi alt dizeyle başlamıyorsa bir özel durum + oluşturur. + + + Şununla başlaması beklenen dize . + + + Şunun ön eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla başlamıyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not begin with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Thrown if does not end with + . + + + + + Belirtilen dizenin belirtilen alt dizeyle bitip bitmediğini test eder + ve test dizesi alt dizeyle bitmiyorsa bir özel durum + oluşturur. + + + Dizenin şununla bitmesi beklenir: . + + + Şunun son eki olması beklenen dize: . + + + Şu durumda özel duruma dahil edilecek ileti + şununla bitmiyor: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not end with + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşmiyorsa bir özel durum oluşturur. + + + Eşleşmesi beklenen dize . + + + Normal ifade: eşleşmesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşmiyor . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if does not match + . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Thrown if matches . + + + + + Belirtilen dizenin bir normal ifadeyle eşleşip eşleşmediğini test eder + ve dize ifadeyle eşleşiyorsa bir özel durum oluşturur. + + + Eşleşmemesi beklenen dize . + + + Normal ifade: eşleşmemesi + bekleniyor. + + + Şu durumda özel duruma dahil edilecek ileti + eşleşme . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if matches . + + + + + Birim testleri içindeki koleksiyonlarla ilişkili çeşitli koşulları test etmeye + yönelik yardımcı sınıf koleksiyonu. Test edilen koşul karşılanmazsa + bir özel durum oluşturulur. + + + + + CollectionAssert işlevselliğinin tekil örneğini alır. + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda değilse bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içinde değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Thrown if is found in + . + + + + + Belirtilen koleksiyonun belirtilen öğeyi içerip içermediğini test eder + ve öğe koleksiyonda bulunuyorsa bir özel durum oluşturur. + + + Öğenin aranacağı koleksiyon. + + + Koleksiyonda olmaması beklenen öğe. + + + Şu durumda özel duruma dahil edilecek ileti + şunun içindedir: . İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin null dışında değere sahip olup + olmadığını test eder ve herhangi bir öğe null ise özel durum oluşturur. + + + İçinde null öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + bir null öğe içeriyor. İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a null element is found in . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Thrown if a two or more equal elements are found in + . + + + + + Belirtilen koleksiyondaki tüm öğelerin benzersiz olup olmadığını test eder + ve koleksiyondaki herhangi iki öğe eşitse özel durum oluşturur. + + + Yinelenen öğelerin aranacağı koleksiyon. + + + Şu durumda özel duruma dahil edilecek ileti + en az bir yinelenen öğe içeriyor. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if a two or more equal elements are found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki herhangi bir öğe aynı zamanda üst kümede + yoksa bir özel durum oluşturur. + + + Şunun alt kümesi olması beklenen koleksiyon: . + + + Şunun üst kümesi olması beklenen koleksiyon: + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şurada bulunmuyor: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is not found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Thrown if every element in is also found in + . + + + + + Bir koleksiyonun başka bir koleksiyona ait alt küme olup olmadığını + test eder ve alt kümedeki tüm öğeler aynı zamanda üst kümede + bulunuyorsa bir özel durum oluşturur. + + + Şunun alt kümesi olmaması beklenen koleksiyon: . + + + Şunun üst kümesi olmaması beklenen koleksiyon: + + + Mesajın özel duruma dahil edilmesi için şuradaki her öğe: + ayrıca şurada bulunur: . + İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if every element in is also found in + . + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun aynı öğeleri içerip içermediğini test eder ve koleksiyonlardan + biri diğer koleksiyonda olmayan bir öğeyi içeriyorsa özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte beklenen öğeleri + içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Bir öğe koleksiyonlardan birinde varken diğerinde olmadığında + özel duruma eklenecek ileti. İleti, test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element was found in one of the collections but not + the other. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + İki koleksiyonun farklı öğeler içerip içermediğini test eder ve iki koleksiyon + sıraya bakılmaksızın aynı öğeleri içeriyorsa bir özel durum + oluşturur. + + + Karşılaştırılacak birinci koleksiyon. Testte gerçek koleksiyondan farklı olması beklenen + öğeleri içerir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından + bu koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şununla aynı öğeleri içerir: . İleti + test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyondaki tüm öğelerin beklenen türde örnekler + olup olmadığını test eder ve beklenen tür bir veya daha fazla öğenin + devralma hiyerarşisinde değilse bir özel durum oluşturur. + + + Testte belirtilen türde olması beklenen öğeleri içeren + koleksiyon. + + + Her öğe için beklenen tür . + + + İletinin özel duruma dahil edilmesi için şuradaki bir öğe: + şunun bir örneği değil: + . İleti test sonuçlarında gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon + eşit değilse bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve aynı miktarda + sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyon beklenir. + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti + şuna eşit değil: . İleti test sonuçlarında + gösterilir. + + + Biçimlendirme sırasında kullanılacak parametre dizisi . + + + Thrown if is not equal to + . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Thrown if is equal to . + + + + + Belirtilen koleksiyonların eşit olup olmadığını test eder ve iki koleksiyon eşitse + bir özel durum oluşturur. Eşitlik aynı öğelere aynı sırayla ve + aynı miktarda sahip olunması olarak tanımlanır. Aynı değere yönelik farklı başvurular + eşit olarak kabul edilir. + + + Karşılaştırılacak birinci koleksiyon. Testte bu koleksiyonun + eşleşmemesi beklenir . + + + Karşılaştırılacak ikinci koleksiyon. Test kapsamındaki kod tarafından bu + koleksiyon oluşturulur. + + + Koleksiyonun öğeleri karşılaştırılırken kullanılacak karşılaştırma uygulaması. + + + Şu durumda özel duruma dahil edilecek ileti: + şuna eşittir: . İleti test sonuçlarında + gösterilir. + + + Şu parametre biçimlendirilirken kullanılacak parametre dizisi: . + + + Thrown if is equal to . + + + + + Birinci koleksiyonun ikinci koleksiyona ait bir alt küme olup + olmadığını belirler. Kümelerden biri yinelenen öğeler içeriyorsa, + öğenin alt kümedeki oluşum sayısı üst kümedeki oluşum sayısına + eşit veya bu sayıdan daha az olmalıdır. + + + Testin içinde bulunmasını beklediği koleksiyon . + + + Testin içermesini beklediği koleksiyon . + + + Şu durumda true: şunun bir alt kümesidir: + , aksi takdirde false. + + + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren bir + sözlük oluşturur. + + + İşlenecek koleksiyon. + + + Koleksiyondaki null öğe sayısı. + + + Belirtilen koleksiyondaki her öğenin oluşum sayısını içeren + bir sözlük. + + + + + İki koleksiyon arasında eşleşmeyen bir öğe bulur. Eşleşmeyen öğe, + beklenen koleksiyonda gerçek koleksiyondakinden farklı sayıda görünen + öğedir. Koleksiyonların, + aynı sayıda öğeye sahip null olmayan farklı başvurular olduğu + varsayılır. Bu doğrulama düzeyinden + çağıran sorumludur. Eşleşmeyen bir öğe yoksa işlev + false değerini döndürür ve dış parametreler kullanılmamalıdır. + + + Karşılaştırılacak birinci koleksiyon. + + + Karşılaştırılacak ikinci koleksiyon. + + + Şunun için beklenen oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Gerçek oluşma sayısı: + veya uyumsuz öğe yoksa + 0. + + + Uyumsuz öğe (null olabilir) veya uyumsuz bir + öğe yoksa null. + + + uyumsuz bir öğe bulunduysa true; aksi takdirde false. + + + + + object.Equals kullanarak nesneleri karşılaştırır + + + + + Çerçeve Özel Durumları için temel sınıf. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + Özel durum. + + + + sınıfının yeni bir örneğini başlatır. + + İleti. + + + + Yerelleştirilmiş dizeleri aramak gibi işlemler için, türü kesin olarak belirtilmiş kaynak sınıfı. + + + + + Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. + + + + + Türü kesin olarak belirlenmiş bu kaynak sınıfını kullanan + tüm kaynak aramaları için geçerli iş parçacığının CurrentUICulture özelliğini geçersiz kılar. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Erişim dizesinde geçersiz söz dizimi var. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen koleksiyon {1} <{2}> oluşumu içeriyor. Gerçek koleksiyon {3} oluşum içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yinelenen öğe bulundu:<{1}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek değer için büyük/küçük harf kullanımı farklı:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında en fazla <{3}> fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1} ({2})>. Gerçek:<{3} ({4})>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen:<{1}>. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen <{1}> değeri ile gerçek <{2}> değeri arasında <{3}> değerinden büyük bir fark bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: <{1}> dışında bir değer bekleniyordu. Gerçek:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Değer türlerini AreSame() metoduna geçirmeyin. Object türüne dönüştürülen değerler hiçbir zaman aynı olmaz. AreEqual(). kullanmayı deneyin {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} başarısız oldu. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: UITestMethodAttribute özniteliğine sahip async TestMethod metodu desteklenmiyor. async ifadesini kaldırın ya da TestMethodAttribute özniteliğini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da boş. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon başvurusu da aynı koleksiyon nesnesini işaret ediyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Her iki koleksiyon da aynı öğeleri içeriyor. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0}({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: null. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: nesne. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesini içermiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} ({1}). + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Assert.Equals, Onaylamalar için kullanılmamalıdır. Lütfen bunun yerine Assert.AreEqual ve aşırı yüklemelerini kullanın. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Koleksiyonlardaki öğe sayıları eşleşmiyor. Beklenen:<{1}>. Gerçek:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} dizinindeki öğe eşleşmiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {1} dizinindeki öğe beklenen türde değil. Beklenen tür:<{2}>. Gerçek tür:<{3}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dizeyi arar: {1} dizinindeki öğe (null). Beklenen tür:<{2}>.{0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle bitmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Geçersiz bağımsız değişken. EqualsTester null değerler kullanamaz. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} türündeki nesne {1} türüne dönüştürülemiyor. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Başvurulan iç nesne artık geçerli değil. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} özelliği {1} türüne sahip; beklenen tür {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {0} Beklenen tür:<{1}>. Gerçek tür:<{2}>. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşmiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Yanlış Tür:<{1}>. Gerçek tür:<{2}>. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' deseniyle eşleşiyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: No DataRowAttribute belirtilmedi. DataTestMethodAttribute ile en az bir DataRowAttribute gereklidir. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Özel durum oluşturulmadı. {1} özel durumu bekleniyordu. {0}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' parametresi geçersiz. Değer null olamaz. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Farklı sayıda öğe. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen imzaya sahip oluşturucu bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi + tanımlayan türü PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: + Belirtilen üye ({0}) bulunamadı. Özel erişimcinizi yeniden oluşturmanız gerekebilir + veya üye özel ve bir temel sınıfta tanımlanmış olabilir. İkinci durum geçerliyse üyeyi tanımlayan türü + PrivateObject oluşturucusuna geçirmeniz gerekir. + . + + + + + Şuna benzer bir yerelleştirilmiş dize arar: '{0}' dizesi '{1}' dizesiyle başlamıyor. {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Beklenen özel durum türü System.Exception veya System.Exception'dan türetilmiş bir tür olmalıdır. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Bir özel durum nedeniyle {0} türündeki özel durum için ileti alınamadı. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu beklenen {0} özel durumunu oluşturmadı. {1}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu bir özel durum oluşturmadı. Test metodunda tanımlanan {0} özniteliği tarafından bir özel durum bekleniyordu. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: Test metodu {0} özel durumunu oluşturdu, ancak {1} özel durumu veya bundan türetilmiş bir tür bekleniyordu. Özel durum iletisi: {2}. + + + + + Şuna benzer bir yerelleştirilmiş dize arar: {2} özel durumu oluşturuldu, ancak {1} özel durumu bekleniyordu. {0} + Özel Durum İletisi: {3} + Yığın İzleme: {4}. + + + + + birim testi sonuçları + + + + + Test yürütüldü ancak sorunlar oluştu. + Sorunlar özel durumları veya başarısız onaylamaları içerebilir. + + + + + Test tamamlandı ancak başarılı olup olmadığı belli değil. + İptal edilen testler için kullanılabilir. + + + + + Test bir sorun olmadan yürütüldü. + + + + + Test şu anda yürütülüyor. + + + + + Test yürütülmeye çalışılırken bir sistem hatası oluştu. + + + + + Test zaman aşımına uğradı. + + + + + Test, kullanıcı tarafından iptal edildi. + + + + + Test bilinmeyen bir durumda + + + + + Birim testi çerçevesi için yardımcı işlevini sağlar + + + + + Yinelemeli olarak tüm iç özel durumların iletileri dahil olmak üzere + özel durum iletilerini alır + + Şunun için iletilerin alınacağı özel durum: + hata iletisi bilgilerini içeren dize + + + + Zaman aşımları için sınıfı ile birlikte kullanılabilen sabit listesi. + Sabit listesinin türü eşleşmelidir + + + + + Sonsuz. + + + + + Test sınıfı özniteliği. + + + + + Bu testi çalıştırmayı sağlayan bir test metodu özniteliği alır. + + Bu metot üzerinde tanımlanan test metodu özniteliği örneği. + The bu testi çalıştırmak için kullanılabilir. + Extensions can override this method to customize how all methods in a class are run. + + + + Test metodu özniteliği. + + + + + Bir test metodu yürütür. + + Yürütülecek test metodu. + Testin sonuçlarını temsil eden bir TestResult nesneleri dizisi. + Extensions can override this method to customize running a TestMethod. + + + + Test başlatma özniteliği. + + + + + Test temizleme özniteliği. + + + + + Ignore özniteliği. + + + + + Test özelliği özniteliği. + + + + + sınıfının yeni bir örneğini başlatır. + + + Ad. + + + Değer. + + + + + Adı alır. + + + + + Değeri alır. + + + + + Sınıf başlatma özniteliği. + + + + + Sınıf temizleme özniteliği. + + + + + Bütünleştirilmiş kod başlatma özniteliği. + + + + + Bütünleştirilmiş kod temizleme özniteliği. + + + + + Test Sahibi + + + + + sınıfının yeni bir örneğini başlatır. + + + Sahip. + + + + + Sahibi alır. + + + + + Priority özniteliği; birim testinin önceliğini belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Öncelik. + + + + + Önceliği alır. + + + + + Testin açıklaması + + + + + Bir testi açıklamak için kullanılan sınıfının yeni bir örneğini başlatır. + + Açıklama. + + + + Bir testin açıklamasını alır. + + + + + CSS Proje Yapısı URI'si + + + + + CSS Proje Yapısı URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Proje Yapısı URI'si. + + + + CSS Proje Yapısı URI'sini alır. + + + + + CSS Yineleme URI'si + + + + + CSS Yineleme URI'si için sınıfının yeni bir örneğini başlatır. + + CSS Yineleme URI'si. + + + + CSS Yineleme URI'sini alır. + + + + + WorkItem özniteliği; bu testle ilişkili bir çalışma öğesini belirtmek için kullanılır. + + + + + WorkItem Özniteliği için sınıfının yeni bir örneğini başlatır. + + Bir iş öğesinin kimliği. + + + + İlişkili bir iş öğesinin kimliğini alır. + + + + + Timeout özniteliği; bir birim testinin zaman aşımını belirtmek için kullanılır. + + + + + sınıfının yeni bir örneğini başlatır. + + + Zaman aşımı. + + + + + sınıfının önceden ayarlanmış bir zaman aşımı ile yeni bir örneğini başlatır + + + Zaman aşımı + + + + + Zaman aşımını alır. + + + + + Bağdaştırıcıya döndürülecek TestResult nesnesi. + + + + + sınıfının yeni bir örneğini başlatır. + + + + + Sonucun görünen adını alır veya ayarlar. Birden fazla sonuç döndürürken yararlıdır. + Null ise Metot adı DisplayName olarak kullanılır. + + + + + Test yürütmesinin sonucunu alır veya ayarlar. + + + + + Test başarısız olduğunda oluşturulan özel durumu alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test kodu tarafından günlüğe kaydedilen iletinin çıktısını alır veya ayarlar. + + + + + Test koduna göre hata ayıklama izlemelerini alır veya ayarlar. + + + + + Gets or sets the debug traces by test code. + + + + + Test yürütme süresini alır veya ayarlar. + + + + + Veri kaynağındaki veri satırı dizinini alır veya ayarlar. Yalnızca, veri tabanlı bir testin tek bir veri satırının + çalıştırılmasına ait sonuçlar için ayarlayın. + + + + + Test metodunun dönüş değerini alır veya ayarlar. (Şu anda her zaman null). + + + + + Test tarafından eklenen sonuç dosyalarını alır veya ayarlar. + + + + + Veri tabanlı test için bağlantı dizesini, tablo adını ve satır erişim metodunu belirtir. + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource için varsayılan sağlayıcı adı. + + + + + Varsayılan veri erişimi metodu. + + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı, bağlantı dizesi, veri tablosu ve veri kaynağına erişmek için kullanılan veri erişimi metodu ile başlatılır. + + System.Data.SqlClient gibi değişmez veri sağlayıcısı adı + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + Verilere erişme sırasını belirtir. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir bağlantı dizesi ve tablo adı ile başlatılır. + OLEDB veri kaynağına erişmek için kullanılan bağlantı dizesini ve veri tablosunu belirtin. + + + Veri sağlayıcısına özgü bağlantı dizesi. + UYARI: Bağlantı dizesi, hassas veriler (parola gibi) içerebilir. + Bağlantı dizesi, kaynak kodunda ve derlenmiş bütünleştirilmiş kodda düz metin olarak depolanır. + Bu hassas bilgileri korumak için kaynak koda ve bütünleştirilmiş koda erişimi kısıtlayın. + + Veri tablosunun adı. + + + + sınıfının yeni bir örneğini başlatır. Bu örnek bir veri sağlayıcısı ile ve ayar adıyla ilişkili bir bağlantı dizesi ile başlatılır. + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan veri kaynağının adı. + + + + Veri kaynağının veri sağlayıcısını temsil eden bir değer alır. + + + Veri sağlayıcısı adı. Nesne başlatılırken bir veri sağlayıcısı belirtilmemişse varsayılan System.Data.OleDb sağlayıcısı döndürülür. + + + + + Veri kaynağının bağlantı dizesini temsil eden bir değer alır. + + + + + Verileri sağlayan tablo adını belirten bir değer alır. + + + + + Veri kaynağına erişmek için kullanılan metodu alır. + + + + Bir değerlerdir. Eğer başlatılmazsa, varsayılan değeri döndürür . + + + + + App.config dosyasındaki <microsoft.visualstudio.qualitytools> bölümünde bulunan bir veri kaynağının adını alır. + + + + + Verilerin satır içi belirtilebileceği veri tabanlı testin özniteliği. + + + + + Tüm veri satırlarını bulur ve yürütür. + + + Test Yöntemi. + + + Bir . + + + + + Veri tabanlı test metodunu çalıştırır. + + Yürütülecek test yöntemi. + Veri Satırı. + Yürütme sonuçları. + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..0eaba9227 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用于为预测试部署指定部署项(文件或目录)。 + 可在测试类或测试方法上指定。 + 可使用多个特性实例来指定多个项。 + 项路径可以是绝对路径或相对路径,如果为相对路径,则相对于 RunConfig.RelativePathRoot。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + 初始化 类的新实例。 + + 要部署的文件或目录。路径与生成输出目录相关。将项复制到与已部署测试程序集相同的目录。 + + + + 初始化 类的新实例 + + 要部署的文件或目录的相对路径或绝对路径。该路径相对于生成输出目录。将项复制到与已部署测试程序集相同的目录。 + 要将项复制到其中的目录路径。它可以是绝对部署目录或相对部署目录。所有由以下对象标识的文件和目录: 将复制到此目录。 + + + + 获取要复制的源文件或文件夹的路径。 + + + + + 获取将项复制到其中的目录路径。 + + + + + 在 Windows 应用商店应用的 UI 线程中执行测试代码。 + + + + + 在 UI 线程上执行测试方法。 + + + 测试方法。 + + + 一系列实例。 + + Throws when run on an async test method. + + + + + TestContext 类。此类应完全抽象,且不包含任何 + 成员。适配器将实现成员。框架中的用户应 + 仅通过定义完善的接口对此进行访问。 + + + + + 获取测试的测试属性。 + + + + + 获取包含当前正在执行的测试方法的类的完全限定名称 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 获取当前正在执行的测试方法的名称 + + + + + 获取当前测试结果。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..0ccce3fa9 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用于执行的 TestMethod。 + + + + + 获取测试方法的名称。 + + + + + 获取测试类的名称。 + + + + + 获取测试方法的返回类型。 + + + + + 获取测试方法的参数。 + + + + + 获取测试方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 调用测试方法。 + + + 传递到测试方法的参数(例如,对于数据驱动) + + + 测试方法调用的结果。 + + + This call handles asynchronous test methods as well. + + + + + 获取测试方法的所有属性。 + + + 父类中定义的任何属性都有效。 + + + 所有特性。 + + + + + 获取特定类型的属性。 + + System.Attribute type. + + 父类中定义的任何属性都有效。 + + + 指定类型的属性。 + + + + + 帮助程序。 + + + + + 非 null 的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws argument null exception when parameter is null. + + + + 不为 null 或不为空的检查参数。 + + + 参数。 + + + 参数名称。 + + + 消息。 + + Throws ArgumentException when parameter is null. + + + + 枚举在数据驱动测试中访问数据行的方式。 + + + + + 按连续顺序返回行。 + + + + + 按随机顺序返回行。 + + + + + 用于定义测试方法内联数据的属性。 + + + + + 初始化 类的新实例。 + + 数据对象。 + + + + 初始化采用参数数组的 类的新实例。 + + 一个数据对象。 + 更多数据。 + + + + 获取数据以调用测试方法。 + + + + + 在测试结果中为自定义获取或设置显示名称。 + + + + + 断言无结论异常。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + InternalTestFailureException 类。用来指示测试用例的内部错误 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 类的新实例。 + + 异常消息。 + 异常。 + + + + 初始化 类的新实例。 + + 异常消息。 + + + + 初始化 类的新实例。 + + + + + 指定引发指定类型异常的属性 + + + + + 初始化含有预期类型的 类的新实例 + + 预期异常的类型 + + + + 初始化 类的新实例, + 测试未引发异常时,该类中会包含预期类型和消息。 + + 预期异常的类型 + + 测试由于未引发异常而失败时测试结果中要包含的消息 + + + + + 获取指示预期异常类型的值 + + + + + 获取或设置一个值,指示是否允许将派生自预期异常类型的类型 + 作为预期类型 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 验证由单元测试引发的异常类型是否为预期类型 + + 由单元测试引发的异常 + + + + 指定应从单元测试引发异常的属性基类 + + + + + 初始化含有默认无异常消息的 类的新实例 + + + + + 初始化含有一条无异常消息的 类的新实例 + + + 测试由于未引发异常而失败时测试结果中要包含的 + 消息 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 如果由于未引发异常导致测试失败,获取该消息以将其附加在测试结果中 + + + + + 获取默认无异常消息 + + ExpectedException 特性类型名称 + 默认非异常消息 + + + + 确定该异常是否为预期异常。如果返回了方法,则表示 + 该异常为预期异常。如果方法引发异常,则表示 + 该异常不是预期异常,且引发的异常消息 + 包含在测试结果中。为了方便, + 可使用 类。如果使用了 且断言失败, + 则表示测试结果设置为了“无结论”。 + + 由单元测试引发的异常 + + + + 如果异常为 AssertFailedException 或 AssertInconclusiveException,则再次引发该异常 + + 如果是断言异常则要重新引发的异常 + + + + 此类旨在帮助用户使用泛型类型为类型执行单元测试。 + GenericParameterHelper 满足某些常见的泛型类型限制, + 如: + 1.公共默认构造函数 + 2.实现公共接口: IComparable,IEnumerable + + + + + 初始化 类的新实例, + 该类满足 C# 泛型中的“可续订”约束。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 类的新实例, + 该类将数据属性初始化为用户提供的值。 + + 任意整数值 + + + + 获取或设置数据 + + + + + 比较两个 GenericParameterHelper 对象的值 + + 要进行比较的对象 + 如果 obj 与“此”GenericParameterHelper 对象具有相同的值,则为 true。 + 反之则为 false。 + + + + 为此对象返回哈希代码。 + + 哈希代码。 + + + + 比较两个 对象的数据。 + + 要比较的对象。 + + 有符号的数字表示此实例和值的相对值。 + + + Thrown when the object passed in is not an instance of . + + + + + 返回一个 IEnumerator 对象,该对象的长度派生自 + 数据属性。 + + IEnumerator 对象 + + + + 返回与当前对象相同的 GenericParameterHelper + 对象。 + + 克隆对象。 + + + + 允许用户记录/编写单元测试的跟踪以进行诊断。 + + + + + 用于 LogMessage 的处理程序。 + + 要记录的消息。 + + + + 要侦听的事件。单元测试编写器编写某些消息时引发。 + 主要供适配器使用。 + + + + + 测试编写器要将其调用到日志消息的 API。 + + 带占位符的字符串格式。 + 占位符的参数。 + + + + TestCategory 属性;用于指定单元测试的分类。 + + + + + 初始化 类的新实例并将分类应用到该测试。 + + + 测试类别。 + + + + + 获取已应用到测试的测试类别。 + + + + + "Category" 属性的基类 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 类的新实例。 + 将分类应用到测试。TestCategories 返回的字符串 + 与 /category 命令一起使用,以筛选测试 + + + + + 获取已应用到测试的测试分类。 + + + + + AssertFailedException 类。用于指示测试用例失败 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 初始化 类的新实例。 + + + + + 帮助程序类的集合,用于测试单元测试中 + 的各种条件。如果不满足被测条件,则引发 + 一个异常。 + + + + + 获取 Assert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + Thrown if is false. + + + + + 测试指定条件是否为 true, + 如果该条件为 false,则引发一个异常。 + + + 测试预期为 true 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 false。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is false. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + Thrown if is true. + + + + + 测试指定条件是否为 false,如果条件为 true, + 则引发一个异常。 + + + 测试预期为 false 的条件。 + + + 要包含在异常中的消息,条件是当 + 为 true。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is true. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + Thrown if is not null. + + + + + 测试指定的对象是否为 null,如果不是, + 则引发一个异常。 + + + 测试预期为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 不为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + Thrown if is null. + + + + + 测试指定对象是否非 null,如果为 null, + 则引发一个异常。 + + + 测试预期不为 null 的对象。 + + + 要包含在异常中的消息,条件是当 + 为 null。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null. + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的两个对象是否引用同一对象, + 如果两个输入不引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期的值。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不相同 。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not refer to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + Thrown if refers to the same object + as . + + + + + 测试指定的对象是否引用了不同对象, + 如果两个输入引用同一对象,则引发一个异常。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 相同 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if refers to the same object + as . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is not equal to . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定值是否相等, + 如果两个值不相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期的值。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的值是否不相等, + 如果两个值相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + The type of values to compare. + + + 要比较的第一个值。这是测试预期不匹配 + 的值 。 + + + 要比较的第二个值。这是测试下代码生成的值。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否相等, + 如果两个对象不相等,则引发一个异常。即使逻辑值相等, + 不同的数字类型也被视为不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期的对象。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定对象是否不相等, + 如果相等,则引发一个异常。即使逻辑值相等,不同的数字类型也被视为 + 不相等。42L 不等于 42。 + + + 要比较的第一个对象。这是测试预期与 + 以下内容不匹配的值: 。 + + + 要比较的第二个对象。这是在测试下由代码生成的对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否相等, + 如果不相等,则引发一个异常。 + + + 要比较的第一个浮点型。这是测试预期的浮点型。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的浮点型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个浮动。这是测试预期与 + 以下内容匹配的浮动: 。 + + + 要比较的第二个浮点型。这是测试下代码生成的浮点型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + Thrown if is not equal to + . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否相等。如果不相等, + 则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 超过 。 + + + 要包含在异常中的消息,条件是当 + 不同于 多于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的双精度型是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个双精度型。这是测试预期不匹配 + 的双精度型。 + + + 要比较的第二个双精度型。这是测试下代码生成的双精度型。 + + + 所需准确度。仅在以下情况下引发异常: + 不同于 + 最多 。 + + + 要包含在异常中的消息,条件是当 + 等于 或相差少于 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等, + 如果不相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to . + + + + + 测试指定的字符串是否相等,如果不相等, + 则引发一个异常。 + + + 要比较的第一个字符串。这是测试预期的字符串。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定字符串是否不相等, + 如果相等,则引发一个异常。使用固定区域性进行比较。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的字符串是否不相等, + 如果相等,则引发一个异常。 + + + 要比较的第一个字符串。 这是测试预期不匹配的 + 字符串 。 + + + 要比较的第二个字符串。这是在测试下由代码生成的字符串。 + + + 指示区分大小写或不区分大小写的比较的布尔。 (true + 指示区分大小写的比较。) + + + 提供区域性特定比较信息的 CultureInfo 对象。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定的对象是否是预期类型的一个实例, + 如果预期类型不位于对象的继承分层中, + 则引发一个异常。 + + + 测试预期为指定类型的对象。 + + + 预期类型。 + + + 要包含在异常中的消息,条件是当 + 不是一个实例。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 测试指定对象是否不是一个错误 + 类型实例,如果指定类型位于对象的 + 继承层次结构中,则引发一个异常。 + + + 测试预期不是指定类型的对象。 + + + 类型 不应。 + + + 要包含在异常中的消息,条件是当 + 是一个实例。消息显示 + 在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 引发 AssertFailedException。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertFailedException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + Always thrown. + + + + + 引发 AssertInconclusiveException。 + + + 包含在异常中的消息。信息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Always thrown. + + + + + 静态相等重载用于比较两种类型实例的引用 + 相等。此方法应用于比较两个实例的 + 相等。此对象始终会引发 Assert.Fail。请在单元测试中使用 + Assert.AreEqual 和关联的重载。 + + 对象 A + 对象 B + 始终为 False。 + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + 要包含在异常中的消息,条件是当 + 不引发类型的异常 。 + + + 在格式化时使用的参数数组 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 应该引发的异常类型。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 且 + 如果代码不引发异常或引发非 类型的异常,则引发 + + AssertFailedException + 。 + + + 委托到要进行测试且预期将引发异常的代码。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 测试委托 指定的代码是否能准确引发指定类型 异常(非派生类型异常), + 如果代码不引发异常或引发非 类型的异常,则引发 AssertFailedException。 + + 委托到要进行测试且预期将引发异常的代码。 + + 要包含在异常中的消息,条件是当 + 不引发异常类型。 + + + 在格式化时使用的参数数组 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 该 执行委托。 + + + + + 将 null 字符("\0")替换为 "\\0"。 + + + 要搜索的字符串。 + + + 其中 null 字符替换为 "\\0" 的转换字符串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 用于创建和引发 AssertionFailedException 的帮助程序函数 + + + 引发异常的断言名称 + + + 描述断言失败条件的消息 + + + 参数。 + + + + + 检查有效条件的参数 + + + 参数。 + + + 断言名称。 + + + 参数名称 + + + 无效参数异常的消息 + + + 参数。 + + + + + 将对象安全地转换为字符串,处理 null 值和 null 字符。 + 将 null 值转换为 "(null)"。将 null 字符转换为 "\\0"。 + + + 要转换为字符串的对象。 + + + 转换的字符串。 + + + + + 字符串断言。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定字符串是否包含指定子字符串, + 如果子字符串未出现在 + 测试字符串中,则引发一个异常。 + + + 预期要包含的字符串 。 + + + 字符串,预期出现在 。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + Thrown if does not begin with + . + + + + + 测试指定的字符串是否以指定的子字符串开头, + 如果测试字符串不以该子字符串开头, + 则引发一个异常。 + + + 字符串,预期开头为。 + + + 预期是前缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 开头不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not begin with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + Thrown if does not end with + . + + + + + 测试指定字符串是否以指定子字符串结尾, + 如果测试字符串不以子字符串结尾, + 则引发一个异常。 + + + 字符串,其结尾应为。 + + + 预期是后缀的字符串。 + + + 要包含在异常中的消息,条件是当 + 结尾不为 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not end with + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + Thrown if does not match + . + + + + + 测试指定的字符串是否匹配正则表达式,如果字符串不匹配正则表达式,则 + 引发一个异常。 + + + 预期匹配的字符串 。 + + + 正则表达式 应 + 匹配。 + + + 要包含在异常中的消息,条件是当 + 不匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if does not match + . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + Thrown if matches . + + + + + 测试指定字符串是否与正则表达式不匹配, + 如果字符串与表达式匹配,则引发一个异常。 + + + 预期不匹配的字符串。 + + + 正则表达式 预期 + 为不匹配。 + + + 要包含在异常中的消息,条件是当 + 匹配 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if matches . + + + + + 帮助程序类的集合,用于测试与单元测试内的集合相关联的 + 多种条件。如果不满足被测条件, + 则引发一个异常。 + + + + + 获取 CollectionAssert 功能的单一实例。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + Thrown if is not found in + . + + + + + 测试指定集合是否包含指定元素, + 如果集合不包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期位于集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 未处于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + Thrown if is found in + . + + + + + 测试指定的集合是否不包含指定 + 元素,如果集合包含该元素,则引发一个异常。 + + + 要在其中搜索元素的集合。 + + + 预期不在集合中的元素。 + + + 要包含在异常中的消息,条件是当 + 位于。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is found in + . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + Thrown if a null element is found in . + + + + + 测试指定的集合中所有项是否都为非 null, + 如果有元素为 null,则引发一个异常。 + + + 在其中搜索 null 元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含一个 null 元素。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a null element is found in . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试指定集合中的所有项是否都唯一, + 如果集合中有任何两个元素相等,则引发异常。 + + + 要在其中搜索重复元素的集合。 + + + 要包含在异常中的消息,条件是当 + 包含至少一个重复元素。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否是另一集合的子集, + 如果子集中的任何元素都不是超集中的元素, + 则引发一个异常。 + + + 预期为一个子集的集合。 + + + 预期为以下对象的超集的集合: + + + 包括在异常中的消息,此时元素位于 + 未找到 . + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is not found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + Thrown if every element in is also found in + . + + + + + 测试一个集合是否不是另一个集合的子集, + 如果子集中的所有元素同时位于超集中, + 则引发一个异常. + + + 预期不是一个子集的集合 。 + + + 预期不为超集的集合 + + + 要包含在异常中的消息,条件是当每个元素 + 还存在于. + 消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if every element in is also found in + . + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含相同的元素,如果 + 任一集合包含的元素不在另一 + 集合中,则引发一个异常。 + + + 要比较的第一个集合。它包含测试预期的 + 元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 当某个元素仅可在其中一个集合内找到时 + 要包含在异常中的消息。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试两个集合是否包含不同元素, + 如果这两个集合中包含相同元素,则不管 + 顺序如何,均引发一个异常。 + + + 要比较的第一个集合。这包含测试 + 预期与实际集合不同的元素。 + + + 要比较的第二个集合。这是在测试下 + 由代码生成的集合。 + + + 要包含在异常中的消息,条件是当 + 包含相同的元素 。消息 + 显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定集合中的所有元素是否是预期类型的 + 实例,如果预期类型 + 不在一个或多个这些元素的继承层次结构中,则引发一个异常。 + + + 包含测试预期为指定类型的 + 元素的集合。 + + + 每个元素的预期类型 。 + + + 包括在异常中的消息,此时元素位于 + 不是实例 + 。消息显示在测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 要包含在异常中的消息,条件是当 + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否相等,如果两个集合 + 不相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的 + 顺序和数量也相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期的集合。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是当 + 不等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组 。 + + + Thrown if is not equal to + . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + Thrown if is equal to . + + + + + 测试指定的集合是否不相等, + 如果两个集合相等,则引发一个异常。相等被定义为具有相同的元素,并且元素的顺序和数量 + 都相同。 + 对同一值的不同引用也视为相等。 + + + 要比较的第一个集合。这是测试预期与 + 以下内容不匹配的集合: 。 + + + 要比较的第二个集合。这是测试西下代码 + 生成的集合。 + + + 比较集合的元素时使用的比较实现。 + + + 要包含在异常中的消息,条件是: + 等于 。消息显示在 + 测试结果中。 + + + 在格式化时使用的参数数组。 + + + Thrown if is equal to . + + + + + 确定第一个集合是否为第二个 + 集合的子集。如果任一集合包含重复元素,则子集中元素 + 出现的次数必须小于或 + 等于在超集中元素出现的次数。 + + + 测试预期包含在以下对象中的集合: 。 + + + 测试预期要包含的集合 。 + + + 为 True,如果 是一个子集 + ,反之则为 False。 + + + + + 构造包含指定集合中每个元素的出现次数 + 的字典。 + + + 要处理的集合。 + + + 集合中 null 元素的数量。 + + + 包含指定集合中每个元素的发生次数 + 的字典。 + + + + + 在两个集合之间查找不匹配的元素。不匹配的元素是指 + 在预期集合中显示的次数与 + 在实际集合中显示的次数不相同的元素。假定 + 集合是具有相同元素数目 + 的不同非 null 引用。 调用方负责此级别的验证。 + 如果存在不匹配的元素,函数将返回 + false,并且不会使用 out 参数。 + + + 要比较的第一个集合。 + + + 要比较的第二个集合。 + + + 预期出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 实际出现次数 + 或者如果没有匹配的元素, + 则为 0。 + + + 不匹配元素(可能为 null),或者如果没有不匹配元素, + 则为 null。 + + + 如果找到不匹配的元素,则为 True;反之则为 False。 + + + + + 使用 Object.Equals 比较对象 + + + + + 框架异常的基类。 + + + + + 初始化 类的新实例。 + + + + + 初始化 类的新实例。 + + 消息。 + 异常。 + + + + 初始化 类的新实例。 + + 消息。 + + + + 一个强类型资源类,用于查找已本地化的字符串等。 + + + + + 返回此类使用的缓存的 ResourceManager 实例。 + + + + + 使用此强类型资源类为所有资源查找替代 + 当前线程的 CurrentUICulture 属性。 + + + + + 查找类似于“访问字符串具有无效语法。”的已本地化字符串。 + + + + + 查找类似于“预期集合包含 {1} 个 <{2}> 的匹配项。实际集合包含 {3} 个匹配项。{0}”的已本地化字符串。 + + + + + 查找类似于“找到了重复项: <{1}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际值的大小写有所不同: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应不大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1} ({2})>。实际为: <{3} ({4})>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期值 <{1}> 和实际值 <{2}> 之间的预期差异应大于 <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“预期为除 <{1}>外的任何值。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“不要向 AreSame() 传递值类型。转换为对象的值永远不会相同。请考虑使用 AreEqual()。{0}”的已本地化字符串。 + + + + + 查找类似于“{0} 失败。{1}”的已本地化字符串。 + + + + + 查找类似于“不支持具有 UITestMethodAttribute 的异步 TestMethod。请删除异步或使用 TestMethodAttribute。” 的已本地化字符串。 + + + + + 查找类似于“这两个集合都为空。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同元素。”的已本地化字符串。 + + + + + 查找类似于“这两个集合引用指向同一个集合对象。{0}”的已本地化字符串。 + + + + + 查找类似于“这两个集合包含相同的元素。{0}”的已本地化字符串。 + + + + + 查找类似于“{0}({1})”的已本地化字符串。 + + + + + 查找类似于 "(null)" 的已本地化字符串。 + + + + + 查找类似于“(对象)”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不包含字符串“{1}”。{2}。”的已本地化字符串。 + + + + + 查找类似于“{0} ({1})”的已本地化字符串。 + + + + + 查找类似于“Assert.Equals 不应用于断言。请改用 Assert.AreEqual 和重载。”的已本地化字符串。 + + + + + 查找类似于“集合中的元素数目不匹配。预期为: <{1}>。实际为: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {0} 处的元素不匹配。”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素不是预期类型。预期类型为: <{2}>。实际类型为: <{3}>。{0}”的已本地化字符串。 + + + + + 查找类似于“索引 {1} 处的元素为 (null)。预期类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”结尾。{2}。”的已本地化字符串。 + + + + + 查找类似于“参数无效 - EqualsTester 不能使用 null。”的已本地化字符串。 + + + + + 查找类似于“无法将类型 {0} 的对象转换为 {1}。”的本地化字符串。 + + + + + 查找类似于“引用的内部对象不再有效。”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。{1}。”的已本地化字符串。 + + + + + 查找类似于“属性 {0} 具有类型 {1};预期类型为 {2}。”的已本地化字符串。 + + + + + 查找类似于“{0} 预期类型: <{1}>。实际类型: <{2}>。”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”不匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“错误类型: <{1}>。实际类型: <{2}>。{0}”的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”与模式“{1}”匹配。{2}。”的已本地化字符串。 + + + + + 查找类似于“未指定 DataRowAttribute。DataTestMethodAttribute 至少需要一个 DataRowAttribute。”的已本地化字符串。 + + + + + 查找类似于“未引发异常。预期为 {1} 异常。{0}”的已本地化字符串。 + + + + + 查找类似于“参数 {0} 无效。值不能为 null。{1}。”的已本地化字符串。 + + + + + 查找类似于“不同元素数。”的已本地化字符串。 + + + + + 查找类似于 + “找不到具有指定签名的构造函数。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型传递到 + PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于 + “找不到指定成员({0})。可能需要重新生成专用访问器, + 或者成员可能为专用且在基类上进行了定义。如果后者为 true,则需将定义成员的类型 + 传递到 PrivateObject 的构造函数中。” + 的已本地化字符串。 + + + + + 查找类似于“字符串“{0}”不以字符串“{1}”开头。{2}。”的已本地化字符串。 + + + + + 查找类似于“预期异常类型必须是 System.Exception 或派生自 System.Exception 的类型。”的已本地化字符串。 + + + + + 查找类似于“(由于出现异常,未能获取 {0} 类型异常的消息。)”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发预期异常 {0}。{1}”的已本地化字符串。 + + + + + 查找类似于“测试方法未引发异常。预期测试方法上定义的属性 {0} 会引发异常。”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1}。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“测试方法引发异常 {0},但预期为异常 {1} 或从其派生的类型。异常消息: {2}”的已本地化字符串。 + + + + + 查找类似于“引发异常 {2},但预期为异常 {1}。{0} + 异常消息: {3} + 堆栈跟踪: {4}”的已本地化字符串。 + + + + + 单元测试结果 + + + + + 测试已执行,但出现问题。 + 问题可能涉及异常或失败的断言。 + + + + + 测试已完成,但无法确定它是已通过还是失败。 + 可用于已中止的测试。 + + + + + 测试已执行,未出现任何问题。 + + + + + 当前正在执行测试。 + + + + + 尝试执行测试时出现了系统错误。 + + + + + 测试已超时。 + + + + + 用户中止了测试。 + + + + + 测试处于未知状态 + + + + + 为单元测试框架提供帮助程序功能 + + + + + 以递归方式获取包括所有内部异常消息在内的 + 异常消息 + + 获取消息的异常 + 包含错误消息信息的字符串 + + + + 超时枚举,可与 类共同使用。 + 枚举类型必须相符 + + + + + 无限。 + + + + + 测试类属性。 + + + + + 获取可运行此测试的测试方法属性。 + + 在此方法上定义的测试方法属性实例。 + 将用于运行此测试。 + Extensions can override this method to customize how all methods in a class are run. + + + + 测试方法属性。 + + + + + 执行测试方法。 + + 要执行的测试方法。 + 表示测试结果的 TestResult 对象数组。 + Extensions can override this method to customize running a TestMethod. + + + + 测试初始化属性。 + + + + + 测试清理属性。 + + + + + 忽略属性。 + + + + + 测试属性特性。 + + + + + 初始化 类的新实例。 + + + 名称。 + + + 值。 + + + + + 获取名称。 + + + + + 获取值。 + + + + + 类初始化属性。 + + + + + 类清理属性。 + + + + + 程序集初始化属性。 + + + + + 程序集清理属性。 + + + + + 测试所有者 + + + + + 初始化 类的新实例。 + + + 所有者。 + + + + + 获取所有者。 + + + + + 优先级属性;用于指定单元测试的优先级。 + + + + + 初始化 类的新实例。 + + + 属性。 + + + + + 获取属性。 + + + + + 测试的描述 + + + + + 初始化 类的新实例,描述测试。 + + 说明。 + + + + 获取测试的说明。 + + + + + CSS 项目结构 URI + + + + + 为 CSS 项目结构 URI 初始化 类的新实例。 + + CSS 项目结构 URI。 + + + + 获取 CSS 项目结构 URI。 + + + + + CSS 迭代 URI + + + + + 为 CSS 迭代 URI 初始化 类的新实例。 + + CSS 迭代 URI。 + + + + 获取 CSS 迭代 URI。 + + + + + 工作项属性;用来指定与此测试关联的工作项。 + + + + + 为工作项属性初始化 类的新实例。 + + 工作项的 ID。 + + + + 获取关联工作项的 ID。 + + + + + 超时属性;用于指定单元测试的超时。 + + + + + 初始化 类的新实例。 + + + 超时。 + + + + + 初始化含有预设超时的 类的新实例 + + + 超时 + + + + + 获取超时。 + + + + + 要返回到适配器的 TestResult 对象。 + + + + + 初始化 类的新实例。 + + + + + 获取或设置结果的显示名称。这在返回多个结果时很有用。 + 如果为 null,则表示方法名用作了 DisplayName。 + + + + + 获取或设置测试执行的结果。 + + + + + 获取或设置测试失败时引发的异常。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 获取或设置由测试代码记录的消息输出。 + + + + + 通过测试代码获取或设置调试跟踪。 + + + + + Gets or sets the debug traces by test code. + + + + + 获取或设置测试执行的持续时间。 + + + + + 获取或设置数据源中的数据行索引。仅对数据驱动测试的数据行单次运行结果 + 进行设置。 + + + + + 获取或设置测试方法的返回值。(当前始终为 null)。 + + + + + 获取或设置测试附加的结果文件。 + + + + + 为数据驱动测试指定连接字符串、表名和行访问方法。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + DataSource 的默认提供程序名称。 + + + + + 默认数据访问方法。 + + + + + 初始化 类的新实例。将使用数据提供程序、连接字符串、数据表和访问数据源的数据访问方法初始化此实例。 + + 不变的数据提供程序名称,例如 System.Data.SqlClient + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + 指定访问数据的顺序。 + + + + 初始化 类的新实例。将使用连接字符串和表名初始化此实例。 + 指定连接字符串和数据表,访问 OLEDB 数据源。 + + + 特定于数据提供程序的连接字符串。 + 警告: 连接字符串可能包含敏感数据(例如密码)。 + 连接字符串以纯文本形式存储在源代码和编译程序集中。 + 限制对源代码和程序集的访问以保护此敏感信息。 + + 数据表的名称。 + + + + 初始化 类的新实例。将使用数据提供程序和与设置名称关联的连接字符串初始化此实例。 + + 在 app.config 文件中 <microsoft.visualstudio.qualitytools> 部分找到的数据源的名称。 + + + + 获取表示数据源的数据提供程序的值。 + + + 数据提供程序名称。如果数据提供程序未在对象初始化时进行指定,则将返回 System.Data.OleDb 的默认提供程序。 + + + + + 获取表示数据源的连接字符串的值。 + + + + + 获取指示提供数据的表名的值。 + + + + + 获取用于访问数据源的方法。 + + + + 其中一个 值。如果 未初始化,这将返回默认值。 + + + + + 获取 app.config 文件的 <microsoft.visualstudio.qualitytools> 部分中找到的数据源的名称。 + + + + + 可在其中将数据指定为内联的数据驱动测试的属性。 + + + + + 查找所有数据行并执行。 + + + 测试方法。 + + + 一系列。 + + + + + 运行数据驱动测试方法。 + + 要执行的测试方法。 + 数据行。 + 执行的结果。 + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml new file mode 100644 index 000000000..0eca88177 --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml @@ -0,0 +1,113 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions + + + + + 用來指定每個測試部署的部署項目 (檔案或目錄)。 + 可以指定於測試類別或測試方法。 + 可以有屬性的多個執行個體來指定多個項目。 + 項目路徑可以是相對或絕對路徑,如果是相對路徑,則是 RunConfig.RelativePathRoot 的相對路徑。 + + + [DeploymentItem("file1.xml")] + [DeploymentItem("file2.xml", "DataFiles")] + [DeploymentItem("bin\Debug")] + + + Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal. + We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point. + Filed https://github.com/Microsoft/testfx/issues/100 to track this. + + + + + 初始化 類別的新執行個體。 + + 要部署的檔案或目錄。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + + + + 初始化 類別的新執行個體 + + 要部署之檔案或目錄的相對或絕對路徑。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。 + 要將項目複製到其中之目錄的路徑。它可以是部署目錄的絕對或相對路徑。下者所識別的所有檔案和目錄: 將會複製到這個目錄中。 + + + + 取得要複製之來源檔案或資料夾的路徑。 + + + + + 取得要將項目複製到其中之目錄的路徑。 + + + + + 在 Windows 市集應用程式的 UI 執行緒執行測試程式碼。 + + + + + 在 UI 執行緒執行測試方法。 + + + 測試方法。 + + + 下列項目的陣列: 執行個體。 + + Throws when run on an async test method. + + + + + TestContext 類別。這個類別應該是完全抽象的,而且未包含任何 + 成員。配接器將會實作成員。架構中的使用者只 + 應透過妥善定義的介面來存取這個項目。 + + + + + 取得測試的測試屬性。 + + + + + 取得包含目前正在執行之測試方法的類別完整名稱 + + + This property can be useful in attributes derived from ExpectedExceptionBaseAttribute. + Those attributes have access to the test context, and provide messages that are included + in the test results. Users can benefit from messages that include the fully-qualified + class name in addition to the name of the test method currently being executed. + + + + + 取得目前正在執行的測試方法名稱 + + + + + 取得目前測試結果。 + + + + + Used to write trace messages while the test is running + + formatted message string + + + + Used to write trace messages while the test is running + + format string + the arguments + + + diff --git a/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml new file mode 100644 index 000000000..611e17b6e --- /dev/null +++ b/packages/MSTest.TestFramework.2.2.10/lib/uap10.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.xml @@ -0,0 +1,4201 @@ + + + + Microsoft.VisualStudio.TestPlatform.TestFramework + + + + + 用於執行的 TestMethod。 + + + + + 取得測試方法的名稱。 + + + + + 取得測試類別的名稱。 + + + + + 取得測試方法的傳回型別。 + + + + + 取得測試方法的參數。 + + + + + 取得測試方法的 methodInfo。 + + + This is just to retrieve additional information about the method. + Do not directly invoke the method using MethodInfo. Use ITestMethod.Invoke instead. + + + + + 叫用測試方法。 + + + 要傳遞至測試方法的引數。(例如,針對資料驅動) + + + 測試方法引動過程結果。 + + + This call handles asynchronous test methods as well. + + + + + 取得測試方法的所有屬性。 + + + 父類別中定義的屬性是否有效。 + + + 所有屬性。 + + + + + 取得特定類型的屬性。 + + System.Attribute type. + + 父類別中定義的屬性是否有效。 + + + 指定類型的屬性。 + + + + + 協助程式。 + + + + + 檢查參數不為 null。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws argument null exception when parameter is null. + + + + 檢查參數不為 null 或為空白。 + + + 參數。 + + + 參數名稱。 + + + 訊息。 + + Throws ArgumentException when parameter is null. + + + + 如何在資料驅動測試中存取資料列的列舉。 + + + + + 會以循序順序傳回資料列。 + + + + + 會以隨機順序傳回資料列。 + + + + + 用以定義測試方法之內嵌資料的屬性。 + + + + + 初始化 類別的新執行個體。 + + 資料物件。 + + + + 初始化 類別 (其採用引數的陣列) 的新執行個體。 + + 資料物件。 + 其他資料。 + + + + 取得用於呼叫測試方法的資料。 + + + + + 取得或設定測試結果中的顯示名稱來進行自訂。 + + + + + 判斷提示結果不明例外狀況。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + InternalTestFailureException 類別。用來表示測試案例的內部失敗 + + + This class is only added to preserve source compatibility with the V1 framework. + For all practical purposes either use AssertFailedException/AssertInconclusiveException. + + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 例外狀況訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 屬性,其指定預期所指定類型的例外狀況 + + + + + 初始化具預期類型之 類別的新執行個體 + + 預期的例外狀況類型 + + + + 初始化 類別 + (其具預期類型及訊息,用以在測試未擲回任何例外狀況時予以納入) 的新執行個體。 + + 預期的例外狀況類型 + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的訊息 + + + + + 取得值,指出預期例外狀況的類型 + + + + + 取得或設定值,指出是否允許類型衍生自預期例外狀況類型, + 以符合預期 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 驗證預期有單元測試所擲回的例外狀況類型 + + 單元測試所擲回的例外狀況 + + + + 指定以預期單元測試發生例外狀況之屬性的基底類別 + + + + + 使用預設無例外狀況訊息初始化 類別的新執行個體 + + + + + 初始化具無例外狀況訊息之 類別的新執行個體 + + + 測試因未擲回例外狀況而失敗時,要包含在測試結果中的 + 訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 如果測試因未擲回例外狀況而失敗,則取得測試結果中要包含的訊息 + + + + + 取得預設無例外狀況訊息 + + ExpectedException 屬性類型名稱 + 預設無例外狀況訊息 + + + + 判斷是否預期會發生例外狀況。如果傳回方法,則了解 + 預期會發生例外狀況。如果方法擲回例外狀況,則了解 + 預期不會發生例外狀況,而且測試結果中 + 會包含所擲回例外狀況的訊息。 類別可以基於便利 + 使用。如果使用 並且判斷提示失敗, + 則測試結果設定為 [結果不明]。 + + 單元測試所擲回的例外狀況 + + + + 如果它是 AssertFailedException 或 AssertInconclusiveException,會重新擲回例外狀況 + + 如果是判斷提示例外狀況,則重新擲回例外狀況 + + + + 這個類別的設計目的是要協助使用者執行使用泛型型別之類型的單元測試。 + GenericParameterHelper 滿足一些常用泛型型別條件約束 + 例如: + 1. 公用預設建構函式 + 2. 實作公用介面: IComparable、IEnumerable + + + + + 初始化 類別 (其符合 C# 泛型中的 'newable' 限制式) + 的新執行個體。 + + + This constructor initializes the Data property to a random value. + + + + + 初始化 類別 (其將 Data 屬性初始化為使用者提供的值) + 的新執行個體。 + + 任何整數值 + + + + 取得或設定資料 + + + + + 執行兩個 GenericParameterHelper 物件的值比較 + + 要與之執行比較的物件 + 如果 obj 的值與 'this' GenericParameterHelper 物件相同,則為 true。 + 否則為 false。 + + + + 傳回這個物件的雜湊碼。 + + 雜湊碼。 + + + + 比較這兩個 物件的資料。 + + 要比較的物件。 + + 已簽署的編號,表示此執行個體及值的相對值。 + + + Thrown when the object passed in is not an instance of . + + + + + 傳回長度衍生自 Data 屬性的 + IEnumerator 物件。 + + IEnumerator 物件 + + + + 傳回等於目前物件的 + GenericParameterHelper 物件。 + + 複製的物件。 + + + + 讓使用者從單位測試記錄/寫入追蹤以進行診斷。 + + + + + LogMessage 的處理常式。 + + 要記錄的訊息。 + + + + 要接聽的事件。在單元測試寫入器寫入一些訊息時引發。 + 主要由配接器取用。 + + + + + API,供測試寫入者呼叫以記錄訊息。 + + 含預留位置的字串格式。 + 預留位置的參數。 + + + + TestCategory 屬性; 用來指定單元測試的分類。 + + + + + 初始化 類別的新執行個體,並將分類套用至測試。 + + + 測試「分類」。 + + + + + 取得已套用至測試的測試分類。 + + + + + "Category" 屬性的基底類別 + + + The reason for this attribute is to let the users create their own implementation of test categories. + - test framework (discovery, etc) deals with TestCategoryBaseAttribute. + - The reason that TestCategories property is a collection rather than a string, + is to give more flexibility to the user. For instance the implementation may be based on enums for which the values can be OR'ed + in which case it makes sense to have single attribute rather than multiple ones on the same test. + + + + + 初始化 類別的新執行個體。 + 將分類套用至測試。TestCategories 所傳回的字串 + 會與 /category 命令搭配使用,以篩選測試 + + + + + 取得已套用至測試的測試分類。 + + + + + AssertFailedException 類別。用來表示測試案例失敗 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 初始化 類別的新執行個體。 + + + + + 要測試單元測試內各種條件的協助程式類別集合。 + 如果不符合正在測試的條件,則會擲回 + 例外狀況。 + + + + + 取得 Assert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void IsOfType<T>(this Assert assert, object obj)" + Users could then use a syntax similar to the default assertions which in this case is "Assert.That.IsOfType<Dog>(animal);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 true,並在條件為 false 時擲回 + 例外狀況。 + + + 測試預期為 true 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 false。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is false. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + Thrown if is true. + + + + + 測試指定的條件是否為 false,並在條件為 true 時擲回 + 例外狀況。 + + + 測試預期為 false 的條件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 true。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is true. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為 null,並在不是時擲回 + 例外狀況。 + + + 測試預期為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + Thrown if is null. + + + + + 測試指定的物件是否為非 null,並在為 null 時擲回 + 例外狀況。 + + + 測試預期不為 null 的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 為 null。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null. + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否都參照相同物件,並在兩個輸入 + 未參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。這是測試所預期的值。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者不同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not refer to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的物件是否參照不同物件,並在兩個輸入 + 參照相同的物件時擲回例外狀況。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 與下者相同: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if refers to the same object + as . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is not equal to . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否相等,並在兩個值不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。這是測試所預期的值。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的值是否不相等,並在兩個值相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + The type of values to compare. + + + 要比較的第一個值。測試預期這個值 + 不符合 。 + + + 要比較的第二個值。這是正在測試的程式碼所產生的值。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否相等,並在兩個物件不相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。這是測試所預期的物件。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否不相等,並在兩個物件相等時 + 擲回例外狀況。不同的數值類型會視為不相等, + 即使邏輯值相等也是一樣。42L 不等於 42。 + + + 要比較的第一個物件。測試預期這個值 + 不符合 。 + + + 要比較的第二個物件。這是正在測試的程式碼所產生的物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。這是測試所預期的 float。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的 float 是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個 float。測試預期這個 float 不 + 符合 。 + + + 要比較的第二個 float。這是正在測試的程式碼所產生的 float。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + Thrown if is not equal to + . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。這是測試所預期的雙精度浮點數。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 超過 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不同於 超過 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的雙精度浮點數是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個雙精度浮點數。測試預期這個雙精度浮點數 + 不符合 。 + + + 要比較的第二個雙精度浮點數。這是正在測試的程式碼所產生的雙精度浮點數。 + + + 所需的精確度。只有在下列情況才會擲回例外狀況: + 不同於 + 最多 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 或差異小於 + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否相等,並在不相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。這是測試所預期的字串。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。進行比較時不因文化特性 (Culture) 而異。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的字串是否不相等,並在相等時 + 擲回例外狀況。 + + + 要比較的第一個字串。測試預期這個字串 + 不符合 。 + + + 要比較的第二個字串。這是正在測試的程式碼所產生的字串。 + + + 表示區分大小寫或不區分大小寫的比較的布林值 (true + 表示不區分大小寫的比較)。 + + + 提供文化特性 (culture) 特定比較資訊的 CultureInfo 物件。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否為預期類型的執行個體, + 並在預期類型不在物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期為所指定類型的物件。 + + + 下者的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is null or + is not in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 測試指定的物件是否不是錯誤類型的執行個體, + 並在指定的類型位於物件的繼承階層中時 + 擲回例外狀況。 + + + 測試預期不為所指定類型的物件。 + + + 下者不應該屬於的類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 是下者的執行個體: 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not null and + is in the inheritance hierarchy + of . + + + + + 擲回 AssertFailedException。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertFailedException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Always thrown. + + + + + 擲回 AssertInconclusiveException。 + + + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Always thrown. + + + + + 「靜態等於多載」用於比較兩種類型的執行個體的參考 + 相等。這種方法不應該用於比較兩個執行個體是否 + 相等。這個物件一律會擲出 Assert.Fail。請在單元測試中使用 + Assert.AreEqual 和相關聯多載。 + + 物件 A + 物件 B + 一律為 False。 + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throw exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 預期擲回的例外狀況類型。 + + + + + 測試委派 所指定的程式碼會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並擲回 + + AssertFailedException + + (若程式碼未擲回例外狀況或擲回非 類型的例外狀況)。 + + + 要測試程式碼並預期擲回例外狀況的委派。 + + + Type of exception expected to be thrown. + + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 測試委派 所指定的程式碼是否會擲回 類型的確切指定例外狀況 (而非衍生類型) + 並於程式碼未擲回例外狀況或擲回非 類型的例外狀況時,擲回 AssertFailedException。 + + 委派給要進行測試且預期會擲回例外狀況的程式碼。 + + 在下列情況下,要包含在例外狀況中的訊息: + 未擲回下列類型的例外狀況: 。 + + + 在將下者格式化時要使用的參數陣列: 。 + + Type of exception expected to be thrown. + + Thrown if does not throws exception of type . + + + 執行委派。 + + + + + 以 "\\0" 取代 null 字元 ('\0')。 + + + 要搜尋的字串。 + + + null 字元以 "\\0" 取代的已轉換字串。 + + + This is only public and still present to preserve compatibility with the V1 framework. + + + + + 建立並擲回 AssertionFailedException 的 Helper 函數 + + + 擲回例外狀況的判斷提示名稱 + + + 描述判斷提示失敗條件的訊息 + + + 參數。 + + + + + 檢查參數的有效條件 + + + 參數。 + + + 判斷提示「名稱」。 + + + 參數名稱 + + + 無效參數例外狀況的訊息 + + + 參數。 + + + + + 將物件安全地轉換成字串,並處理 null 值和 null 字元。 + Null 值會轉換成 "(null)"。Null 字元會轉換成 "\\0"。 + + + 要轉換為字串的物件。 + + + 已轉換的字串。 + + + + + 字串判斷提示。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void ContainsWords(this StringAssert cusomtAssert, string value, ICollection substrings)" + Users could then use a syntax similar to the default assertions which in this case is "StringAssert.That.ContainsWords(value, substrings);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的字串是否包含指定的子字串, + 並在子字串未出現在測試字串內時 + 擲回例外狀況。 + + + 預期包含下者的字串: 。 + + + 預期在下列時間內發生的字串: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串開頭是否為指定的子字串, + 並在測試字串的開頭不是子字串時 + 擲回例外狀況。 + + + 字串預期開頭為 。 + + + 字串預期為下者的前置詞: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的開頭不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not begin with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not end with + . + + + + + 測試指定的字串結尾是否為指定的子字串, + 並在測試字串的結尾不是子字串時 + 擲回例外狀況。 + + + 字串預期結尾為 。 + + + 字串預期為下者的字尾: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 的結尾不是 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not end with + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否符合規則運算式, + 並在字串不符合運算式時擲回例外狀況。 + + + 預期符合下者的字串: 。 + + + 規則運算式, + 預期相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if does not match + . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + Thrown if matches . + + + + + 測試指定的字串是否不符合規則運算式, + 並在字串符合運算式時擲回例外狀況。 + + + 預期不符合下者的字串: 。 + + + 規則運算式, + 預期不相符。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 符合 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if matches . + + + + + 要測試與單元測試內集合相關聯之各種條件的 + 協助程式類別集合。如果不符合正在測試的條件, + 則會擲回例外狀況。 + + + + + 取得 CollectionAssert 功能的單一執行個體。 + + + Users can use this to plug-in custom assertions through C# extension methods. + For instance, the signature of a custom assertion provider could be "public static void AreEqualUnordered(this CollectionAssert cusomtAssert, ICollection expected, ICollection actual)" + Users could then use a syntax similar to the default assertions which in this case is "CollectionAssert.That.AreEqualUnordered(list1, list2);" + More documentation is at "https://github.com/Microsoft/testfx-docs". + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否包含指定的元素, + 並在元素不在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 未位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is found in + . + + + + + 測試指定的集合是否未包含指定的元素, + 並在元素在集合中時擲回例外狀況。 + + + 在其中搜尋元素的集合。 + + + 預期不在集合中的元素。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 位於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is found in + . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都為非 null,並在有任何元素為 null 時 + 擲回例外狀況。 + + + 要在其中搜尋 null 元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含 null 元素。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a null element is found in . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試所指定集合中的所有項目是否都是唯一的, + 並在集合中的任兩個元素相等時擲回例外狀況。 + + + 在其中搜尋重複元素的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含至少一個重複元素。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if a two or more equal elements are found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否為另一個集合的子集, + 並在子集中的任何元素也不在超集中時擲回 + 例外狀況。 + + + 集合預期為下者的子集: 。 + + + 集合預期為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 在下者中找不到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is not found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + Thrown if every element in is also found in + . + + + + + 測試其中一個集合是否不為另一個集合的子集, + 並在子集中的所有元素也都在超集中時擲回 + 例外狀況。 + + + 集合預期不為下者的子集: 。 + + + 集合預期不為下者的超集: + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的每個元素: + 也會在下者中找到: 。 + 訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if every element in is also found in + . + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含相同元素, + 並在任一集合包含不在其他集合中的元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試所預期的 + 元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在其中一個集合中找到元素但在另一個集合中找不到元素時 + 要包含在例外狀況中的訊息。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element was found in one of the collections but not + the other. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試兩個集合是否包含不同元素,並在兩個集合 + 包含不管順序的相同元素時 + 擲回例外狀況。 + + + 要比較的第一個集合。這包含測試預期與實際集合 + 不同的元素。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 包含與下者相同的元素: 。訊息 + 會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if the two collections contained the same elements, including + the same number of duplicate occurrences of each element. + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試所指定集合中的所有元素是否為預期類型的執行個體, + 並在預期類型不在一或多個元素的繼承階層中時 + 擲回例外狀況。 + + + 包含測試預期為所指定類型之元素 + 的集合。 + + + 下者的每個元素的預期類型: 。 + + + 在下列情況下,要包含在例外狀況中的訊息: 下者中的元素: + 不是下者的執行個體: + 。訊息會顯示在測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if an element in is null or + is not in the inheritance hierarchy + of an element in . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否相等,並在兩個集合不相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。這是測試所預期的集合。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 不等於 。訊息會顯示在 + 測試結果中。 + + + 在將下者格式化時要使用的參數陣列: 。 + + + Thrown if is not equal to + . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + Thrown if is equal to . + + + + + 測試指定的集合是否不相等,並在兩個集合相等時 + 擲回例外狀況。「相等」定義為具有相同順序和數量的 + 相同元素。相同值的不同參考視為 + 相等。 + + + 要比較的第一個集合。測試預期這個集合 + 不符合 。 + + + 要比較的第二個集合。這是正在測試的程式碼 + 所產生的集合。 + + + 要在比較集合元素時使用的比較實作。 + + + 在下列情況下,要包含在例外狀況中的訊息: + 等於 。訊息會顯示在 + 測試結果中。 + + + 參數陣列,使用時機為格式 。 + + + Thrown if is equal to . + + + + + 判斷第一個集合是否為第二個集合的子集。 + 如果任一個集合包含重複的元素,則元素 + 在子集中的出現次數必須小於或 + 等於在超集中的出現次數。 + + + 測試預期包含在下者中的集合: 。 + + + 測試預期包含下者的集合: 。 + + + True 的情況為 是下者的子集: + ,否則為 false。 + + + + + 建構字典,內含每個元素在所指定集合中 + 的出現次數。 + + + 要處理的集合。 + + + 集合中的 null 元素數目。 + + + 包含每個元素在所指定集合內之出現次數 + 的字典。 + + + + + 尋找兩個集合之間不相符的元素。不相符的元素 + 為出現在預期集合中的次數 + 不同於它在實際集合中出現的次數。 + 集合假設為具有數目相同之元素的不同非 null 參考。 + 呼叫者負責這個層級的驗證。 + 如果沒有不相符的元素,則函數會傳回 false, + 而且不應該使用 out 參數。 + + + 要比較的第一個集合。 + + + 要比較的第二個集合。 + + + 下者的預期出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 下者的實際出現次數: + 或 0 (如果沒有不相符的 + 元素)。 + + + 不相符的元素 (可能為 null) 或 null (如果沒有 + 不相符的元素)。 + + + 如果找到不相符的元素,則為 true,否則為 false。 + + + + + 使用 object.Equals 來比較物件 + + + + + 架構例外狀況的基底類別。 + + + + + 初始化 類別的新執行個體。 + + + + + 初始化 類別的新執行個體。 + + 訊息。 + 例外狀況。 + + + + 初始化 類別的新執行個體。 + + 訊息。 + + + + 強型別資源類別,用於查詢當地語系化字串等。 + + + + + 傳回這個類別所使用的快取的 ResourceManager 執行個體。 + + + + + 針對使用這個強型別資源類別的所有資源查閱, + 覆寫目前執行緒的 CurrentUICulture 屬性。 + + + + + 查閱與「存取字串有無效的語法。」類似的當地語系化字串。 + + + + + 查閱與「預期在集合中包含 {1} 項 <{2}>,但實際的集合卻有 {3} 項。{0}」類似的當地語系化字串。 + + + + + 查閱與「找到重複的項目:<{1}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。大小寫與下列實際值不同:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異不大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1} ({2})>。實際:<{3} ({4})>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期值 <{1}> 和實際值 <{2}> 之間的預期差異大於 <{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「預期任何值 (<{1}> 除外)。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「不要將實值型別傳遞給 AreSame()。轉換成 Object 的值從此不再一樣。請考慮使用 AreEqual()。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0} 失敗。{1}」類似的當地語系化字串。 + + + + + 不支援查詢類似非同步處理 TestMethod 與 UITestMethodAttribute 的當地語系化字串。移除非同步處理或使用 TestMethodAttribute。 + + + + + 查閱與「兩個集合都是空的。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。」類似的當地語系化字串。 + + + + + 查閱與「兩個集合參考都指向同一個集合物件。{0}」類似的當地語系化字串。 + + + + + 查閱與「兩個集合含有相同的元素。{0}」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「(null)」類似的當地語系化字串。 + + + + + 查閱與「(物件)」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 未包含字串 '{1}'。{2}。」類似的當地語系化字串。 + + + + + 查閱與「{0}({1})」類似的當地語系化字串。 + + + + + 查閱與「Assert.Equals 不應使用於判斷提示。請改用 Assert.AreEqual 及多載。」類似的當地語系化字串。 + + + + + 查閱與「集合中的元素數目不符。預期:<{1}>。實際:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {0} 的元素不符。」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的項目不是預期的類型。預期的類型:<{2}>。實際的類型:<{3}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「位於索引 {1} 的元素是 (null)。預期的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 結尾。{2}。」類似的當地語系化字串。 + + + + + 查閱與「無效的引數 - EqualsTester 無法使用 null。」類似的當地語系化字串。 + + + + + 查閱與「無法將 {0} 類型的物件轉換為 {1}。」類似的當地語系化字串。 + + + + + 查閱與「所參考的內部物件已不再有效。」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。{1}。」類似的當地語系化字串。 + + + + + 查閱與「屬性 {0} 具有類型 {1}; 預期為類型 {2}。」類似的當地語系化字串。 + + + + + 查閱與「{0} 預期的類型:<{1}>。實際的類型:<{2}>。」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 不符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「錯誤的類型:<{1}>。實際的類型:<{2}>。{0}」類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 與模式 '{1}' 相符。{2}。」類似的當地語系化字串。 + + + + + 查閱與「未指定 DataRowAttribute。至少一個 DataRowAttribute 必須配合 DataTestMethodAttribute 使用。」類似的當地語系化字串。 + + + + + 查閱與「未擲回任何例外狀況。預期為 {1} 例外狀況。{0}」類似的當地語系化字串。 + + + + + 查閱與「參數 '{0}' 無效。值不能為 null。{1}。」類似的當地語系化字串。 + + + + + 查閱與「元素數目不同。」類似的當地語系化字串。 + + + + + 查閱與「找不到具有所指定簽章的建構函式。 + 您可能必須重新產生私用存取子,或者該成員可能為私用, + 並且定義在基底類別上。如果是後者,您必須將定義 + 該成員的類型傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「找不到所指定的成員 ({0})。 + 您可能必須重新產生私用存取子, + 或者該成員可能為私用,並且定義在基底類別上。如果是後者,您必須將定義該成員的類型 + 傳送至 PrivateObject 的建構函式。」 + 類似的當地語系化字串。 + + + + + 查閱與「字串 '{0}' 不是以字串 '{1}' 開頭。{2}。」類似的當地語系化字串。 + + + + + 查閱與「預期的例外狀況類型必須是 System.Exception 或衍生自 System.Exception 的類型。」類似的當地語系化字串。 + + + + + 查閱與「(由於發生例外狀況,所以無法取得 {0} 類型之例外狀況的訊息。)」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回預期的例外狀況 {0}。{1}」類似的當地語系化字串。 + + + + + 查閱與「測試方法未擲回例外狀況。測試方法上定義的屬性 {0} 需要例外狀況。」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1}。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「測試方法擲回例外狀況 {0},但是需要的是例外狀況 {1} 或由它衍生的類型。例外狀況訊息: {2}」類似的當地語系化字串。 + + + + + 查閱與「擲回例外狀況 {2},但需要的是例外狀況 {1}。{0} + 例外狀況訊息: {3} + 堆疊追蹤: {4}」類似的當地語系化字串。 + + + + + 單元測試結果 + + + + + 已執行測試,但發生問題。 + 問題可能包含例外狀況或失敗的判斷提示。 + + + + + 測試已完成,但是無法指出成功還是失敗。 + 可能用於已中止測試。 + + + + + 已執行測試且沒有任何問題。 + + + + + 目前正在執行測試。 + + + + + 嘗試執行測試時發生系統錯誤。 + + + + + 測試逾時。 + + + + + 使用者已中止測試。 + + + + + 測試處於未知狀態 + + + + + 提供單元測試架構的協助程式功能 + + + + + 遞迴地取得例外狀況訊息 (包含所有內部例外狀況 + 的訊息) + + 要為其取得訊息的例外狀況 + 含有錯誤訊息資訊的字串 + + + + 逾時的列舉,可以與 類別搭配使用。 + 列舉的類型必須相符 + + + + + 無限。 + + + + + 測試類別屬性。 + + + + + 取得可讓您執行此測試的測試方法屬性。 + + 此方法上所定義的測試方法屬性執行個體。 + 要用來執行此測試。 + Extensions can override this method to customize how all methods in a class are run. + + + + 測試方法屬性。 + + + + + 執行測試方法。 + + 要執行的測試方法。 + 代表測試結果的 TestResult 物件陣列。 + Extensions can override this method to customize running a TestMethod. + + + + 測試初始化屬性。 + + + + + 測試清除屬性。 + + + + + Ignore 屬性。 + + + + + 測試屬性 (property) 屬性 (attribute)。 + + + + + 初始化 類別的新執行個體。 + + + 名稱。 + + + 值。 + + + + + 取得名稱。 + + + + + 取得值。 + + + + + 類別會將屬性初始化。 + + + + + 類別清除屬性。 + + + + + 組件會將屬性初始化。 + + + + + 組件清除屬性。 + + + + + 測試擁有者 + + + + + 初始化 類別的新執行個體。 + + + 擁有者。 + + + + + 取得擁有者。 + + + + + Priority 屬性; 用來指定單元測試的優先順序。 + + + + + 初始化 類別的新執行個體。 + + + 優先順序。 + + + + + 取得優先順序。 + + + + + 測試描述 + + + + + 初始化 類別的新執行個體來描述測試。 + + 描述。 + + + + 取得測試的描述。 + + + + + CSS 專案結構 URI + + + + + 初始化用於 CSS 專案結構 URI 之 類別的新執行個體。 + + CSS 專案結構 URI。 + + + + 取得 CSS 專案結構 URI。 + + + + + CSS 反覆項目 URI + + + + + 初始化用於 CSS 反覆項目 URI 之 類別的新執行個體。 + + CSS 反覆項目 URI。 + + + + 取得 CSS 反覆項目 URI。 + + + + + 工作項目屬性; 用來指定與這個測試相關聯的工作項目。 + + + + + 初始化用於工作項目屬性之 類別的新執行個體。 + + 工作項目的識別碼。 + + + + 取得建立關聯之工作項目的識別碼。 + + + + + Timeout 屬性; 用來指定單元測試的逾時。 + + + + + 初始化 類別的新執行個體。 + + + 逾時。 + + + + + 初始化具有預設逾時之 類別的新執行個體 + + + 逾時 + + + + + 取得逾時。 + + + + + 要傳回給配接器的 TestResult 物件。 + + + + + 初始化 類別的新執行個體。 + + + + + 取得或設定結果的顯示名稱。適用於傳回多個結果時。 + 如果為 null,則使用「方法名稱」當成 DisplayName。 + + + + + 取得或設定測試執行的結果。 + + + + + 取得或設定測試失敗時所擲回的例外狀況。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 取得或設定測試程式碼所記錄之訊息的輸出。 + + + + + 透過測試程式碼取得或設定偵錯追蹤。 + + + + + Gets or sets the debug traces by test code. + + + + + 取得或設定測試執行的持續時間。 + + + + + 取得或設定資料來源中的資料列索引。僅針對個別執行資料驅動測試之資料列 + 的結果所設定。 + + + + + 取得或設定測試方法的傳回值 (目前一律為 null)。 + + + + + 取得或設定測試所附加的結果檔案。 + + + + + 指定連接字串、表格名稱和資料列存取方法來進行資料驅動測試。 + + + [DataSource("Provider=SQLOLEDB.1;Data Source=source;Integrated Security=SSPI;Initial Catalog=EqtCoverage;Persist Security Info=False", "MyTable")] + [DataSource("dataSourceNameFromConfigFile")] + + + + + 資料來源的預設提供者名稱。 + + + + + 預設資料存取方法。 + + + + + 初始化 類別的新執行個體。將使用資料提供者、連接字串、運算列表和資料存取方法將這個執行個體初始化,以存取資料來源。 + + 非變異資料提供者名稱 (例如 System.Data.SqlClient) + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + 指定資料的存取順序。 + + + + 初始化 類別的新執行個體。此執行個體將使用連接字串和表格名稱進行初始化。 + 指定連接字串和運算列表以存取 OLEDB 資料來源。 + + + 資料提供者特定連接字串。 + 警告: 連接字串可能會包含敏感性資料 (例如,密碼)。 + 連接字串是以純文字形式儲存在原始程式碼中和編譯的組件中。 + 限制對原始程式碼和組件的存取,以保護這項機密資訊。 + + 運算列表的名稱。 + + + + 初始化 類別的新執行個體。將使用與設定名稱相關聯的資料提供者和連接字串將這個執行個體初始化。 + + 在 app.config 檔案的 <microsoft.visualstudio.qualitytools> 區段中找到資料來源名稱。 + + + + 取得值,代表資料來源的資料提供者。 + + + 資料提供者名稱。如果未在物件初始化時指定資料提供者,將會傳回 System.Data.OleDb 的預設提供者。 + + + + + 取得值,代表資料來源的連接字串。 + + + + + 取得值,指出提供資料的表格名稱。 + + + + + 取得用來存取資料來源的方法。 + + + + 下列其中之一: 值。如果 未進行初始化,則這會傳回預設值 。 + + + + + 取得在 app.config 檔案 <microsoft.visualstudio.qualitytools> 區段中找到的資料來源名稱。 + + + + + 可在其中內嵌指定資料之資料驅動測試的屬性。 + + + + + 尋找所有資料列,並執行。 + + + 測試「方法」。 + + + 下列項目的陣列: 。 + + + + + 執行資料驅動測試方法。 + + 要執行的測試方法。 + 資料列。 + 執行結果。 + + + diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/.signature.p7s b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/.signature.p7s new file mode 100644 index 000000000..de22334ed Binary files /dev/null and b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/.signature.p7s differ diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/Icon.png b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/Icon.png new file mode 100644 index 000000000..a0f1fdbf4 Binary files /dev/null and b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/Icon.png differ diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/LICENSE.TXT b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/Microsoft.Extensions.Configuration.Abstractions.5.0.0.nupkg b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/Microsoft.Extensions.Configuration.Abstractions.5.0.0.nupkg new file mode 100644 index 000000000..d6f03a04e Binary files /dev/null and b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/Microsoft.Extensions.Configuration.Abstractions.5.0.0.nupkg differ diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/THIRD-PARTY-NOTICES.TXT b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..111dcf586 --- /dev/null +++ b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,884 @@ +.NET Runtime uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Runtime software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for ASP.NET +------------------------------- + +Copyright (c) .NET Foundation. All rights reserved. +Licensed under the Apache License, Version 2.0. + +Available at +https://github.com/aspnet/AspNetCore/blob/master/LICENSE.txt + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +https://www.unicode.org/license.html + +Copyright © 1991-2020 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + +License notice for Json.NET +------------------------------- + +https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md + +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized base64 encoding / decoding +-------------------------------------------------------- + +Copyright (c) 2005-2007, Nick Galbreath +Copyright (c) 2013-2017, Alfred Klomp +Copyright (c) 2015-2017, Wojciech Mula +Copyright (c) 2016-2017, Matthieu Darbois +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for RFC 3492 +--------------------------- + +The punycode implementation is based on the sample code in RFC 3492 + +Copyright (C) The Internet Society (2003). All Rights Reserved. + +This document and translations of it may be copied and furnished to +others, and derivative works that comment on or otherwise explain it +or assist in its implementation may be prepared, copied, published +and distributed, in whole or in part, without restriction of any +kind, provided that the above copyright notice and this paragraph are +included on all such copies and derivative works. However, this +document itself may not be modified in any way, such as by removing +the copyright notice or references to the Internet Society or other +Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for +copyrights defined in the Internet Standards process must be +followed, or as required to translate it into languages other than +English. + +The limited permissions granted above are perpetual and will not be +revoked by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an +"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING +TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION +HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +License notice for Algorithm from Internet Draft document "UUIDs and GUIDs" +--------------------------------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, or Digital Equipment Corporation be used in advertising +or publicity pertaining to distribution of the software without +specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment +Corporation makes any representations about the suitability of +this software for any purpose. + +Copyright(C) The Internet Society 1997. All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works.However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. + +License notice for Algorithm from RFC 4122 - +A Universally Unique IDentifier (UUID) URN Namespace +---------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +Copyright (c) 1998 Microsoft. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose." + +License notice for The LLVM Compiler Infrastructure +--------------------------------------------------- + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + +License notice for Bob Jenkins +------------------------------ + +By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this +code any way you wish, private, educational, or commercial. It's free. + +License notice for Greg Parker +------------------------------ + +Greg Parker gparker@cs.stanford.edu December 2000 +This code is in the public domain and may be copied or modified without +permission. + +License notice for libunwind based code +---------------------------------------- + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for Printing Floating-Point Numbers (Dragon4) +------------------------------------------------------------ + +/****************************************************************************** + Copyright (c) 2014 Ryan Juckett + http://www.ryanjuckett.com/ + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. +******************************************************************************/ + +License notice for Printing Floating-point Numbers (Grisu3) +----------------------------------------------------------- + +Copyright 2012 the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for xxHash +------------------------- + +xxHash Library +Copyright (c) 2012-2014, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Berkeley SoftFloat Release 3e +------------------------------------------------ + +https://github.com/ucb-bar/berkeley-softfloat-3 +https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt + +License for Berkeley SoftFloat Release 3e + +John R. Hauser +2018 January 20 + +The following applies to the whole of SoftFloat Release 3e as well as to +each source file individually. + +Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the +University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xorshift RNGs +-------------------------------- + +George Marsaglia +2003-07-04 +Journal of Statistical Software +License: http://creativecommons.org/licenses/by/3.0/ + +https://www.jstatsoft.org/article/view/v008i14 +https://www.jstatsoft.org/index.php/jss/article/view/v008i14/xorshift.pdf + +License notice for Xorshift (Wikipedia) +--------------------------------------- + +https://en.wikipedia.org/wiki/Xorshift +License: https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License + +License for fastmod (https://github.com/lemire/fastmod) +-------------------------------------- + + Copyright 2018 Daniel Lemire + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +License notice for The C++ REST SDK +----------------------------------- + +C++ REST SDK + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for MessagePack-CSharp +------------------------------------- + +MessagePack for C# + +MIT License + +Copyright (c) 2017 Yoshifumi Kawai + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for lz4net +------------------------------------- + +lz4net + +Copyright (c) 2013-2017, Milosz Krajewski + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Nerdbank.Streams +----------------------------------- + +The MIT License (MIT) + +Copyright (c) Andrew Arnott + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for RapidJSON +---------------------------- + +Tencent is pleased to support the open source community by making RapidJSON available. + +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. + +Licensed under the MIT License (the "License"); you may not use this file except +in compliance with the License. You may obtain a copy of the License at + +http://opensource.org/licenses/MIT + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +License notice for DirectX Math Library +--------------------------------------- + +https://github.com/microsoft/DirectXMath/blob/master/LICENSE + + The MIT License (MIT) + +Copyright (c) 2011-2020 Microsoft Corp + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be included in all copies +or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for ldap4net +--------------------------- + +The MIT License (MIT) + +Copyright (c) 2018 Alexander Chermyanin + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized sorting code +------------------------------------------ + +MIT License + +Copyright (c) 2020 Dan Shechter + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/net461/Microsoft.Extensions.Configuration.Abstractions.dll b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/net461/Microsoft.Extensions.Configuration.Abstractions.dll new file mode 100644 index 000000000..6ae153951 Binary files /dev/null and b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/net461/Microsoft.Extensions.Configuration.Abstractions.dll differ diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/net461/Microsoft.Extensions.Configuration.Abstractions.xml b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/net461/Microsoft.Extensions.Configuration.Abstractions.xml new file mode 100644 index 000000000..8f6cbe2ea --- /dev/null +++ b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/net461/Microsoft.Extensions.Configuration.Abstractions.xml @@ -0,0 +1,173 @@ + + + + Microsoft.Extensions.Configuration.Abstractions + + + + Extension methods for configuration classes. + + + Adds a new configuration source. + The to add to. + Configures the source secrets. + + The . + + + Get the enumeration of key value pairs within the + The to enumerate. + An enumeration of key value pairs. + + + Get the enumeration of key value pairs within the + The to enumerate. + If true, the child keys returned will have the current configuration's Path trimmed from the front. + An enumeration of key value pairs. + + + Determines whether the section has a or has children. + + + + Shorthand for GetSection("ConnectionStrings")[name]. + The configuration. + The connection string key. + The connection string. + + + Utility methods and constants for manipulating Configuration paths. + + + The delimiter ":" used to separate individual keys in a path. + + + Combines path segments into one path. + The path segments to combine. + The combined path. + + + Combines path segments into one path. + The path segments to combine. + The combined path. + + + Extracts the path corresponding to the parent node for a given path. + The path. + The original path minus the last individual segment found in it. Null if the original path corresponds to a top level node. + + + Extracts the last path segment from the path. + The path. + The last path segment of the path. + + + Extension methods for . + + + Generates a human-readable view of the configuration showing where each value came from. + + The debug view. + + + Represents a set of key/value application configuration properties. + + + Gets the immediate descendant configuration sub-sections. + The configuration sub-sections. + + + Returns a that can be used to observe when this configuration is reloaded. + A . + + + Gets a configuration sub-section with the specified key. + The key of the configuration section. + The . + + + Gets or sets a configuration value. + The configuration key. + The configuration value. + + + Represents a type used to build application configuration. + + + Adds a new configuration source. + The configuration source to add. + The same . + + + Builds an with keys and values from the set of sources registered in + . + An with keys and values from the registered sources. + + + Gets a key/value collection that can be used to share data between the + and the registered s. + + + Gets the sources used to obtain configuration values. + + + Provides configuration key/values for an application. + + + Returns the immediate descendant configuration keys for a given parent path based on this + s data and the set of keys returned by all the preceding + s. + The child keys returned by the preceding providers for the same parent path. + The parent path. + The child keys. + + + Returns a change token if this provider supports change tracking, null otherwise. + The change token. + + + Loads configuration values from the source represented by this . + + + Sets a configuration value for the specified key. + The key. + The value. + + + Tries to get a configuration value for the specified key. + The key. + The value. + + if a value for the specified key was found; otherwise, . + + + Represents the root of an hierarchy. + + + Force the configuration values to be reloaded from the underlying s. + + + The s for this configuration. + + + Represents a section of application configuration values. + + + Gets the key this section occupies in its parent. + + + Gets the full path to this section within the . + + + Gets or sets the section value. + + + Represents a source of configuration key/values for an application. + + + Builds the for this source. + The . + An + + + \ No newline at end of file diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll new file mode 100644 index 000000000..dd5ebe220 Binary files /dev/null and b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll differ diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml new file mode 100644 index 000000000..8f6cbe2ea --- /dev/null +++ b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml @@ -0,0 +1,173 @@ + + + + Microsoft.Extensions.Configuration.Abstractions + + + + Extension methods for configuration classes. + + + Adds a new configuration source. + The to add to. + Configures the source secrets. + + The . + + + Get the enumeration of key value pairs within the + The to enumerate. + An enumeration of key value pairs. + + + Get the enumeration of key value pairs within the + The to enumerate. + If true, the child keys returned will have the current configuration's Path trimmed from the front. + An enumeration of key value pairs. + + + Determines whether the section has a or has children. + + + + Shorthand for GetSection("ConnectionStrings")[name]. + The configuration. + The connection string key. + The connection string. + + + Utility methods and constants for manipulating Configuration paths. + + + The delimiter ":" used to separate individual keys in a path. + + + Combines path segments into one path. + The path segments to combine. + The combined path. + + + Combines path segments into one path. + The path segments to combine. + The combined path. + + + Extracts the path corresponding to the parent node for a given path. + The path. + The original path minus the last individual segment found in it. Null if the original path corresponds to a top level node. + + + Extracts the last path segment from the path. + The path. + The last path segment of the path. + + + Extension methods for . + + + Generates a human-readable view of the configuration showing where each value came from. + + The debug view. + + + Represents a set of key/value application configuration properties. + + + Gets the immediate descendant configuration sub-sections. + The configuration sub-sections. + + + Returns a that can be used to observe when this configuration is reloaded. + A . + + + Gets a configuration sub-section with the specified key. + The key of the configuration section. + The . + + + Gets or sets a configuration value. + The configuration key. + The configuration value. + + + Represents a type used to build application configuration. + + + Adds a new configuration source. + The configuration source to add. + The same . + + + Builds an with keys and values from the set of sources registered in + . + An with keys and values from the registered sources. + + + Gets a key/value collection that can be used to share data between the + and the registered s. + + + Gets the sources used to obtain configuration values. + + + Provides configuration key/values for an application. + + + Returns the immediate descendant configuration keys for a given parent path based on this + s data and the set of keys returned by all the preceding + s. + The child keys returned by the preceding providers for the same parent path. + The parent path. + The child keys. + + + Returns a change token if this provider supports change tracking, null otherwise. + The change token. + + + Loads configuration values from the source represented by this . + + + Sets a configuration value for the specified key. + The key. + The value. + + + Tries to get a configuration value for the specified key. + The key. + The value. + + if a value for the specified key was found; otherwise, . + + + Represents the root of an hierarchy. + + + Force the configuration values to be reloaded from the underlying s. + + + The s for this configuration. + + + Represents a section of application configuration values. + + + Gets the key this section occupies in its parent. + + + Gets the full path to this section within the . + + + Gets or sets the section value. + + + Represents a source of configuration key/values for an application. + + + Builds the for this source. + The . + An + + + \ No newline at end of file diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/useSharedDesignerContext.txt b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/version.txt b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/version.txt new file mode 100644 index 000000000..0a6d216f5 --- /dev/null +++ b/packages/Microsoft.Extensions.Configuration.Abstractions.5.0.0/version.txt @@ -0,0 +1 @@ +cf258a14b70ad9069470a108f13765e0e5988f51 diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/.signature.p7s b/packages/Microsoft.Extensions.Primitives.5.0.0/.signature.p7s new file mode 100644 index 000000000..fbe4cbe7c Binary files /dev/null and b/packages/Microsoft.Extensions.Primitives.5.0.0/.signature.p7s differ diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/Icon.png b/packages/Microsoft.Extensions.Primitives.5.0.0/Icon.png new file mode 100644 index 000000000..a0f1fdbf4 Binary files /dev/null and b/packages/Microsoft.Extensions.Primitives.5.0.0/Icon.png differ diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/LICENSE.TXT b/packages/Microsoft.Extensions.Primitives.5.0.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/Microsoft.Extensions.Primitives.5.0.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/Microsoft.Extensions.Primitives.5.0.0.nupkg b/packages/Microsoft.Extensions.Primitives.5.0.0/Microsoft.Extensions.Primitives.5.0.0.nupkg new file mode 100644 index 000000000..b03a6d845 Binary files /dev/null and b/packages/Microsoft.Extensions.Primitives.5.0.0/Microsoft.Extensions.Primitives.5.0.0.nupkg differ diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/THIRD-PARTY-NOTICES.TXT b/packages/Microsoft.Extensions.Primitives.5.0.0/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..111dcf586 --- /dev/null +++ b/packages/Microsoft.Extensions.Primitives.5.0.0/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,884 @@ +.NET Runtime uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Runtime software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for ASP.NET +------------------------------- + +Copyright (c) .NET Foundation. All rights reserved. +Licensed under the Apache License, Version 2.0. + +Available at +https://github.com/aspnet/AspNetCore/blob/master/LICENSE.txt + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +https://www.unicode.org/license.html + +Copyright © 1991-2020 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + +License notice for Json.NET +------------------------------- + +https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md + +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized base64 encoding / decoding +-------------------------------------------------------- + +Copyright (c) 2005-2007, Nick Galbreath +Copyright (c) 2013-2017, Alfred Klomp +Copyright (c) 2015-2017, Wojciech Mula +Copyright (c) 2016-2017, Matthieu Darbois +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for RFC 3492 +--------------------------- + +The punycode implementation is based on the sample code in RFC 3492 + +Copyright (C) The Internet Society (2003). All Rights Reserved. + +This document and translations of it may be copied and furnished to +others, and derivative works that comment on or otherwise explain it +or assist in its implementation may be prepared, copied, published +and distributed, in whole or in part, without restriction of any +kind, provided that the above copyright notice and this paragraph are +included on all such copies and derivative works. However, this +document itself may not be modified in any way, such as by removing +the copyright notice or references to the Internet Society or other +Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for +copyrights defined in the Internet Standards process must be +followed, or as required to translate it into languages other than +English. + +The limited permissions granted above are perpetual and will not be +revoked by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an +"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING +TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION +HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +License notice for Algorithm from Internet Draft document "UUIDs and GUIDs" +--------------------------------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, or Digital Equipment Corporation be used in advertising +or publicity pertaining to distribution of the software without +specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment +Corporation makes any representations about the suitability of +this software for any purpose. + +Copyright(C) The Internet Society 1997. All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works.However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. + +License notice for Algorithm from RFC 4122 - +A Universally Unique IDentifier (UUID) URN Namespace +---------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +Copyright (c) 1998 Microsoft. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose." + +License notice for The LLVM Compiler Infrastructure +--------------------------------------------------- + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + +License notice for Bob Jenkins +------------------------------ + +By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this +code any way you wish, private, educational, or commercial. It's free. + +License notice for Greg Parker +------------------------------ + +Greg Parker gparker@cs.stanford.edu December 2000 +This code is in the public domain and may be copied or modified without +permission. + +License notice for libunwind based code +---------------------------------------- + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for Printing Floating-Point Numbers (Dragon4) +------------------------------------------------------------ + +/****************************************************************************** + Copyright (c) 2014 Ryan Juckett + http://www.ryanjuckett.com/ + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. +******************************************************************************/ + +License notice for Printing Floating-point Numbers (Grisu3) +----------------------------------------------------------- + +Copyright 2012 the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for xxHash +------------------------- + +xxHash Library +Copyright (c) 2012-2014, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Berkeley SoftFloat Release 3e +------------------------------------------------ + +https://github.com/ucb-bar/berkeley-softfloat-3 +https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt + +License for Berkeley SoftFloat Release 3e + +John R. Hauser +2018 January 20 + +The following applies to the whole of SoftFloat Release 3e as well as to +each source file individually. + +Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the +University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xorshift RNGs +-------------------------------- + +George Marsaglia +2003-07-04 +Journal of Statistical Software +License: http://creativecommons.org/licenses/by/3.0/ + +https://www.jstatsoft.org/article/view/v008i14 +https://www.jstatsoft.org/index.php/jss/article/view/v008i14/xorshift.pdf + +License notice for Xorshift (Wikipedia) +--------------------------------------- + +https://en.wikipedia.org/wiki/Xorshift +License: https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License + +License for fastmod (https://github.com/lemire/fastmod) +-------------------------------------- + + Copyright 2018 Daniel Lemire + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +License notice for The C++ REST SDK +----------------------------------- + +C++ REST SDK + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for MessagePack-CSharp +------------------------------------- + +MessagePack for C# + +MIT License + +Copyright (c) 2017 Yoshifumi Kawai + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for lz4net +------------------------------------- + +lz4net + +Copyright (c) 2013-2017, Milosz Krajewski + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Nerdbank.Streams +----------------------------------- + +The MIT License (MIT) + +Copyright (c) Andrew Arnott + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for RapidJSON +---------------------------- + +Tencent is pleased to support the open source community by making RapidJSON available. + +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. + +Licensed under the MIT License (the "License"); you may not use this file except +in compliance with the License. You may obtain a copy of the License at + +http://opensource.org/licenses/MIT + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +License notice for DirectX Math Library +--------------------------------------- + +https://github.com/microsoft/DirectXMath/blob/master/LICENSE + + The MIT License (MIT) + +Copyright (c) 2011-2020 Microsoft Corp + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be included in all copies +or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for ldap4net +--------------------------- + +The MIT License (MIT) + +Copyright (c) 2018 Alexander Chermyanin + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized sorting code +------------------------------------------ + +MIT License + +Copyright (c) 2020 Dan Shechter + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/lib/net461/Microsoft.Extensions.Primitives.dll b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/net461/Microsoft.Extensions.Primitives.dll new file mode 100644 index 000000000..604a57fab Binary files /dev/null and b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/net461/Microsoft.Extensions.Primitives.dll differ diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/lib/net461/Microsoft.Extensions.Primitives.xml b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/net461/Microsoft.Extensions.Primitives.xml new file mode 100644 index 000000000..f29304810 --- /dev/null +++ b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/net461/Microsoft.Extensions.Primitives.xml @@ -0,0 +1,756 @@ + + + + Microsoft.Extensions.Primitives + + + + A implementation using . + + + Initializes a new instance of . + The . + + + Registers for a callback that will be invoked when the entry has changed. must be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Gets a value that indicates if a change has occurred. + + if a change has occured; otherwise. + + + Propagates notifications that a change has occurred. + + + Registers the action to be called whenever the token produced changes. + Produces the change token. + Action called when the token changes. + + + + Registers the action to be called whenever the token produced changes. + Produces the change token. + Action called when the token changes. + state for the consumer. + The type of the state for the action. + + + + An which represents one or more instances. + + + Creates a new instance of . + The list of to compose. + + + Registers for a callback that will be invoked when the entry has changed. must be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Returns the list of which compose the current . + The list of instances which compose the current . + + + Gets a value that indicates if a change has occurred. + + if a change has occured; otherwise. + + + + Add the given to the . + The to add to. + The to add. + The original . + + + Propagates notifications that a change has occurred. + + + Registers for a callback that will be invoked when the entry has changed. + MUST be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must + poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Gets a value that indicates if a change has occurred. + + if a change has occurred; otherwise. + + + An optimized representation of a substring. + + + A for . + + + Initializes an instance of the struct. + + The original . The includes the whole . + + + Initializes an instance of the struct. + The original used as buffer. + The offset of the segment within the . + The length of the segment. + + is . + + or is less than zero, or + + is greater than the number of characters in . + + + Gets a from the current . + The from this . + + + Gets a from the current . + The from this . + + + Compares substrings of two specified objects using the specified rules, + and returns an integer that indicates their relative position in the sort order. + The first to compare. + The second to compare. + One of the enumeration values that specifies the rules for the comparison. + + A 32-bit signed integer indicating the lexical relationship between the two comparands. + The value is negative if is less than , 0 if the two comparands are equal, + and positive if is greater than . + . + + + Checks if the end of this matches the specified when compared using the specified . + The to compare. + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if matches the end of this ; otherwise, . + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + + if the current object is equal to the other parameter; otherwise, . + + + Determines whether two specified objects have the same value. A parameter specifies the culture, case, and + sort rules used in the comparison. + The first to compare. + The second to compare. + One of the enumeration values that specifies the rules for the comparison. + + if the objects are equal; otherwise, . + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + One of the enumeration values that specifies the rules to use in the comparison. + + if the current object is equal to the other parameter; otherwise, . + + + + + + Checks if the specified is equal to the current . + The to compare with the current . + + if the specified is equal to the current ; otherwise, . + + + Checks if the specified is equal to the current . + The to compare with the current . + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if the specified is equal to the current ; otherwise, . + + + + Gets the zero-based index of the first occurrence of the character in this . + The Unicode character to seek. + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Gets the zero-based index of the first occurrence of the character in this . + The search starts at . + The Unicode character to seek. + The zero-based index position at which the search starts. + + is greater than or equal to or less than zero. + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Gets the zero-based index of the first occurrence of the character in this . + The search starts at and examines a specified number of character positions. + The Unicode character to seek. + The zero-based index position at which the search starts. + The number of characters to examine. + + or is less than zero, or + is + greater than . + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. + A Unicode character array containing one or more characters to seek. + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. The search starts at a specified character position. + A Unicode character array containing one or more characters to seek. + The search starting position. + + is greater than or equal to or less than zero. + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. The search starts at a specified character position and examines a specified number + of character positions. + A Unicode character array containing one or more characters to seek. + The search starting position. + The number of character positions to examine. + + is . + + or is less than zero, or + is + greater than . + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Indicates whether the specified is null or an Empty string. + The to test. + + + + Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. + The Unicode character to seek. + The zero-based index position of value if that character is found, or -1 if it is not. + + + Checks if two specified have the same value. + The first to compare, or . + The second to compare, or . + + if the value of is the same as the value of ; otherwise, . + + + Creates a see from the given . + The to convert to a . + + + Creates a see from the given . + The to convert to a . + + + Creates a new from the given . + The to convert to a + + + Checks if two specified have different values. + The first to compare, or . + The second to compare, or . + + if the value of is different from the value of ; otherwise, . + + + Splits a string into s that are based on the characters in an array. + A character array that delimits the substrings in this string, an empty array that + contains no delimiters, or null. + An whose elements contain the s from this instance + that are delimited by one or more characters in . + + + Checks if the beginning of this matches the specified when compared using the specified . + The to compare. + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if matches the beginning of this ; otherwise, . + + + Retrieves a that represents a substring from this . + The starts at the position specified by . + The zero-based starting character position of a substring in this . + + is greater than or equal to or less than zero. + A that begins at in this + whose length is the remainder. + + + Retrieves a that represents a substring from this . + The starts at the position specified by and has the specified . + The zero-based starting character position of a substring in this . + The number of characters in the substring. + + or is less than zero, or + is + greater than . + A that is equivalent to the substring of length that begins at in this + + + Retrieves a substring from this . + The substring starts at the position specified by and has the remaining length. + The zero-based starting character position of a substring in this . + + is greater than or equal to or less than zero. + A that is equivalent to the substring of remaining length that begins at + in this + + + Retrieves a substring from this . + The substring starts at the position specified by and has the specified . + The zero-based starting character position of a substring in this . + The number of characters in the substring. + + or is less than zero, or + is + greater than . + A that is equivalent to the substring of length that begins at + in this + + + Returns the represented by this or if the does not contain a value. + The represented by this or if the does not contain a value. + + + Removes all leading and trailing whitespaces. + The trimmed . + + + Removes all trailing whitespaces. + The trimmed . + + + Removes all leading whitespaces. + The trimmed . + + + Gets the buffer for this . + The buffer for this . + + + Gets whether this contains a valid value. + + if the contains a valid value; otherwise. + + + Gets the at a specified position in the current . + The offset into the + + is greater than or equal to or less than zero. + The at a specified position. + + + Gets the length of this . + The length of this . + + + Gets the offset within the buffer for this . + The offset within the buffer for this . + + + Gets the value of this segment as a . + The value of this segment as a . + + + + Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. + The first object to compare. + The second object to compare. + A signed integer that indicates the relative values of and . + + + Determines whether the specified objects are equal. + The first object of type to compare. + The second object of type to compare. + + if the specified objects are equal; otherwise, . + + + Returns a hash code for the specified object. + The for which a hash code is to be returned. + A hash code for the specified object. + + + + + Tokenizes a into s. + + + Initializes a new instance of . + The to tokenize. + The characters to tokenize by. + + + Initializes a new instance of . + The to tokenize. + The characters to tokenize by. + + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. + + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Advances the enumerator to the next element of the collection. + + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Represents zero/null, one, or many strings in an efficient way. + + + A readonly instance of the struct whose value is an empty string array. + + + Initializes a new instance of the structure using the specified string. + A string value or . + + + Initializes a new instance of the structure using the specified array of strings. + A string array. + + + Concatenates two specified instances of . + The first to concatenate. + The second to concatenate. + The concatenation of and . + + + Concatenates specified instance of with specified . + The to concatenate. + The string to concatenate. + The concatenation of and . + + + Concatenates specified instance of with specified . + The string to concatenate. + The to concatenate. + The concatenation of and . + + + Determines whether this instance and another specified object have the same values. + The string to compare to this instance. + + if the value of is the same as the value of this instance; otherwise, . + + + Determines whether two specified objects have the same values in the same order. + The first to compare. + The second to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether the specified and objects have the same values. + The to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . If is , the method returns . + + + Determines whether the specified and string array objects have the same values. + The to compare. + The string array to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether this instance and a specified object have the same value. + An object to compare with this object. + + if the current object is equal to ; otherwise, . + + + Determines whether this instance and a specified string have the same value. + The string to compare to this instance. + + if the value of is the same as this instance; otherwise, . If is , returns . + + + Determines whether the specified and objects have the same values. + The string to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . If is , the method returns . + + + Determines whether this instance and a specified string array have the same values. + The string array to compare to this instance. + + if the value of is the same as this instance; otherwise, . + + + Determines whether the specified string array and objects have the same values. + The string array to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . + + + Retrieves an object that can iterate through the individual strings in this . + An enumerator that can be used to iterate through the . + + + + Indicates whether the specified contains no string values. + The to test. + + if value contains a single string or empty array; otherwise, . + + + Determines whether two specified have the same values. + The first to compare. + The second to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether the specified and , which must be a , , or array of , have the same value. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + + + + + + + + + Determines whether the specified , which must be a , , or array of , and specified , have the same value. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + + + + + + + + + Defines an implicit conversion of a given to a string, with multiple values joined as a comma separated string. + A to implicitly convert. + Returns where has been initialized from an empty string array or is . Otherwise, it returns the implicit conversion of to a string. + + + Defines an implicit conversion of a given to a string array. + A to implicitly convert. + + + Defines an implicit conversion of a given string to a . + A string to implicitly convert. + + + Defines an implicit conversion of a given string array to a . + A string array to implicitly convert. + + + Determines whether two specified have different values. + The first to compare. + The second to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and , which must be a , , or array of , have different values. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + Determines whether the specified and objects have different values. + The to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and string array have different values. + The to compare. + The string array to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and object have the same values. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + Determines whether the specified and objects have different values. + The string to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified string array and have different values. + The string array to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Adds an item to the collection. + The object to add to the collection. + + + Removes all items from the collection. + + + Determines whether a string is in the . + The string to locate in the . + + if is found in the ; otherwise, . + + + Copies the entire to a string array, starting at the specified index of the target array. + The one-dimensional that is the destination of the elements copied from. The must have zero-based indexing. + The zero-based index in the destination array at which copying begins. + + + Removes the first occurrence of a specific object from the collection. + The object to remove from the collection. + + if was successfully removed from the collection; otherwise, . This method also returns if is not found in the original collection. + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + Returns the zero-based index of the first occurrence of an item in the . + The string to locate in the . + the zero-based index of the first occurrence of within the , if found; otherwise, –1. + + + Inserts an item to the at the specified index. + The zero-based index at which should be inserted. + The object to insert into the . + + + Removes the item at the specified index. + The zero-based index of the item to remove. + + + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. + + + Creates a string array from the current object. + A string array represented by this instance. + + + Converts the value of the current object to its equivalent string representation, with multiple values joined as a comma separated string. + A string representation of the value of the current object. + + + Gets the number of string elements contained in this . + The number of string elements contained in this . + + + Gets the string at index. + The zero-based index of the element to get. + The string at the specified index. + + + Gets a value indicating whether the collection is read-only. + + if the collection is read-only; otherwise, . + + + Gets the at index. + The zero-based index of the element to get. + The string at the specified index. + + + Enumerates the string values of a . + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Advances the enumerator to the next element of the collection. + + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + \ No newline at end of file diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll new file mode 100644 index 000000000..884f9dc5e Binary files /dev/null and b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll differ diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.xml b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.xml new file mode 100644 index 000000000..f29304810 --- /dev/null +++ b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netcoreapp3.0/Microsoft.Extensions.Primitives.xml @@ -0,0 +1,756 @@ + + + + Microsoft.Extensions.Primitives + + + + A implementation using . + + + Initializes a new instance of . + The . + + + Registers for a callback that will be invoked when the entry has changed. must be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Gets a value that indicates if a change has occurred. + + if a change has occured; otherwise. + + + Propagates notifications that a change has occurred. + + + Registers the action to be called whenever the token produced changes. + Produces the change token. + Action called when the token changes. + + + + Registers the action to be called whenever the token produced changes. + Produces the change token. + Action called when the token changes. + state for the consumer. + The type of the state for the action. + + + + An which represents one or more instances. + + + Creates a new instance of . + The list of to compose. + + + Registers for a callback that will be invoked when the entry has changed. must be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Returns the list of which compose the current . + The list of instances which compose the current . + + + Gets a value that indicates if a change has occurred. + + if a change has occured; otherwise. + + + + Add the given to the . + The to add to. + The to add. + The original . + + + Propagates notifications that a change has occurred. + + + Registers for a callback that will be invoked when the entry has changed. + MUST be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must + poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Gets a value that indicates if a change has occurred. + + if a change has occurred; otherwise. + + + An optimized representation of a substring. + + + A for . + + + Initializes an instance of the struct. + + The original . The includes the whole . + + + Initializes an instance of the struct. + The original used as buffer. + The offset of the segment within the . + The length of the segment. + + is . + + or is less than zero, or + + is greater than the number of characters in . + + + Gets a from the current . + The from this . + + + Gets a from the current . + The from this . + + + Compares substrings of two specified objects using the specified rules, + and returns an integer that indicates their relative position in the sort order. + The first to compare. + The second to compare. + One of the enumeration values that specifies the rules for the comparison. + + A 32-bit signed integer indicating the lexical relationship between the two comparands. + The value is negative if is less than , 0 if the two comparands are equal, + and positive if is greater than . + . + + + Checks if the end of this matches the specified when compared using the specified . + The to compare. + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if matches the end of this ; otherwise, . + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + + if the current object is equal to the other parameter; otherwise, . + + + Determines whether two specified objects have the same value. A parameter specifies the culture, case, and + sort rules used in the comparison. + The first to compare. + The second to compare. + One of the enumeration values that specifies the rules for the comparison. + + if the objects are equal; otherwise, . + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + One of the enumeration values that specifies the rules to use in the comparison. + + if the current object is equal to the other parameter; otherwise, . + + + + + + Checks if the specified is equal to the current . + The to compare with the current . + + if the specified is equal to the current ; otherwise, . + + + Checks if the specified is equal to the current . + The to compare with the current . + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if the specified is equal to the current ; otherwise, . + + + + Gets the zero-based index of the first occurrence of the character in this . + The Unicode character to seek. + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Gets the zero-based index of the first occurrence of the character in this . + The search starts at . + The Unicode character to seek. + The zero-based index position at which the search starts. + + is greater than or equal to or less than zero. + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Gets the zero-based index of the first occurrence of the character in this . + The search starts at and examines a specified number of character positions. + The Unicode character to seek. + The zero-based index position at which the search starts. + The number of characters to examine. + + or is less than zero, or + is + greater than . + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. + A Unicode character array containing one or more characters to seek. + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. The search starts at a specified character position. + A Unicode character array containing one or more characters to seek. + The search starting position. + + is greater than or equal to or less than zero. + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. The search starts at a specified character position and examines a specified number + of character positions. + A Unicode character array containing one or more characters to seek. + The search starting position. + The number of character positions to examine. + + is . + + or is less than zero, or + is + greater than . + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Indicates whether the specified is null or an Empty string. + The to test. + + + + Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. + The Unicode character to seek. + The zero-based index position of value if that character is found, or -1 if it is not. + + + Checks if two specified have the same value. + The first to compare, or . + The second to compare, or . + + if the value of is the same as the value of ; otherwise, . + + + Creates a see from the given . + The to convert to a . + + + Creates a see from the given . + The to convert to a . + + + Creates a new from the given . + The to convert to a + + + Checks if two specified have different values. + The first to compare, or . + The second to compare, or . + + if the value of is different from the value of ; otherwise, . + + + Splits a string into s that are based on the characters in an array. + A character array that delimits the substrings in this string, an empty array that + contains no delimiters, or null. + An whose elements contain the s from this instance + that are delimited by one or more characters in . + + + Checks if the beginning of this matches the specified when compared using the specified . + The to compare. + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if matches the beginning of this ; otherwise, . + + + Retrieves a that represents a substring from this . + The starts at the position specified by . + The zero-based starting character position of a substring in this . + + is greater than or equal to or less than zero. + A that begins at in this + whose length is the remainder. + + + Retrieves a that represents a substring from this . + The starts at the position specified by and has the specified . + The zero-based starting character position of a substring in this . + The number of characters in the substring. + + or is less than zero, or + is + greater than . + A that is equivalent to the substring of length that begins at in this + + + Retrieves a substring from this . + The substring starts at the position specified by and has the remaining length. + The zero-based starting character position of a substring in this . + + is greater than or equal to or less than zero. + A that is equivalent to the substring of remaining length that begins at + in this + + + Retrieves a substring from this . + The substring starts at the position specified by and has the specified . + The zero-based starting character position of a substring in this . + The number of characters in the substring. + + or is less than zero, or + is + greater than . + A that is equivalent to the substring of length that begins at + in this + + + Returns the represented by this or if the does not contain a value. + The represented by this or if the does not contain a value. + + + Removes all leading and trailing whitespaces. + The trimmed . + + + Removes all trailing whitespaces. + The trimmed . + + + Removes all leading whitespaces. + The trimmed . + + + Gets the buffer for this . + The buffer for this . + + + Gets whether this contains a valid value. + + if the contains a valid value; otherwise. + + + Gets the at a specified position in the current . + The offset into the + + is greater than or equal to or less than zero. + The at a specified position. + + + Gets the length of this . + The length of this . + + + Gets the offset within the buffer for this . + The offset within the buffer for this . + + + Gets the value of this segment as a . + The value of this segment as a . + + + + Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. + The first object to compare. + The second object to compare. + A signed integer that indicates the relative values of and . + + + Determines whether the specified objects are equal. + The first object of type to compare. + The second object of type to compare. + + if the specified objects are equal; otherwise, . + + + Returns a hash code for the specified object. + The for which a hash code is to be returned. + A hash code for the specified object. + + + + + Tokenizes a into s. + + + Initializes a new instance of . + The to tokenize. + The characters to tokenize by. + + + Initializes a new instance of . + The to tokenize. + The characters to tokenize by. + + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. + + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Advances the enumerator to the next element of the collection. + + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Represents zero/null, one, or many strings in an efficient way. + + + A readonly instance of the struct whose value is an empty string array. + + + Initializes a new instance of the structure using the specified string. + A string value or . + + + Initializes a new instance of the structure using the specified array of strings. + A string array. + + + Concatenates two specified instances of . + The first to concatenate. + The second to concatenate. + The concatenation of and . + + + Concatenates specified instance of with specified . + The to concatenate. + The string to concatenate. + The concatenation of and . + + + Concatenates specified instance of with specified . + The string to concatenate. + The to concatenate. + The concatenation of and . + + + Determines whether this instance and another specified object have the same values. + The string to compare to this instance. + + if the value of is the same as the value of this instance; otherwise, . + + + Determines whether two specified objects have the same values in the same order. + The first to compare. + The second to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether the specified and objects have the same values. + The to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . If is , the method returns . + + + Determines whether the specified and string array objects have the same values. + The to compare. + The string array to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether this instance and a specified object have the same value. + An object to compare with this object. + + if the current object is equal to ; otherwise, . + + + Determines whether this instance and a specified string have the same value. + The string to compare to this instance. + + if the value of is the same as this instance; otherwise, . If is , returns . + + + Determines whether the specified and objects have the same values. + The string to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . If is , the method returns . + + + Determines whether this instance and a specified string array have the same values. + The string array to compare to this instance. + + if the value of is the same as this instance; otherwise, . + + + Determines whether the specified string array and objects have the same values. + The string array to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . + + + Retrieves an object that can iterate through the individual strings in this . + An enumerator that can be used to iterate through the . + + + + Indicates whether the specified contains no string values. + The to test. + + if value contains a single string or empty array; otherwise, . + + + Determines whether two specified have the same values. + The first to compare. + The second to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether the specified and , which must be a , , or array of , have the same value. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + + + + + + + + + Determines whether the specified , which must be a , , or array of , and specified , have the same value. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + + + + + + + + + Defines an implicit conversion of a given to a string, with multiple values joined as a comma separated string. + A to implicitly convert. + Returns where has been initialized from an empty string array or is . Otherwise, it returns the implicit conversion of to a string. + + + Defines an implicit conversion of a given to a string array. + A to implicitly convert. + + + Defines an implicit conversion of a given string to a . + A string to implicitly convert. + + + Defines an implicit conversion of a given string array to a . + A string array to implicitly convert. + + + Determines whether two specified have different values. + The first to compare. + The second to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and , which must be a , , or array of , have different values. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + Determines whether the specified and objects have different values. + The to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and string array have different values. + The to compare. + The string array to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and object have the same values. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + Determines whether the specified and objects have different values. + The string to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified string array and have different values. + The string array to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Adds an item to the collection. + The object to add to the collection. + + + Removes all items from the collection. + + + Determines whether a string is in the . + The string to locate in the . + + if is found in the ; otherwise, . + + + Copies the entire to a string array, starting at the specified index of the target array. + The one-dimensional that is the destination of the elements copied from. The must have zero-based indexing. + The zero-based index in the destination array at which copying begins. + + + Removes the first occurrence of a specific object from the collection. + The object to remove from the collection. + + if was successfully removed from the collection; otherwise, . This method also returns if is not found in the original collection. + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + Returns the zero-based index of the first occurrence of an item in the . + The string to locate in the . + the zero-based index of the first occurrence of within the , if found; otherwise, –1. + + + Inserts an item to the at the specified index. + The zero-based index at which should be inserted. + The object to insert into the . + + + Removes the item at the specified index. + The zero-based index of the item to remove. + + + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. + + + Creates a string array from the current object. + A string array represented by this instance. + + + Converts the value of the current object to its equivalent string representation, with multiple values joined as a comma separated string. + A string representation of the value of the current object. + + + Gets the number of string elements contained in this . + The number of string elements contained in this . + + + Gets the string at index. + The zero-based index of the element to get. + The string at the specified index. + + + Gets a value indicating whether the collection is read-only. + + if the collection is read-only; otherwise, . + + + Gets the at index. + The zero-based index of the element to get. + The string at the specified index. + + + Enumerates the string values of a . + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Advances the enumerator to the next element of the collection. + + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + \ No newline at end of file diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.dll b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.dll new file mode 100644 index 000000000..e63c5a9ec Binary files /dev/null and b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.dll differ diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.xml b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.xml new file mode 100644 index 000000000..f29304810 --- /dev/null +++ b/packages/Microsoft.Extensions.Primitives.5.0.0/lib/netstandard2.0/Microsoft.Extensions.Primitives.xml @@ -0,0 +1,756 @@ + + + + Microsoft.Extensions.Primitives + + + + A implementation using . + + + Initializes a new instance of . + The . + + + Registers for a callback that will be invoked when the entry has changed. must be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Gets a value that indicates if a change has occurred. + + if a change has occured; otherwise. + + + Propagates notifications that a change has occurred. + + + Registers the action to be called whenever the token produced changes. + Produces the change token. + Action called when the token changes. + + + + Registers the action to be called whenever the token produced changes. + Produces the change token. + Action called when the token changes. + state for the consumer. + The type of the state for the action. + + + + An which represents one or more instances. + + + Creates a new instance of . + The list of to compose. + + + Registers for a callback that will be invoked when the entry has changed. must be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Returns the list of which compose the current . + The list of instances which compose the current . + + + Gets a value that indicates if a change has occurred. + + if a change has occured; otherwise. + + + + Add the given to the . + The to add to. + The to add. + The original . + + + Propagates notifications that a change has occurred. + + + Registers for a callback that will be invoked when the entry has changed. + MUST be set before the callback is invoked. + The to invoke. + State to be passed into the callback. + An that is used to unregister the callback. + + + Indicates if this token will pro-actively raise callbacks. If , the token consumer must + poll to detect changes. + + if the token will proactively raise callbacks; otherwise. + + + Gets a value that indicates if a change has occurred. + + if a change has occurred; otherwise. + + + An optimized representation of a substring. + + + A for . + + + Initializes an instance of the struct. + + The original . The includes the whole . + + + Initializes an instance of the struct. + The original used as buffer. + The offset of the segment within the . + The length of the segment. + + is . + + or is less than zero, or + + is greater than the number of characters in . + + + Gets a from the current . + The from this . + + + Gets a from the current . + The from this . + + + Compares substrings of two specified objects using the specified rules, + and returns an integer that indicates their relative position in the sort order. + The first to compare. + The second to compare. + One of the enumeration values that specifies the rules for the comparison. + + A 32-bit signed integer indicating the lexical relationship between the two comparands. + The value is negative if is less than , 0 if the two comparands are equal, + and positive if is greater than . + . + + + Checks if the end of this matches the specified when compared using the specified . + The to compare. + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if matches the end of this ; otherwise, . + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + + if the current object is equal to the other parameter; otherwise, . + + + Determines whether two specified objects have the same value. A parameter specifies the culture, case, and + sort rules used in the comparison. + The first to compare. + The second to compare. + One of the enumeration values that specifies the rules for the comparison. + + if the objects are equal; otherwise, . + + + Indicates whether the current object is equal to another object of the same type. + An object to compare with this object. + One of the enumeration values that specifies the rules to use in the comparison. + + if the current object is equal to the other parameter; otherwise, . + + + + + + Checks if the specified is equal to the current . + The to compare with the current . + + if the specified is equal to the current ; otherwise, . + + + Checks if the specified is equal to the current . + The to compare with the current . + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if the specified is equal to the current ; otherwise, . + + + + Gets the zero-based index of the first occurrence of the character in this . + The Unicode character to seek. + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Gets the zero-based index of the first occurrence of the character in this . + The search starts at . + The Unicode character to seek. + The zero-based index position at which the search starts. + + is greater than or equal to or less than zero. + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Gets the zero-based index of the first occurrence of the character in this . + The search starts at and examines a specified number of character positions. + The Unicode character to seek. + The zero-based index position at which the search starts. + The number of characters to examine. + + or is less than zero, or + is + greater than . + The zero-based index position of from the beginning of the if that character is found, or -1 if it is not. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. + A Unicode character array containing one or more characters to seek. + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. The search starts at a specified character position. + A Unicode character array containing one or more characters to seek. + The search starting position. + + is greater than or equal to or less than zero. + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Reports the zero-based index of the first occurrence in this instance of any character in a specified array + of Unicode characters. The search starts at a specified character position and examines a specified number + of character positions. + A Unicode character array containing one or more characters to seek. + The search starting position. + The number of character positions to examine. + + is . + + or is less than zero, or + is + greater than . + The zero-based index position of the first occurrence in this instance where any character in + was found; -1 if no character in was found. + + + Indicates whether the specified is null or an Empty string. + The to test. + + + + Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance. + The Unicode character to seek. + The zero-based index position of value if that character is found, or -1 if it is not. + + + Checks if two specified have the same value. + The first to compare, or . + The second to compare, or . + + if the value of is the same as the value of ; otherwise, . + + + Creates a see from the given . + The to convert to a . + + + Creates a see from the given . + The to convert to a . + + + Creates a new from the given . + The to convert to a + + + Checks if two specified have different values. + The first to compare, or . + The second to compare, or . + + if the value of is different from the value of ; otherwise, . + + + Splits a string into s that are based on the characters in an array. + A character array that delimits the substrings in this string, an empty array that + contains no delimiters, or null. + An whose elements contain the s from this instance + that are delimited by one or more characters in . + + + Checks if the beginning of this matches the specified when compared using the specified . + The to compare. + One of the enumeration values that specifies the rules to use in the comparison. + + is . + + if matches the beginning of this ; otherwise, . + + + Retrieves a that represents a substring from this . + The starts at the position specified by . + The zero-based starting character position of a substring in this . + + is greater than or equal to or less than zero. + A that begins at in this + whose length is the remainder. + + + Retrieves a that represents a substring from this . + The starts at the position specified by and has the specified . + The zero-based starting character position of a substring in this . + The number of characters in the substring. + + or is less than zero, or + is + greater than . + A that is equivalent to the substring of length that begins at in this + + + Retrieves a substring from this . + The substring starts at the position specified by and has the remaining length. + The zero-based starting character position of a substring in this . + + is greater than or equal to or less than zero. + A that is equivalent to the substring of remaining length that begins at + in this + + + Retrieves a substring from this . + The substring starts at the position specified by and has the specified . + The zero-based starting character position of a substring in this . + The number of characters in the substring. + + or is less than zero, or + is + greater than . + A that is equivalent to the substring of length that begins at + in this + + + Returns the represented by this or if the does not contain a value. + The represented by this or if the does not contain a value. + + + Removes all leading and trailing whitespaces. + The trimmed . + + + Removes all trailing whitespaces. + The trimmed . + + + Removes all leading whitespaces. + The trimmed . + + + Gets the buffer for this . + The buffer for this . + + + Gets whether this contains a valid value. + + if the contains a valid value; otherwise. + + + Gets the at a specified position in the current . + The offset into the + + is greater than or equal to or less than zero. + The at a specified position. + + + Gets the length of this . + The length of this . + + + Gets the offset within the buffer for this . + The offset within the buffer for this . + + + Gets the value of this segment as a . + The value of this segment as a . + + + + Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. + The first object to compare. + The second object to compare. + A signed integer that indicates the relative values of and . + + + Determines whether the specified objects are equal. + The first object of type to compare. + The second object of type to compare. + + if the specified objects are equal; otherwise, . + + + Returns a hash code for the specified object. + The for which a hash code is to be returned. + A hash code for the specified object. + + + + + Tokenizes a into s. + + + Initializes a new instance of . + The to tokenize. + The characters to tokenize by. + + + Initializes a new instance of . + The to tokenize. + The characters to tokenize by. + + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. + + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Advances the enumerator to the next element of the collection. + + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Represents zero/null, one, or many strings in an efficient way. + + + A readonly instance of the struct whose value is an empty string array. + + + Initializes a new instance of the structure using the specified string. + A string value or . + + + Initializes a new instance of the structure using the specified array of strings. + A string array. + + + Concatenates two specified instances of . + The first to concatenate. + The second to concatenate. + The concatenation of and . + + + Concatenates specified instance of with specified . + The to concatenate. + The string to concatenate. + The concatenation of and . + + + Concatenates specified instance of with specified . + The string to concatenate. + The to concatenate. + The concatenation of and . + + + Determines whether this instance and another specified object have the same values. + The string to compare to this instance. + + if the value of is the same as the value of this instance; otherwise, . + + + Determines whether two specified objects have the same values in the same order. + The first to compare. + The second to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether the specified and objects have the same values. + The to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . If is , the method returns . + + + Determines whether the specified and string array objects have the same values. + The to compare. + The string array to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether this instance and a specified object have the same value. + An object to compare with this object. + + if the current object is equal to ; otherwise, . + + + Determines whether this instance and a specified string have the same value. + The string to compare to this instance. + + if the value of is the same as this instance; otherwise, . If is , returns . + + + Determines whether the specified and objects have the same values. + The string to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . If is , the method returns . + + + Determines whether this instance and a specified string array have the same values. + The string array to compare to this instance. + + if the value of is the same as this instance; otherwise, . + + + Determines whether the specified string array and objects have the same values. + The string array to compare. + The to compare. + + if the value of is the same as the value of ; otherwise, . + + + Retrieves an object that can iterate through the individual strings in this . + An enumerator that can be used to iterate through the . + + + + Indicates whether the specified contains no string values. + The to test. + + if value contains a single string or empty array; otherwise, . + + + Determines whether two specified have the same values. + The first to compare. + The second to compare. + + if the value of is the same as the value of ; otherwise, . + + + Determines whether the specified and , which must be a , , or array of , have the same value. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + + + + + + + + + Determines whether the specified , which must be a , , or array of , and specified , have the same value. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + + + + + + + + + Defines an implicit conversion of a given to a string, with multiple values joined as a comma separated string. + A to implicitly convert. + Returns where has been initialized from an empty string array or is . Otherwise, it returns the implicit conversion of to a string. + + + Defines an implicit conversion of a given to a string array. + A to implicitly convert. + + + Defines an implicit conversion of a given string to a . + A string to implicitly convert. + + + Defines an implicit conversion of a given string array to a . + A string array to implicitly convert. + + + Determines whether two specified have different values. + The first to compare. + The second to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and , which must be a , , or array of , have different values. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + Determines whether the specified and objects have different values. + The to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and string array have different values. + The to compare. + The string array to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified and object have the same values. + The to compare. + The to compare. + + if the object is equal to the ; otherwise, . + + + Determines whether the specified and objects have different values. + The string to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Determines whether the specified string array and have different values. + The string array to compare. + The to compare. + + if the value of is different to the value of ; otherwise, . + + + Adds an item to the collection. + The object to add to the collection. + + + Removes all items from the collection. + + + Determines whether a string is in the . + The string to locate in the . + + if is found in the ; otherwise, . + + + Copies the entire to a string array, starting at the specified index of the target array. + The one-dimensional that is the destination of the elements copied from. The must have zero-based indexing. + The zero-based index in the destination array at which copying begins. + + + Removes the first occurrence of a specific object from the collection. + The object to remove from the collection. + + if was successfully removed from the collection; otherwise, . This method also returns if is not found in the original collection. + + + Returns an enumerator that iterates through the collection. + An enumerator that can be used to iterate through the collection. + + + Returns the zero-based index of the first occurrence of an item in the . + The string to locate in the . + the zero-based index of the first occurrence of within the , if found; otherwise, –1. + + + Inserts an item to the at the specified index. + The zero-based index at which should be inserted. + The object to insert into the . + + + Removes the item at the specified index. + The zero-based index of the item to remove. + + + Returns an enumerator that iterates through a collection. + An object that can be used to iterate through the collection. + + + Creates a string array from the current object. + A string array represented by this instance. + + + Converts the value of the current object to its equivalent string representation, with multiple values joined as a comma separated string. + A string representation of the value of the current object. + + + Gets the number of string elements contained in this . + The number of string elements contained in this . + + + Gets the string at index. + The zero-based index of the element to get. + The string at the specified index. + + + Gets a value indicating whether the collection is read-only. + + if the collection is read-only; otherwise, . + + + Gets the at index. + The zero-based index of the element to get. + The string at the specified index. + + + Enumerates the string values of a . + + + + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Advances the enumerator to the next element of the collection. + + if the enumerator was successfully advanced to the next element; if the enumerator has passed the end of the collection. + + + Sets the enumerator to its initial position, which is before the first element in the collection. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + Gets the element in the collection at the current position of the enumerator. + The element in the collection at the current position of the enumerator. + + + \ No newline at end of file diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/useSharedDesignerContext.txt b/packages/Microsoft.Extensions.Primitives.5.0.0/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/Microsoft.Extensions.Primitives.5.0.0/version.txt b/packages/Microsoft.Extensions.Primitives.5.0.0/version.txt new file mode 100644 index 000000000..0a6d216f5 --- /dev/null +++ b/packages/Microsoft.Extensions.Primitives.5.0.0/version.txt @@ -0,0 +1 @@ +cf258a14b70ad9069470a108f13765e0e5988f51 diff --git a/packages/Moq.4.20.70/.signature.p7s b/packages/Moq.4.20.70/.signature.p7s new file mode 100644 index 000000000..3e607ac3b Binary files /dev/null and b/packages/Moq.4.20.70/.signature.p7s differ diff --git a/packages/Moq.4.20.70/Moq.4.20.70.nupkg b/packages/Moq.4.20.70/Moq.4.20.70.nupkg new file mode 100644 index 000000000..ae74fa188 Binary files /dev/null and b/packages/Moq.4.20.70/Moq.4.20.70.nupkg differ diff --git a/packages/Moq.4.20.70/icon.png b/packages/Moq.4.20.70/icon.png new file mode 100644 index 000000000..41cf4062f Binary files /dev/null and b/packages/Moq.4.20.70/icon.png differ diff --git a/packages/Moq.4.20.70/lib/net462/Moq.dll b/packages/Moq.4.20.70/lib/net462/Moq.dll new file mode 100644 index 000000000..78758bd6f Binary files /dev/null and b/packages/Moq.4.20.70/lib/net462/Moq.dll differ diff --git a/packages/Moq.4.20.70/lib/net462/Moq.xml b/packages/Moq.4.20.70/lib/net462/Moq.xml new file mode 100644 index 000000000..896673bfd --- /dev/null +++ b/packages/Moq.4.20.70/lib/net462/Moq.xml @@ -0,0 +1,8543 @@ + + + + Moq + + + + + is a kind of that works by + applying a delegate to a light-weight proxy that records the invocation + happening to it, and auto-generates the same kind of recording proxy for its return value. + That way, a chain of invocation records is generated from which a LINQ expression tree can be + reconstructed. + + + + + Recursively gets the result of (i.e. "unwraps") completed awaitables + until a value is found that isn't a successfully completed awaitable. + + + As an example, given := Task.FromResult(Task.FromResult(42)), + this method will return 42. + + The (possibly awaitable) object to be "unwrapped". + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that do not produce a result when awaited. + + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that produce a result when awaited. + + + + + Allows to create parameter captures in setup expressions. + + + + + Creates a parameter capture that will store values in a collection. + + The captured object type + The collection that will store captured parameter values + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture that will store specific values in a collection. + + The captured object type + The collection that will store captured parameter values + A predicate used to filter captured parameters + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters, p => p.StartsWith("W")))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture using specified . + + The captured object type + + Arrange code: + + var capturedValue = string.Empty; + var match = new CaptureMatch{string}(x => capturedValue = x); + mock.Setup(x => x.DoSomething(Capture.With(match))); + + Assert code: + + Assert.Equal("Hello!", capturedValue); + + + + + + Allows creation custom matchers that can be used on setups to capture parameter values. + + + + + + Initializes an instance of the capture match. + + An action to run on captured value + + + + Initializes an instance of the capture match. + + An action to run on captured value + A predicate used to filter captured parameters + + + + Determines the way default values are generated + calculated for loose mocks. + + + + + Default behavior, which generates empty values for + value types (i.e. default(int)), empty array and + enumerables, and nulls for all other reference types. + + + + + Whenever the default value generated by + is null, replaces this value with a mock (if the type + can be mocked). + + + For sealed classes, a null value will be generated. + + + + + + All default value generation strategies other than or + are represented by this enumeration value. + + + Do not set (nor ) to this value. + If you want to set up a custom default value generation strategy, set + or instead. + + + + + + + + is the abstract base class for default value providers. + These are responsible for producing e. g. return values when mock methods or properties get invoked unexpectedly. + In other words, whenever there is no setup that would determine the return value for a particular invocation, + Moq asks the mock's default value provider to produce a return value. + + + + + Gets the corresponding to ; + that is, a default value provider returning "empty" values e. g. for collection types. + + + + + Gets the corresponding to ; + that is, a default value provider returning mocked objects or "empty" values for unmockable types. + + + + + Initializes a new instance of the class. + + + + + Gets the enumeration value that corresponds to this default value provider. + Must be overridden by Moq's internal providers that have their own corresponding . + + + + + Produces a default value of the specified type. + Must be overridden in derived classes. + + The of the requested default value. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default argument value for the specified method parameter. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method parameter for which a default argument value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default return value for the specified method. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method for which a default return value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + A that returns an empty default value + for invocations that do not have setups or return values, with loose mocks. + This is the default behavior for a mock. + + + + + Provides partial evaluation of subtrees, whenever they can be evaluated locally. + + Matt Warren: http://blogs.msdn.com/mattwar + Documented by InSTEDD: http://www.instedd.org + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A function that decides whether a given expression + node can be part of the local function. + A new tree with sub-trees evaluated and replaced. + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A new tree with sub-trees evaluated and replaced. + + + + Evaluates and replaces sub-trees when first candidate is reached (top-down) + + + + + Performs bottom-up analysis to determine which nodes can possibly + be part of an evaluated sub-tree. + + + + + Represents a set (or the "shape") of invocations + against which concrete s can be matched. + + + + + An compiles LINQ expression trees () to delegates. + Whenever Moq needs to compile an expression tree, it uses the instance set up by . + + + + + The default instance, which simply delegates to the framework's . + + + + + Gets or sets the instance that Moq uses to compile (LINQ expression trees). + Defaults to . + + + + + Initializes a new instance of the class. + + + + + Compiles the specified LINQ expression tree. + + The LINQ expression tree that should be compiled. + + + + Compiles the specified LINQ expression tree. + + The type of delegate to which the expression will be compiled. + The LINQ expression tree that should be compiled. + + + + Wraps this in a node if needed. + + The which should be wrapped. + The with which to make the compatible. + + LINQ expression trees generally enforce type compatibility rules that are stricter than + the assignment-compatibility used by e.g. . For + example, while is assignable-to , you + will need a conversion in a LINQ expression tree to model the value-type boxing operation. + + + + + Checks whether the given expression can be split by . + + + + + Splits an expression such as `m => m.A.B(x).C[y] = z` into a chain of parts + that can be set up one at a time: + + `m => m.A`, + `... => ....B(x)`, + `... => ....C`, + `... => ...[y] = z`. + + + The split points are chosen such that each part has exactly one associated + and optionally some argument expressions. + + + + It was not possible to completely split up the expression. + + + + + Converts the body of the lambda expression into the referenced by it. + + + + + Checks whether the body of the lambda expression is a property access. + + + + + Checks whether the body of the lambda expression is a indexer access. + + + + + TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583 + is fixed. + + + + + Applies the specified to this expression tree. + + The to which should be applied. + The that should be applied to . + + + + A reconstructs LINQ expression trees () + from delegates. It is the counterpart to . + + + + + Reconstructs a from the given delegate. + + The delegate for which to reconstruct a LINQ expression tree. + Arguments to pass to a parameterized constructor of . (Optional.) + + + + Extracts the arguments from a lambda expression that calls a constructor. + + The constructor expression. + Extracted argument values. + + + + Evaluates variables that have been closed over by a lambda function. + + + + + Replaces nodes for property or indexer accessor methods + with equivalent nodes. + + + + In the case of getter accessors such as `x.get_Property()`, the result will be + a single node: `x.Property`. + + + In the case of setter accessors such as `x.set_Property(y)`, the result will be + a combination of and : + `x.Property = y`. + + + + + + + + Gets the default value for the specified type. This is the Reflection counterpart of C#'s operator. + + + + + Gets the least-derived in the given type that provides + the implementation for the given . + + + + + Gets whether the given is a delegate type. + + + + + Visits all constituent parts of , replacing all type matchers + that match the type argument at the corresponding position in . + + The type to be matched. May be, or contain, type matchers. + The type argument to match against . + + + + Ensures the given is not null. + Throws otherwise. + + + + + Ensures the given string is not null or empty. + Throws in the first case, or + in the latter. + + + + + Provides information about an invocation of a mock object. + + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + + + Gets the setup that matched this invocation (or if there was no matching setup). + + + + + Gets whether this invocation was successfully verified by any of the various `Verify` methods. + + + + + The value being returned for a non-void method if no exception was thrown. + + + + + Optional exception if the method invocation results in an exception being thrown. + + + + + A list of invocations which have been performed on a mock. + + + + + Resets all invocations recorded for this mock. + + + + + Covariant interface for such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of . + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + An implementation of that is based on Castle DynamicProxy. + + + + + + + + This hook tells Castle DynamicProxy to proxy the default methods it suggests, + plus some of the methods defined by , e.g. so we can intercept + and give mocks useful default names. + + + + + This role interface represents a 's ability to intercept method invocations for its . + It is meant for use by . + + + + Do not use. (Moq requires this class so that methods can be set up on interface mocks.) + + + + + + + + + + + + Do not use. (Moq requires this interface so that methods can be set up on interface mocks.) + + + + + + + Base class for mocks and static helper class with methods that apply to mocked objects, + such as to retrieve a from an object instance. + + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Initializes a new instance of the class. + + + + + Retrieves the mock object for the given object instance. + + The instance of the mocked object. + + Type of the mock to retrieve. + Can be omitted as it's inferred from the object instance passed in as the instance. + + The mock associated with the mocked object. + The received instance was not created by Moq. + + The following example shows how to add a new setup to an object instance + which is not the original but rather the object associated with it: + + // Typed instance, not the mock, is retrieved from some test API. + HttpContextBase context = GetMockContext(); + + // context.Request is the typed object from the "real" API + // so in order to add a setup to it, we need to get + // the mock that "owns" it + Mock<HttpRequestBase> request = Mock.Get(context.Request); + + request.Setup(req => req.AppRelativeCurrentExecutionFilePath) + .Returns(tempUrl); + + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + + + Gets the interfaces additionally implemented by the mock object. + + + This list may be modified by calls to up until the first call to . + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Gets the mocked object instance. + + + + + Gets the interfaces directly inherited from the mocked type (). + + + + + Gets list of invocations which have been performed on this mock. + + + + + Returns the mocked object value. + + + + + Retrieves the type of the mocked object, its generic type argument. + This is used in the auto-mocking of hierarchy access. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the setups that have been configured on this mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + This example sets up an expectation and marks it as verifiable. + After the mock is used, a Verify() call is issued on the mock + to ensure the method in the setup was invoked: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true) + .Verifiable(); + + ... + + // Will throw if the test code did not call HasInventory. + this.Verify(); + + + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + This example sets up an expectation without marking it as verifiable. + After the mock is used, a call is issued on the mock + to ensure that all expectations are met: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true); + + ... + + // Will throw if the test code did not call HasInventory, + // even though that expectation was not marked as verifiable. + mock.VerifyAll(); + + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + + + Defines the default return value for all mocked methods or properties with return type . + + The return type for which to define a default value. + The default return value. + + Default return value is respected only when there is no matching setup for a method call. + + + + + Gets the global instance used by Moq. + + + + + Initializes a new instance of the class. + + The of the concrete proxy object on which a method is being invoked. + The method being invoked. + The arguments with which the specified is being invoked. + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + Arguments may be modified. Derived classes must ensure that by-reference parameters are written back + when the invocation is ended by a call to any of the three Returns methods. + + + + + Calls the method implementation + and returns its return value (or for methods). + + + + + + + + Internal type to mark invocation results as "exception occurred during execution". The type just + wraps the Exception so a thrown exception can be distinguished from an + return value. + + + + + A delegate-like type for use with `setup.Callback` which instructs the `Callback` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A delegate-like type for use with `setup.Returns` which instructs the `Returns` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A setup configured on a mock. + + + + + + The setup expression. + + + + + Gets the inner mock of this setup (if present and known). + + An "inner mock" is the instance associated with a setup's return value, + if that setup is configured to return a mock object. + + + This property will be if a setup either does not return a mock object, + or if Moq cannot safely determine its return value without risking any side effects. For instance, + Moq is able to inspect the return value if it is a constant (e.g. `.Returns(value)`); + if, on the other hand, it gets computed by a factory function (e.g. `.Returns(() => value)`), + Moq will not attempt to retrieve that value just to find the inner mock, + since calling a user-provided function could have effects beyond Moq's understanding and control. + + + + + + Gets whether this setup is conditional. + + + + + + Gets whether this setup was matched by at least one invocation on the mock. + + + + + Gets whether this setup has been overridden + (that is, whether it is being shadowed by a more recent non-conditional setup with an equal expression). + + + + + Gets whether this setup is "verifiable". + + + This property gets sets by the `.Verifiable()` setup verb. + + Note that setups can be verified even if this property is : + completely ignores this property. + , however, will only verify setups where this property is . + + + + + + Returns the instance to which this setup belongs. + + + + + Returns the original setup expression from which this setup resulted. + + For setups doing a simple member access or method invocation (such as `mock => mock.Member`), + this property will be equal to . + + + For setups whose expression involves member chaining (such as `parent => parent.Child.Member`), + Moq does not create a single setup, but one for each member access/invocation. + The example just given will result in two setups: + + a setup for `parent => parent.Child` on the parent mock; and + on its inner mock, a setup for `(child) => (child).Member`. + + These are the setups that will be put in the mocks' collections; + their will return the partial expression for just a single member access, + while their will return the original, full expression. + + + This property may also return if this setup was created automatically, + e.g. by or by . + + + + + + Verifies this setup and optionally all verifiable setups of its inner mock (if present and known). + + If is set to , + the semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification, + and will always be verified itself (even if not flagged as verifiable). + + + + Specifies whether recursive verification should be performed. + + + Verification failed due to one or more unmatched setups. + + + + + + + Verifies this setup and all setups of its inner mock (if present and known), + regardless of whether they have been flagged as verifiable. + + The semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification. + + + + Verification failed due to one or more unmatched setups. + + + + + + + A list of setups that have been configured on a mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + Allows the specification of a matching condition for an argument in a method invocation, + rather than a specific argument value. "It" refers to the argument being matched. + + + This class allows the setup to match a method invocation with an arbitrary value, + with a value in a specified range, or even one that matches a given predicate. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + Matches any value of the given type. + + Type of the value. + + Typically used when the actual argument value for a method call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Setup(x => x.Remove(It.IsAny<string>())).Throws(new InvalidOperationException()); + + + + + + A type matcher that matches any generic type argument. + + If the generic type parameter is constrained to (C#) / + (VB.NET), use instead. + + + If the generic type parameter has more specific constraints, + you can define your own type matcher inheriting from the type to which the type parameter is constrained. + See and . + + + + + + Matches any value of the given type, except null. + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + This example shows how to return the value 1 whenever the argument to + the Do method is an even number. + + mock.Setup(x => x.Do(It.Is<int>(i => i % 2 == 0))) + .Returns(1); + + + + This example shows how to throw an exception if the argument to the method + is a negative number: + + mock.Setup(x => x.GetUser(It.Is<int>(i => i < 0))) + .Throws(new ArgumentException()); + + + + + + Matches any value that satisfies the given predicate. + + Use this overload when you specify a type matcher for . + The callback you provide will then receive the actual parameter type + as well as the invocation argument. + + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + + + Matches any value that equals the using the . + To use the default comparer for the specified object, specify the value inline, + i.e. mock.Verify(service => service.DoWork(value)). + + Use this overload when you specify a value and a comparer. + + + The value to match with. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is in the range specified. + + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + within the 0..100 range. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+"))) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression, in a case insensitive way: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+", RegexOptions.IgnoreCase))) + .Returns(1); + + + + + + A type matcher that matches subtypes of , as well as itself. + + The type whose subtypes should match. + + + + A type matcher that matches any value type. + + + + + Types that implement this interface represent a criterion against which generic type arguments are matched. + + To be used in combination with . + + + + + + Matches the provided type argument against the criterion represented by this type matcher. + + + The generic type argument that should be matched. + + + if the provided type argument matched the criterion represented by this instance; + otherwise, . + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Defines the Callback verb and overloads. + + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + + Figure out the generic type argument used for a mocked method call: + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean + value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The argument type of the invoked method. + The callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback((string command) => Console.WriteLine(command)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb and overloads for callbacks on + setups that return a value. + + Mocked type. + Type of the return value of the setup. + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + Figure out the generic type argument used for a mocked method call: + + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true) + .Returns(true); + + Note that in the case of value-returning methods, after the Callback + call you can still specify the return value. + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the argument of the invoked method. + Callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback(command => Console.WriteLine(command)) + .Returns(true); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb for property getter setups. + + + Mocked type. + Type of the property. + + + + Specifies a callback to invoke when the property is retrieved. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupGet(x => x.Suspended) + .Callback(() => called = true) + .Returns(true); + + + + + + Defines the Callback verb for property setter setups. + + Type of the property. + + + + Specifies a callback to invoke when the property is set that receives the + property value being set. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupSet(x => x.Suspended) + .Callback((bool state) => Console.WriteLine(state)); + + + + + + Defines the CallBase verb. + + + + + Calls the real method of the object. + + + + + Defines the Raises verb. + + + + + Specifies the event that will be raised + when the setup is met. + + An expression that represents an event attach or detach action. + The event arguments to pass for the raised event. + + The following example shows how to raise an event when + the setup is met: + + var mock = new Mock<IContainer>(); + + mock.Setup(add => add.Add(It.IsAny<string>(), It.IsAny<object>())) + .Raises(add => add.Added += null, EventArgs.Empty); + + + + + + Specifies the event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + A function that will build the + to pass when raising the event. + + + + + Specifies the custom event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + The arguments to pass to the custom delegate (non EventHandler-compatible). + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + The type of the sixteenth argument received by the expected invocation. + + + + + Defines the Returns verb. + + Mocked type. + Type of the return value from the expression. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the method call: + + mock.Setup(x => x.Execute("ping")) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return from the method. + + This overload is intended to be used in scenarios involving generic type argument matchers, + such as . The function will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Returns overloads as they provide + better static type safety. + + + + Mock a method to act like a generic factory method: + + factory.Setup(m => m.Create<It.IsAnyType>()) + .Returns(new InvocationFunc(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + return Activator.CreateInstance(typeArgument); + }); + var something = factory.Object.Create<Something>(); + + + + + + Specifies a function that will calculate the value to return from the method. + This overload specifically allows you to specify a function with by-ref parameters. + Those by-ref parameters can be assigned to (though you should probably do that from + a Callback instead). + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + delegate bool ExecuteFunc(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Returns(new ExecuteFunc((ref Command command) => command.IsExecutable)); + + + + + + Specifies a function that will calculate the value to return from the method. + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + The function that will calculate the return value. + + Return a calculated value which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Returns((string command) => returnValues[command]); + + + + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2) => arg1 + arg2); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3) => arg1 + arg2 + arg3); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4) => arg1 + arg2 + arg3 + arg4); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5) => arg1 + arg2 + arg3 + arg4 + arg5); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15, int arg16) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16); + + + + + + Defines the Returns verb for property get setups. + + Mocked type. + Type of the property. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the property getter call: + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return for the property. + + The function that will calculate the return value. + + Return a calculated value when the property is retrieved: + + mock.SetupGet(x => x.Suspended) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the property + is retrieved and the value the returnValues array has at + that moment. + + + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + + + + Implements the fluent API. + + + + + The expectation will be considered only in the former condition. + + + + + + + The expectation will be considered only in the former condition. + + + + + + + + Setups the get. + + The type of the property. + The expression. + + + + + Setups the set. + + The type of the property. + The setter expression. + + + + + Setups the set. + + The setter expression. + + + + + Defines the Pass and Throws verbs for sequence setups + on void methods. + + + + + Configures the next call in the sequence to do nothing. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(new InvalidOperationException()); + + + + + + Configures the next call in the sequence to throw a calculated exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw a calculated exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(() => new InvalidOperationException()); + + + + + + Language for ReturnSequence + + + + + Returns value + + + + + Uses delegate to get return value + + The function that will calculate the return value. + + + + Throws an exception + + + + + Throws an exception + + + + + Uses delegate to throws an exception + + + + + Calls original method + + + + + Defines the Throws verb. + + + + + Specifies the exception to throw when the method is invoked. + + Exception instance to throw. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws(new ArgumentException()); + + + + + + Specifies the type of exception to throw when the method is invoked. + + Type of exception to instantiate and throw when the setup is matched. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws<ArgumentException>(); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + delegate Exception ExecuteFunc(string name); + + String s = ...; + mock.Setup(x => x.Execute(s)) + .Throws(new ExecuteFunc((string s) => new Exception(s))); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Throws(() => new Exception($"bad {returnValues[0]}")); + + The lambda expression to retrieve the exception is lazy-executed, + meaning that its exception may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Throws((string command) => new Exception(command)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2) => new Exception(arg1 + arg2)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3) => new Exception(arg1 + arg2 + arg3)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4) => new Exception(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Verifiable verb. + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable(); + + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met, and specifies a message for failures. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable("Ping should be executed always!"); + + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Defines occurrence members to constraint setups. + + + + + The expected invocation can happen at most once. + + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMostOnce(); + + + + + + The expected invocation can happen at most specified number of times. + + The number of times to accept calls. + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMost( 5 ); + + + + + + A default implementation of IQueryable for use with QueryProvider + + + + + Converts a taken-apart binary expression such as `m.A.B` (==) `x` to + `Mocks.SetupReturns(Mock.Get(m), m' => m'.A.B, (object)x)`. + + Body of the expression to set up. + Return value to be configured for . + + + + Locates the root mock object in a setup expression (which is usually, but not always, a ), + stores a reference to it, and finally replaces it with a new . + + + + + Utility repository class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the repository constructor) and later verifying each + mock can become repetitive and tedious. + + This repository class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var repository = new MockRepository(MockBehavior.Strict); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + repository.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the repository + to create loose mocks and later verify only verifiable setups: + + var repository = new MockRepository(MockBehavior.Loose); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // this setup will be verified when we verify the repository + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the repository + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + repository.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the repository with a + default strict behavior, overriding that default for a + specific mock: + + var repository = new MockRepository(MockBehavior.Strict); + + // this particular one we want loose + var foo = repository.Create<IFoo>(MockBehavior.Loose); + var bar = repository.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + repository.Verify(); + + + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Initializes the repository with the given + for newly created mocks from the repository. + + The behavior to use for mocks created + using the repository method if not overridden + by using the overload. + + + + Allows querying the universe of mocks for those that behave + according to the LINQ query specification. + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Abstract base class for default value providers that look up and delegate to value factory functions for the requested type(s). + If a request cannot be satisfied by any registered factory, the default value gets produced by a fallback strategy. + + + + Derived classes can register and deregister factory functions with and , + respectively. + + + The fallback value generation strategy is implemented by the overridable method. + + + This base class sets up factory functions for task types (, , + and ) that produce completed tasks containing default values. + If this behavior is not desired, derived classes may deregister those standard factory functions via . + + + + + + Initializes a new instance of the class. + + + + + Deregisters any factory function that might currently be registered for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the fallback strategy. + + The type(s) for which to remove any registered factory function. + + + + Registers a factory function for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the specified function. + + + + The type(s) for which to register the given function. + + + All array types are represented by (). + Generic types are represented by their open generic type definition, e. g. (<>). + + + The factory function responsible for producing values for the given type. + + + + + + + + + + + + + Determines the default value for the given when no suitable factory is registered for it. + May be overridden in derived classes. + + The type of which to produce a value. + The on which an unexpected invocation has occurred. + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + + Argument matching is used to determine whether a concrete invocation in the mock + matches a given setup. This matching mechanism is fully extensible. + + + Creating a custom matcher is straightforward. You just need to create a method + that returns a value from a call to + with your matching condition and optional friendly render expression: + + public Order IsBigOrder() + { + return Match.Create<Order>( + o => o.GrandTotal >= 5000, + () => IsBigOrder()); // a friendly expression to render on failures + } + + This method can be used in any mock setup invocation: + + mock.Setup(m => m.Submit(IsBigOrder()) + .Throws<UnauthorizedAccessException>(); + + At runtime, Moq knows that the return value was a matcher and + evaluates your predicate with the actual value passed into your predicate. + + Another example might be a case where you want to match a lists of orders + that contains a particular one. You might create matcher like the following: + + + public static class Orders + { + public static IEnumerable<Order> Contains(Order order) + { + return Match.Create<IEnumerable<Order>>(orders => orders.Contains(order)); + } + } + + Now we can invoke this static method instead of an argument in an invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + + + + + Provided for the sole purpose of rendering the delegate passed to the + matcher constructor if no friendly render lambda is provided. + + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + A lambda representation of the matcher, to be used when rendering error messages, + such as () => It.IsAny<string<(). + + + + + Initializes the matcher with the condition that will be checked in order to match invocation values. + + The predicate of this overload will not only be provided with a + method argument, but also with the associated parameter's type. This parameter type essentially + overrides in cases where the latter is a type matcher. Therefore, + use this method overload if you want your custom matcher to work together with type matchers. + + + + The condition to match against actual values. + + This function will be passed the invocation argument, as well as the type of the associated parameter. + + + + A lambda representation of the matcher. + + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + Type of the value to match. + + + + + + + + + + + + + A per-thread observer that records invocations to matchers for later inspection. + + + + This component requires the active cooperation of the respective subsystem. + That is, invoked matchers call into if an + observer is active on the current thread. + + + + + + Returns the current timestamp. The next call will return a timestamp greater than this one, + allowing you to order invocations and matcher observations. + + + + + Adds the specified as an observation. + + + + + Checks whether at least one observation is available, + and if so, returns the last one. + + The observed matcher observed last. + + + + Matcher to treat static functions as matchers. + + mock.Setup(x => x.StringMethod(A.MagicString())); + + public static class A + { + [Matcher] + public static string MagicString() { return null; } + public static bool MagicString(string arg) + { + return arg == "magic"; + } + } + + Will succeed if: mock.Object.StringMethod("magic"); + and fail with any other call. + + + + + An that is bound to a single, specific method. + + has the general form + `mock => mock.Method(...arguments)`. Because the method and arguments are frequently needed, + they are cached in and + for faster access. + + + + + + Abstract base class for setups that target a single, specific method. + + + + + Options to customize the behavior of the mock. + + + + + Causes the mock to always throw + an exception for invocations that don't have a + corresponding setup. + + + + + Will never throw exceptions, returning default + values when necessary (null for reference types, + zero for value types or empty enumerables and arrays). + + + + + Default mock behavior, which equals . + + + + + A that returns an empty default value + for non-mockable types, and mocks for all other types (interfaces and + non-sealed classes) that can be mocked. + + + + + Exception thrown by mocks when they are not properly set up, + when setups are not matched, when verification fails, etc. + + + A distinct exception type is provided so that exceptions + thrown by a mock can be distinguished from other exceptions + that might be thrown in tests. + + Moq does not provide a richer hierarchy of exception types, as + tests typically should not catch or expect exceptions + from mocks. These are typically the result of changes + in the tested class or its collaborators' implementation, and + result in fixes in the mock setup so that they disappear and + allow the test to pass. + + + + + + Returns the exception to be thrown when a setup has been invoked an incorrect (unexpected) number of times. + + + + + Returns the exception to be thrown when finds no invocations (or the wrong number of invocations) that match the specified expectation. + + + + + Returns the exception to be thrown when a strict mock has no setup corresponding to the specified invocation. + + + + + Returns the exception to be thrown when a strict mock has no setup that provides a return value for the specified invocation. + + + + + Returns the exception to be thrown when a setup was not matched. + + + + + Returns an exception whose message is the concatenation of the given ' messages + and whose reason(s) is the combination of the given ' reason(s). + Used by when it finds one or more mocks with verification errors. + + + + + Returns the exception to be thrown when finds invocations that have not been verified. + + + + + Indicates whether this exception is a verification fault raised by Verify() + + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Provides additional methods on mocks. + + + + + Resets this mock's state. This includes its setups, configured default return values, registered event handlers, and all recorded invocations. + + The mock whose state should be reset. + + + + Resets all invocations recorded for this mock. + + The mock whose recorded invocations should be reset. + + + + Helper class to setup a full trace between many mocks + + + + + Initialize a trace setup + + + + + Allow sequence to be repeated + + + + + Contains extension methods that are related to . + + + + + Perform an expectation in the trace. + + + + + Provides a mock implementation of . + + Type to mock, which can be an interface, a class, or a delegate. + + Any interface type can be used for mocking, but for classes, only abstract and virtual members can be mocked. + + The behavior of the mock with regards to the setups and the actual calls is determined by the optional + that can be passed to the constructor. + + + + The following example shows establishing setups with specific values for method invocations: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + warehouse.Setup(w => w.HasInventory(TALISKER, 50)).Returns(true); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.True(order.IsFilled); + + + + The following example shows how to use the class + to specify conditions for arguments instead of specific values: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + + // shows how to expect a value within a range: + warehouse.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + // shows how to throw for unexpected calls. + warehouse.Setup(x => x.Remove( + It.IsAny<string>(), + It.IsAny<int>())) + .Throws(new InvalidOperationException()); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.False(order.IsFilled); + + + + + + Ctor invoked by AsTInterface exclusively. + + + + + Initializes an instance of the mock with behavior. + + + + var mock = new Mock<IFormatProvider>(); + + + + + + Initializes an instance of the mock with behavior + and with the given constructor arguments for the class. (Only valid when is a class.) + + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance.This applies only for classes, not interfaces. + + + + var mock = new Mock<MyProvider>(someArgument, 25); + + + + + + Initializes an instance of the mock with the specified behavior. + + Behavior of the mock. + + + var mock = new Mock<IFormatProvider>(MockBehavior.Strict); + + + + + + Initializes an instance of the mock with a specific behavior + and with the given constructor arguments for the class. + + Behavior of the mock. + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance. This applies only to classes, not interfaces. + + + + + Initializes an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Lambda expression that creates an instance of . + Behavior of the mock. + + var mock = new Mock<MyProvider>(() => new MyProvider(someArgument, 25), MockBehavior.Loose); + + + + + + + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Exposes the mocked object instance. + + + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Returns the name of the mock. + + + + + Returns the mocked object value. + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + The following example creates a mock for the main interface + and later adds to it to verify it's called by the consumer code: + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + // add IDisposable interface + var disposable = mock.As<IDisposable>(); + disposable.Setup(d => d.Dispose()) + .Verifiable(); + + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + + + + + Specifies a setup on the mocked type for a call to a non- (value-returning) method. + + Lambda expression that specifies the method invocation. + Type of the return value. Typically omitted as it can be inferred from the expression. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + mock.Setup(x => x.HasInventory("Talisker", 50)) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Lambda expression that specifies the property getter. + Type of the property. Typically omitted as it can be inferred from the expression. + + If more than one setup is set for the same property getter, + the latest one wins and is the one that will be executed. + + + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to an event add. + + Lambda expression that adds an event. + + If more than one setup is set for the same event add, + the latest one wins and is the one that will be executed. + + + + mock.SetupAdd(x => x.EventHandler += (s, e) => {}); + + + + + + Specifies a setup on the mocked type for a call to an event remove. + + Lambda expression that removes an event. + + If more than one setup is set for the same event remove, + the latest one wins and is the one that will be executed. + + + + mock.SetupRemove(x => x.EventHandler -= (s, e) => {}); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Property expression to stub. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value); + + After the SetupProperty call has been issued, setting and retrieving + the object value will behave as expected: + + IHaveValue v = mock.Object; + v.Value = 5; + Assert.Equal(5, v.Value); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + This overload allows setting the initial value for the property. + (This is also known as "stubbing".) + + Property expression to stub. + Initial value for the property. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value, 5); + + After the SetupProperty call has been issued, setting and retrieving the object value + will behave as expected: + + IHaveValue v = mock.Object; + Assert.Equal(5, v.Value); // Initial value was stored + + // New value set which changes the initial value + v.Value = 6; + Assert.Equal(6, v.Value); + + + + + + Specifies that the all properties on the mock should have "property behavior", + meaning that setting their value will cause them to be saved and later returned when the properties is requested. + (This is also known as "stubbing".) + The default value for each property will be the one generated as specified by the + property for the mock. + + + If the mock's is set to , + the mocked default values will also get all properties setup recursively. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Allows setting up a conditional setup. + Conditional setups are only matched by an invocation + when the specified condition evaluates to + at the time when the invocation occurs. + + + The condition that should be checked + when a setup is being matched against an invocation. + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IProcessor>(); + + ... // exercise mock + + // Will throw if the test code didn't call Execute with a "ping" string argument. + mock.Verify(proc => proc.Execute("ping")); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50)); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50), + "When filling orders, inventory has to be checked"); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + Type of return value from the expression. + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was retrieved from it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't retrieve the IsClosed property. + mock.VerifyGet(warehouse => warehouse.IsClosed); + + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was set on the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true); + + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true, + "Warehouse should always be closed after the action"); + + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was subscribed to an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't subscribe to the OnClosed event. + mock.VerifyAdd(warehouse => warehouse.OnClosed += It.IsAny<EventHandler>()); + + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was removed from an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't unsubscribe from the OnClosed event. + mock.VerifyRemove(warehouse => warehouse.OnClose -= It.IsAny<EventHandler>()); + + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that there were no calls other than those already verified. + + There was at least one invocation not previously verified. + + + + Raises the event referenced in using the given argument. + + + The argument is invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a + event: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.PropertyChanged -= null, new PropertyChangedEventArgs("Name")); + + + + This example shows how to invoke an event with a custom event arguments class + in a view that will cause its corresponding presenter to react by changing its state: + + var mockView = new Mock<IOrdersView>(); + var presenter = new OrdersPresenter(mockView.Object); + + // Check that the presenter has no selection by default + Assert.Null(presenter.SelectedOrder); + + // Raise the event with a specific arguments data + mockView.Raise(v => v.SelectionChanged += null, new OrderEventArgs { Order = new Order("moq", 500) }); + + // Now the presenter reacted to the event, and we have a selected order + Assert.NotNull(presenter.SelectedOrder); + Assert.Equal("moq", presenter.SelectedOrder.ProductName); + + + + + + Raises the event referenced in using the given argument for a non--typed event. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a custom event that does not adhere + to the standard EventHandler: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.MyEvent -= null, "Name", bool, 25); + + + + + + Raises the event referenced in using the given arguments + for an event with a Func<..., Task> or Func<..., ValueTask> signature. + The returned completes when all of the s / s + returned by the event handlers have completed. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise an event with async event handlers: + + interface IViewModel + { + event Func<InitializationData, Task> Initialized; + } + var mock = new Mock<IViewModel>(); + mock.Object.Initialized += async initializationData => ...; + await mock.RaiseAsync(x => x.Initialized += null, new InitializationData { ... }); + + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Marks a method as a matcher, which allows complete replacement + of the built-in class with your own argument + matching rules. + + + + This feature has been deprecated in favor of the new + and simpler . + + + + The argument matching is used to determine whether a concrete + invocation in the mock matches a given setup. This + matching mechanism is fully extensible. + + + There are two parts of a matcher: the compiler matcher + and the runtime matcher. + + + Compiler matcher + Used to satisfy the compiler requirements for the + argument. Needs to be a method optionally receiving any arguments + you might need for the matching, but with a return type that + matches that of the argument. + + Let's say I want to match a lists of orders that contains + a particular one. I might create a compiler matcher like the following: + + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + } + + Now we can invoke this static method instead of an argument in an + invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + Note that the return value from the compiler matcher is irrelevant. + This method will never be called, and is just used to satisfy the + compiler and to signal Moq that this is not a method that we want + to be invoked at runtime. + + + + Runtime matcher + + The runtime matcher is the one that will actually perform evaluation + when the test is run, and is defined by convention to have the + same signature as the compiler matcher, but where the return + value is the first argument to the call, which contains the + object received by the actual invocation at runtime: + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + + At runtime, the mocked method will be invoked with a specific + list of orders. This value will be passed to this runtime + matcher as the first argument, while the second argument is the + one specified in the setup (x.Save(Orders.Contains(order))). + + The boolean returned determines whether the given argument has been + matched. If all arguments to the expected method are matched, then + the setup matches and is evaluated. + + + + + + Using this extensible infrastructure, you can easily replace the entire + set of matchers with your own. You can also avoid the + typical (and annoying) lengthy expressions that result when you have + multiple arguments that use generics. + + + The following is the complete example explained above: + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + } + + And the concrete test using this matcher: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + // use mock, invoke Save, and have the matcher filter. + + + + + + Contains obsolete API members as extension methods so that existing code continues to compile, + but new code doesn't see them. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Utility factory class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the factory constructor) and later verifying each + mock can become repetitive and tedious. + + This factory class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + factory.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the factory + to create loose mocks and later verify only verifiable setups: + + var factory = new MockFactory(MockBehavior.Loose); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // this setup will be verified when we verify the factory + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the factory + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + factory.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the factory with a + default strict behavior, overriding that default for a + specific mock: + + var factory = new MockFactory(MockBehavior.Strict); + + // this particular one we want loose + var foo = factory.Create<IFoo>(MockBehavior.Loose); + var bar = factory.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + factory.Verify(); + + + + + + + Initializes the factory with the given + for newly created mocks from the factory. + + The behavior to use for mocks created + using the factory method if not overridden + by using the overload. + + + + Gets the default of mocks created by this repository. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the mocks that have been created by this factory and + that will get verified together. + + + + + A set of switches that influence how mocks created by this factory will operate. + You can opt in or out of certain features via this property. + + + + + Creates a new mock with the default + specified at factory construction time. + + Type to mock. + A new . + + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + // use mock on tests + + factory.VerifyAll(); + + + + + + Creates a new mock with the default + specified at factory construction time and with the + the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Constructor arguments for mocked classes. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>("Foo", 25, true); + // use mock on tests + + factory.Verify(); + + + + + + Creates a new mock with the given . + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory: + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(MockBehavior.Loose); + + + + + + Creates a new mock with the given + and with the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + Constructor arguments for mocked classes. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory, passing + constructor arguments: + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>(MockBehavior.Strict, "Foo", 25, true); + + + + + + Creates an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Type to mock. + Lambda expression that creates an instance of . + Behavior of the mock. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyClass>(() => new MyClass("Foo", 25, true), MockBehavior.Loose); + // use mock on tests + + factory.Verify(); + + + + + + Implements creation of a new mock within the factory. + + Type to mock. + The behavior for the new mock. + Optional arguments for the construction of the mock. + + + + Verifies all verifiable setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Verifies all setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Calls on all mocks created by this factory. + + + One or more mocks had invocations that were not verified. + + + + Invokes for each mock + in , and accumulates the resulting + verification exceptions that might be + thrown from the action. + + The action to execute against + each mock. + + + + Provides additional methods on mocks. + + + Provided as extension methods as they confuse the compiler + with the overloads taking Action. + + + + + Specifies a setup on the mocked type for a call to + to a property setter, regardless of its value. + + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + Type of the property. Typically omitted as it can be inferred from the expression. + Type of the mock. + The target mock for the setup. + Lambda expression that specifies the property setter. + + + mock.SetupSet(x => x.Suspended); + + + + This method is not legacy, but must be on an extension method to avoid + confusing the compiler with the new Action syntax. + + + + + Verifies that a property has been set on the mock, regardless of its value. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + Message to show if verification fails. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times, and specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Message to show if verification fails. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Helper for sequencing return values in the same method. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Allocation-free adapter type for treating a `ParameterInfo[]` array like a `Type[]` array. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Mock type has already been initialized by accessing its Object property. Adding interfaces must be done before that.. + + + + + Looks up a localized string similar to Value cannot be an empty string.. + + + + + Looks up a localized string similar to Matcher '{0}' is unmatchable: An implicit conversion operator will convert arguments of type '{1}' to the parameter's type '{2}', which is assignment-incompatible.. + + + + + Looks up a localized string similar to Can only add interfaces to the mock.. + + + + + Looks up a localized string similar to CallBase cannot be used with Delegate mocks.. + + + + + Looks up a localized string similar to Can't set return value for void method {0}.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. + + + + + Looks up a localized string similar to A matching constructor for the given arguments was not found on the mocked type.. + + + + + Looks up a localized string similar to Delays have to be greater than zero to ensure an async callback is used.. + + + + + Looks up a localized string similar to Expression {0} involves a field access, which is not supported. Use properties instead.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Callback" method only accepts "void" (C#) or "Sub" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with {0} parameter(s) cannot invoke callback with different number of parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with parameters ({0}) cannot invoke callback with parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with return type '{0}' cannot invoke callback with return type '{1}'.. + + + + + Looks up a localized string similar to Cannot retrieve a mock with the given object type {0} as it's not the main type of the mock or any of its additional interfaces. + Please cast the argument to one of the supported types: {1}. + Remember that there's no generics covariance in the CLR, so your object must be one of these types in order for the call to succeed.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Returns" method only accepts non-"void" (C#) or "Function" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to The return type of the last member shown above is not mockable.. + + + + + Looks up a localized string similar to The equals ("==" or "=" in VB) and the conditional 'and' ("&&" or "AndAlso" in VB) operators are the only ones supported in the query specification expression. Unsupported expression: {0}. + + + + + Looks up a localized string similar to LINQ method '{0}' not supported.. + + + + + Looks up a localized string similar to Expression contains a call to a method which is not virtual (overridable in VB) or abstract. Unsupported expression: {0}. + + + + + Looks up a localized string similar to Could not determine the correct positions for all argument matchers ({0} in total) used in a call to this method: {1}. + This could be caused by an unrecognized type conversion, coercion, narrowing, or widening, and is most likely a bug in Moq. Please report your use case to the Moq team.. + + + + + Looks up a localized string similar to Member {0}.{1} does not exist.. + + + + + Looks up a localized string similar to Method {0}.{1} is public. Use strong-typed Expect overload instead: + mock.Setup(x => x.{1}()); + . + + + + + Looks up a localized string similar to No protected method {0}.{1} found whose signature is compatible with the provided arguments ({2}).. + + + + + Looks up a localized string similar to Cannot set up {0}.{1} because it is not accessible to the proxy generator used by Moq: + {2}. + + + + + Looks up a localized string similar to Minimum delay has to be lower than maximum delay.. + + + + + Looks up a localized string similar to {0} invocation failed with mock behavior {1}. + {2}. + + + + + Looks up a localized string similar to The next member after the last one shown above is non-virtual, sealed, or not visible to the proxy factory.. + + + + + Looks up a localized string similar to No constructor call could be found.. + + + + + Looks up a localized string similar to No invocations performed.. + + + + + Looks up a localized string similar to Expected invocation on the mock at least {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at least once, but was never performed: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most {1} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most once, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Exclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Inclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock exactly {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock should never have been performed, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock once, but was {2} times: . + + + + + Looks up a localized string similar to All invocations on the mock must have a corresponding setup.. + + + + + Looks up a localized string similar to Object instance was not created by Moq.. + + + + + Looks up a localized string similar to Out expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Performed invocations:. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a getter.. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a setter.. + + + + + Looks up a localized string similar to Type {0} does not have matching protected member: {1}. + + + + + Looks up a localized string similar to Ref expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Invocation needs to return a value and therefore must have a corresponding setup that provides it.. + + + + + Looks up a localized string similar to Expression is not an event add: {0}. + + + + + Looks up a localized string similar to Expression is not an event remove: {0}. + + + + + Looks up a localized string similar to Expression is not a property access: {0}. + + + + + Looks up a localized string similar to Expression is not a setter: {0}. + + + + + Looks up a localized string similar to Type {0} does not have a default (public parameterless) constructor.. + + + + + Looks up a localized string similar to Type matchers may not be used as the type for 'Callback' or 'Returns' parameters, because no argument will never have that precise type. Consider using type 'object' instead.. + + + + + Looks up a localized string similar to Type {0} does not implement required interface {1}. + + + + + Looks up a localized string similar to Type to mock ({0}) must be an interface, a delegate, or a non-sealed, non-static class.. + + + + + Looks up a localized string similar to To specify a setup for public property {0}.{1}, use the typed overloads, such as: + mock.Setup(x => x.{1}).Returns(value); + mock.SetupGet(x => x.{1}).Returns(value); //equivalent to previous one + mock.SetupSet(x => x.{1}).Callback(callbackDelegate); + . + + + + + Looks up a localized string similar to Unexpected translation of a member access: {0}. + + + + + Looks up a localized string similar to Unhandled binding type: {0}. + + + + + Looks up a localized string similar to Unhandled expression type: {0}. + + + + + Looks up a localized string similar to {0}: + This setup was not matched.. + + + + + Looks up a localized string similar to Unsupported expression: {0}. + + + + + Looks up a localized string similar to Unsupported expression: {0} + {1}. + + + + + Looks up a localized string similar to Extension methods (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Member {0} is not supported for protected mocking.. + + + + + Looks up a localized string similar to Non-overridable members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Static members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following unverified invocations:. + + + + + Looks up a localized string similar to Use ItExpr.IsNull<TValue> rather than a null argument value, as it prevents proper method lookup.. + + + + + Looks up a localized string similar to It is impossible to call the provided strongly-typed predicate due to the use of a type matcher. Provide a weakly-typed predicate with two parameters (object, Type) instead.. + + + + + Looks up a localized string similar to {0}:. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following:. + + + + + Looks up a localized string similar to The mock repository failed verification due to the following:. + + + + + Allows setups to be specified for protected members (methods and properties) + seen through another type with corresponding members (that is, members + having identical signatures as the ones to be set up). + + Type of the mocked object. + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a value-returning method. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet<bool>(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property getter. + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property. + Initial value for the property. + + + + Return a sequence of values, once per call. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + Performs a sequence of actions, one per call. + + Lambda expression that specifies the expected method invocation. + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a property was set on the mock. + + Expression to verify. + + Number of times that the setter is expected to have occurred. + If omitted, assumed to be . + + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was read on the mock. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Allows setups to be specified for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Set up protected members (methods and properties) seen through another type with identical member signatures. + + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property getter with the given + . + + The name of the property. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The name of the property. + The property value. If argument matchers are used, + remember to use rather than . + The type of the property. + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property getter with the given + . + The invocation was not call the times specified by + . + + The name of the property. + The number of times a method is allowed to be called. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The invocation was not call the times specified by + . + The name of the property. + The number of times a method is allowed to be called. + The property value. + The type of the property. If argument matchers are used, + remember to use rather than . + + + + Allows the specification of a matching condition for an + argument in a protected member setup, rather than a specific + argument value. "ItExpr" refers to the argument being matched. + + + Use this variant of argument matching instead of + for protected setups. + This class allows the setup to match a method invocation + with an arbitrary value, with a value in a specified range, or + even one that matches a given predicate, or null. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + + Matches a null value of the given type. + + + Required for protected mocks as the null value cannot be used + directly as it prevents proper method overload selection. + + + + // Throws an exception for a call to Remove with a null string value. + mock.Protected() + .Setup("Remove", ItExpr.IsNull<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value of the given type. + + + Typically used when the actual argument value for a method + call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Protected() + .Setup("Remove", ItExpr.IsAny<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + Type of the argument to check. + The predicate used to match the method argument. + + Allows the specification of a predicate to perform matching + of method call arguments. + + + This example shows how to return the value 1 whenever the argument to the + Do method is an even number. + + mock.Protected() + .Setup("Do", ItExpr.Is<int>(i => i % 2 == 0)) + .Returns(1); + + This example shows how to throw an exception if the argument to the + method is a negative number: + + mock.Protected() + .Setup("GetUser", ItExpr.Is<int>(i => i < 0)) + .Throws(new ArgumentException()); + + + + + + Matches any value that is in the range specified. + + Type of the argument to check. + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + + The following example shows how to expect a method call + with an integer argument within the 0..100 range. + + mock.Protected() + .Setup("HasInventory", + ItExpr.IsAny<string>(), + ItExpr.IsInRange(0, 100, Range.Inclusive)) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+")) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression, in a case insensitive way: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+", RegexOptions.IgnoreCase)) + .Returns(1); + + + + + + used to replace occurrences of `TAnalog.Member` sub-expressions with `T.Member`. + + + + + Enables the Protected() method on , + allowing setups to be set for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Enable protected setups for the mock. + + Mocked object type. Typically omitted as it can be inferred from the mock instance. + The mock to set the protected setups on. + + + + Kind of range to use in a filter specified through + . + + + + + The range includes the to and + from values. + + + + + The range does not include the to and + from values. + + + + + Defines async extension methods on IReturns. + + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the task return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the valuetask return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Defines async extension methods on IReturns. + + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Programmable setup used by . + + + + + Verifies this setup and those of its inner mock (if present and known). + + + Specifies whether recursive verification should be performed. + + + Specifies which setups should be verified. + + + The set of mocks that have already been verified. + + + This setup or any of its inner mock (if present and known) failed verification. + + + + + Represents a switch, or a combination of switches, that can be either enabled or disabled. + When set via or , they determine how a mock will operate. + + + + + The default set of switches. The switches covered by this enumeration value may change between different versions of Moq. + + + + + When enabled, specifies that source file information should be collected for each setup. + This results in more helpful error messages, but may affect performance. + + + + + Defines the number of invocations allowed by a mocked method. + + + + Deconstructs this instance. + This output parameter will receive the minimum required number of calls satisfying this instance (i.e. the lower inclusive bound). + This output parameter will receive the maximum allowed number of calls satisfying this instance (i.e. the upper inclusive bound). + + + + Specifies that a mocked method should be invoked times + as minimum. + + The minimum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as minimum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked times + as maximum. + + The maximum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as maximum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked between + and times. + + The minimum number of times. + The maximum number of times. + The kind of range. See . + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly + times. + + The times that a method or property can be called. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should not be invoked. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly one time. + + An object defining the allowed number of invocations. + + + + Returns a value indicating whether this instance is equal to a specified value. + + A value to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a value indicating whether this instance is equal to a specified value. + + An object to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms + and data structures like a hash table. + + + + + Determines whether two specified objects have the same value. + + The first . + The second . + + if has the same value as ; + otherwise, . + + + + + Determines whether two specified objects have different values. + + The first . + The second . + + if the value of is different from + 's; otherwise, . + + + + + + + + Checks whether the specified number of invocations matches the constraint described by this instance. + + The number of invocations to check. + + if matches the constraint described by this instance; + otherwise, . + + + + + Marks a type as a type matcher, optionally specifying another type that will perform the matching. + + Type matchers preferably implement themselves. Use the parameterized form of this attribute + where this is not possible, such as when the type matcher needs to be a or + type in order to satisfy generic type constraints of the method where it is used. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed implements itself. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed does not implement . + The specified type will instead provide the implementation of . + + + The of a type that implements . + + + + Interface that is used to build fluent interfaces by hiding methods declared by from IntelliSense. + + + Code that consumes implementations of this interface should expect one of two things: + + When referencing the interface from within the same solution (project reference), you will still see the methods this interface is meant to hide. + When referencing the interface through the compiled output assembly (external reference), the standard Object methods will be hidden as intended. + When using Resharper, be sure to configure it to respect the attribute: Options, go to Environment | IntelliSense | Completion Appearance and check "Filter members by [EditorBrowsable] attribute". + + See https://kzu.github.io/IFluentInterface for more information. + + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Contains the two extension methods + and + . + + + + + Appends a string representation of the specified type to this instance. + + The instance to which to append. + The of which a string representation should be appended. + Any combination of formatting options that should be applied. (Optional.) + A reference to this instance after the append operation has completed. + + + + Gets a string representation of this instance. + + The of which a string representation is requested. + Any combination of formatting options that should be applied. (Optional.) + A string representation of this instance. + + + + Replacement for + which may be slow or even unavailable on earlier target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + An enumeration of available options when a name's string representation is requested. + + + + + The default type name formatting options. + + + + + Specifies that a type's namespace should be included. + + For example, the type is formatted as "Action" by default. + When this flag is specified, it will be formatted as "System.Action". + + + + + + Specifies that anonymous types should not be transformed to C#-like syntax. + + For example, the anonymous type of "new { Name = "Blob", Count = 17 }" is formatted as + "{string Name, int Count}" by default. When this flag is specified, it will be formatted as + the raw "display class" name, which looks something like "<>f__AnonymousType5<string, int>". + + + + + + Specifies that an open generic type's parameter names should be omitted. + + For example, the open generic type is formatted as "IEquatable<T>" by default. + When this flag is specified, it will be formatted as "IEquatable<>". + + + + + + Specifies that primitive types should not be mapped to their corresponding C# language keywords. + + For example, the type is formatted as "int" by default. + When this flag is specified, it will be formatted as "Int32". + + + + + + Specifies that nullable types should not be simplified to C# question mark syntax. + + For example, the type of is formatted as "int?" by default. + When this flag is specified, it will be formatted as "Nullable<int>". + + + + + + Specifies that value tuple types should not be transformed to C# tuple syntax. + + For example, the type of , + is formatted as "(bool, int)" by default. When this flag is specified, + it will be formatted as "ValueTuple<bool, int>". + + + + + diff --git a/packages/Moq.4.20.70/lib/net6.0/Moq.dll b/packages/Moq.4.20.70/lib/net6.0/Moq.dll new file mode 100644 index 000000000..3c9679c1d Binary files /dev/null and b/packages/Moq.4.20.70/lib/net6.0/Moq.dll differ diff --git a/packages/Moq.4.20.70/lib/net6.0/Moq.xml b/packages/Moq.4.20.70/lib/net6.0/Moq.xml new file mode 100644 index 000000000..455eb92a7 --- /dev/null +++ b/packages/Moq.4.20.70/lib/net6.0/Moq.xml @@ -0,0 +1,8555 @@ + + + + Moq + + + + + is a kind of that works by + applying a delegate to a light-weight proxy that records the invocation + happening to it, and auto-generates the same kind of recording proxy for its return value. + That way, a chain of invocation records is generated from which a LINQ expression tree can be + reconstructed. + + + + + Recursively gets the result of (i.e. "unwraps") completed awaitables + until a value is found that isn't a successfully completed awaitable. + + + As an example, given := Task.FromResult(Task.FromResult(42)), + this method will return 42. + + The (possibly awaitable) object to be "unwrapped". + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that do not produce a result when awaited. + + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that produce a result when awaited. + + + + + Allows to create parameter captures in setup expressions. + + + + + Creates a parameter capture that will store values in a collection. + + The captured object type + The collection that will store captured parameter values + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture that will store specific values in a collection. + + The captured object type + The collection that will store captured parameter values + A predicate used to filter captured parameters + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters, p => p.StartsWith("W")))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture using specified . + + The captured object type + + Arrange code: + + var capturedValue = string.Empty; + var match = new CaptureMatch{string}(x => capturedValue = x); + mock.Setup(x => x.DoSomething(Capture.With(match))); + + Assert code: + + Assert.Equal("Hello!", capturedValue); + + + + + + Allows creation custom matchers that can be used on setups to capture parameter values. + + + + + + Initializes an instance of the capture match. + + An action to run on captured value + + + + Initializes an instance of the capture match. + + An action to run on captured value + A predicate used to filter captured parameters + + + + Determines the way default values are generated + calculated for loose mocks. + + + + + Default behavior, which generates empty values for + value types (i.e. default(int)), empty array and + enumerables, and nulls for all other reference types. + + + + + Whenever the default value generated by + is null, replaces this value with a mock (if the type + can be mocked). + + + For sealed classes, a null value will be generated. + + + + + + All default value generation strategies other than or + are represented by this enumeration value. + + + Do not set (nor ) to this value. + If you want to set up a custom default value generation strategy, set + or instead. + + + + + + + + is the abstract base class for default value providers. + These are responsible for producing e. g. return values when mock methods or properties get invoked unexpectedly. + In other words, whenever there is no setup that would determine the return value for a particular invocation, + Moq asks the mock's default value provider to produce a return value. + + + + + Gets the corresponding to ; + that is, a default value provider returning "empty" values e. g. for collection types. + + + + + Gets the corresponding to ; + that is, a default value provider returning mocked objects or "empty" values for unmockable types. + + + + + Initializes a new instance of the class. + + + + + Gets the enumeration value that corresponds to this default value provider. + Must be overridden by Moq's internal providers that have their own corresponding . + + + + + Produces a default value of the specified type. + Must be overridden in derived classes. + + The of the requested default value. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default argument value for the specified method parameter. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method parameter for which a default argument value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default return value for the specified method. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method for which a default return value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + A that returns an empty default value + for invocations that do not have setups or return values, with loose mocks. + This is the default behavior for a mock. + + + + + Provides partial evaluation of subtrees, whenever they can be evaluated locally. + + Matt Warren: http://blogs.msdn.com/mattwar + Documented by InSTEDD: http://www.instedd.org + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A function that decides whether a given expression + node can be part of the local function. + A new tree with sub-trees evaluated and replaced. + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A new tree with sub-trees evaluated and replaced. + + + + Evaluates and replaces sub-trees when first candidate is reached (top-down) + + + + + Performs bottom-up analysis to determine which nodes can possibly + be part of an evaluated sub-tree. + + + + + Represents a set (or the "shape") of invocations + against which concrete s can be matched. + + + + + An compiles LINQ expression trees () to delegates. + Whenever Moq needs to compile an expression tree, it uses the instance set up by . + + + + + The default instance, which simply delegates to the framework's . + + + + + Gets or sets the instance that Moq uses to compile (LINQ expression trees). + Defaults to . + + + + + Initializes a new instance of the class. + + + + + Compiles the specified LINQ expression tree. + + The LINQ expression tree that should be compiled. + + + + Compiles the specified LINQ expression tree. + + The type of delegate to which the expression will be compiled. + The LINQ expression tree that should be compiled. + + + + Wraps this in a node if needed. + + The which should be wrapped. + The with which to make the compatible. + + LINQ expression trees generally enforce type compatibility rules that are stricter than + the assignment-compatibility used by e.g. . For + example, while is assignable-to , you + will need a conversion in a LINQ expression tree to model the value-type boxing operation. + + + + + Checks whether the given expression can be split by . + + + + + Splits an expression such as `m => m.A.B(x).C[y] = z` into a chain of parts + that can be set up one at a time: + + `m => m.A`, + `... => ....B(x)`, + `... => ....C`, + `... => ...[y] = z`. + + + The split points are chosen such that each part has exactly one associated + and optionally some argument expressions. + + + + It was not possible to completely split up the expression. + + + + + Converts the body of the lambda expression into the referenced by it. + + + + + Checks whether the body of the lambda expression is a property access. + + + + + Checks whether the body of the lambda expression is a indexer access. + + + + + TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583 + is fixed. + + + + + Applies the specified to this expression tree. + + The to which should be applied. + The that should be applied to . + + + + A reconstructs LINQ expression trees () + from delegates. It is the counterpart to . + + + + + Reconstructs a from the given delegate. + + The delegate for which to reconstruct a LINQ expression tree. + Arguments to pass to a parameterized constructor of . (Optional.) + + + + Extracts the arguments from a lambda expression that calls a constructor. + + The constructor expression. + Extracted argument values. + + + + Evaluates variables that have been closed over by a lambda function. + + + + + Replaces nodes for property or indexer accessor methods + with equivalent nodes. + + + + In the case of getter accessors such as `x.get_Property()`, the result will be + a single node: `x.Property`. + + + In the case of setter accessors such as `x.set_Property(y)`, the result will be + a combination of and : + `x.Property = y`. + + + + + + + + Gets the default value for the specified type. This is the Reflection counterpart of C#'s operator. + + + + + Gets the least-derived in the given type that provides + the implementation for the given . + + + + + Gets whether the given is a delegate type. + + + + + Visits all constituent parts of , replacing all type matchers + that match the type argument at the corresponding position in . + + The type to be matched. May be, or contain, type matchers. + The type argument to match against . + + + + Ensures the given is not null. + Throws otherwise. + + + + + Ensures the given string is not null or empty. + Throws in the first case, or + in the latter. + + + + + Provides information about an invocation of a mock object. + + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + + + Gets the setup that matched this invocation (or if there was no matching setup). + + + + + Gets whether this invocation was successfully verified by any of the various `Verify` methods. + + + + + The value being returned for a non-void method if no exception was thrown. + + + + + Optional exception if the method invocation results in an exception being thrown. + + + + + A list of invocations which have been performed on a mock. + + + + + Resets all invocations recorded for this mock. + + + + + Covariant interface for such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of . + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + An implementation of that is based on Castle DynamicProxy. + + + + + + + + Attempts to find the most specific override for the given method + in the type chains (base class, interfaces) of the given . + + + + + Performs a non-virtual (non-polymorphic) call to the given + using the specified object and . + + + + + This hook tells Castle DynamicProxy to proxy the default methods it suggests, + plus some of the methods defined by , e.g. so we can intercept + and give mocks useful default names. + + + + + This role interface represents a 's ability to intercept method invocations for its . + It is meant for use by . + + + + Do not use. (Moq requires this class so that methods can be set up on interface mocks.) + + + + + + + + + + + + Do not use. (Moq requires this interface so that methods can be set up on interface mocks.) + + + + + + + Base class for mocks and static helper class with methods that apply to mocked objects, + such as to retrieve a from an object instance. + + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Initializes a new instance of the class. + + + + + Retrieves the mock object for the given object instance. + + The instance of the mocked object. + + Type of the mock to retrieve. + Can be omitted as it's inferred from the object instance passed in as the instance. + + The mock associated with the mocked object. + The received instance was not created by Moq. + + The following example shows how to add a new setup to an object instance + which is not the original but rather the object associated with it: + + // Typed instance, not the mock, is retrieved from some test API. + HttpContextBase context = GetMockContext(); + + // context.Request is the typed object from the "real" API + // so in order to add a setup to it, we need to get + // the mock that "owns" it + Mock<HttpRequestBase> request = Mock.Get(context.Request); + + request.Setup(req => req.AppRelativeCurrentExecutionFilePath) + .Returns(tempUrl); + + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + + + Gets the interfaces additionally implemented by the mock object. + + + This list may be modified by calls to up until the first call to . + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Gets the mocked object instance. + + + + + Gets the interfaces directly inherited from the mocked type (). + + + + + Gets list of invocations which have been performed on this mock. + + + + + Returns the mocked object value. + + + + + Retrieves the type of the mocked object, its generic type argument. + This is used in the auto-mocking of hierarchy access. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the setups that have been configured on this mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + This example sets up an expectation and marks it as verifiable. + After the mock is used, a Verify() call is issued on the mock + to ensure the method in the setup was invoked: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true) + .Verifiable(); + + ... + + // Will throw if the test code did not call HasInventory. + this.Verify(); + + + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + This example sets up an expectation without marking it as verifiable. + After the mock is used, a call is issued on the mock + to ensure that all expectations are met: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true); + + ... + + // Will throw if the test code did not call HasInventory, + // even though that expectation was not marked as verifiable. + mock.VerifyAll(); + + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + + + Defines the default return value for all mocked methods or properties with return type . + + The return type for which to define a default value. + The default return value. + + Default return value is respected only when there is no matching setup for a method call. + + + + + Gets the global instance used by Moq. + + + + + Initializes a new instance of the class. + + The of the concrete proxy object on which a method is being invoked. + The method being invoked. + The arguments with which the specified is being invoked. + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + Arguments may be modified. Derived classes must ensure that by-reference parameters are written back + when the invocation is ended by a call to any of the three Returns methods. + + + + + Calls the method implementation + and returns its return value (or for methods). + + + + + + + + Internal type to mark invocation results as "exception occurred during execution". The type just + wraps the Exception so a thrown exception can be distinguished from an + return value. + + + + + A delegate-like type for use with `setup.Callback` which instructs the `Callback` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A delegate-like type for use with `setup.Returns` which instructs the `Returns` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A setup configured on a mock. + + + + + + The setup expression. + + + + + Gets the inner mock of this setup (if present and known). + + An "inner mock" is the instance associated with a setup's return value, + if that setup is configured to return a mock object. + + + This property will be if a setup either does not return a mock object, + or if Moq cannot safely determine its return value without risking any side effects. For instance, + Moq is able to inspect the return value if it is a constant (e.g. `.Returns(value)`); + if, on the other hand, it gets computed by a factory function (e.g. `.Returns(() => value)`), + Moq will not attempt to retrieve that value just to find the inner mock, + since calling a user-provided function could have effects beyond Moq's understanding and control. + + + + + + Gets whether this setup is conditional. + + + + + + Gets whether this setup was matched by at least one invocation on the mock. + + + + + Gets whether this setup has been overridden + (that is, whether it is being shadowed by a more recent non-conditional setup with an equal expression). + + + + + Gets whether this setup is "verifiable". + + + This property gets sets by the `.Verifiable()` setup verb. + + Note that setups can be verified even if this property is : + completely ignores this property. + , however, will only verify setups where this property is . + + + + + + Returns the instance to which this setup belongs. + + + + + Returns the original setup expression from which this setup resulted. + + For setups doing a simple member access or method invocation (such as `mock => mock.Member`), + this property will be equal to . + + + For setups whose expression involves member chaining (such as `parent => parent.Child.Member`), + Moq does not create a single setup, but one for each member access/invocation. + The example just given will result in two setups: + + a setup for `parent => parent.Child` on the parent mock; and + on its inner mock, a setup for `(child) => (child).Member`. + + These are the setups that will be put in the mocks' collections; + their will return the partial expression for just a single member access, + while their will return the original, full expression. + + + This property may also return if this setup was created automatically, + e.g. by or by . + + + + + + Verifies this setup and optionally all verifiable setups of its inner mock (if present and known). + + If is set to , + the semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification, + and will always be verified itself (even if not flagged as verifiable). + + + + Specifies whether recursive verification should be performed. + + + Verification failed due to one or more unmatched setups. + + + + + + + Verifies this setup and all setups of its inner mock (if present and known), + regardless of whether they have been flagged as verifiable. + + The semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification. + + + + Verification failed due to one or more unmatched setups. + + + + + + + A list of setups that have been configured on a mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + Allows the specification of a matching condition for an argument in a method invocation, + rather than a specific argument value. "It" refers to the argument being matched. + + + This class allows the setup to match a method invocation with an arbitrary value, + with a value in a specified range, or even one that matches a given predicate. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + Matches any value of the given type. + + Type of the value. + + Typically used when the actual argument value for a method call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Setup(x => x.Remove(It.IsAny<string>())).Throws(new InvalidOperationException()); + + + + + + A type matcher that matches any generic type argument. + + If the generic type parameter is constrained to (C#) / + (VB.NET), use instead. + + + If the generic type parameter has more specific constraints, + you can define your own type matcher inheriting from the type to which the type parameter is constrained. + See and . + + + + + + Matches any value of the given type, except null. + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + This example shows how to return the value 1 whenever the argument to + the Do method is an even number. + + mock.Setup(x => x.Do(It.Is<int>(i => i % 2 == 0))) + .Returns(1); + + + + This example shows how to throw an exception if the argument to the method + is a negative number: + + mock.Setup(x => x.GetUser(It.Is<int>(i => i < 0))) + .Throws(new ArgumentException()); + + + + + + Matches any value that satisfies the given predicate. + + Use this overload when you specify a type matcher for . + The callback you provide will then receive the actual parameter type + as well as the invocation argument. + + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + + + Matches any value that equals the using the . + To use the default comparer for the specified object, specify the value inline, + i.e. mock.Verify(service => service.DoWork(value)). + + Use this overload when you specify a value and a comparer. + + + The value to match with. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is in the range specified. + + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + within the 0..100 range. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+"))) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression, in a case insensitive way: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+", RegexOptions.IgnoreCase))) + .Returns(1); + + + + + + A type matcher that matches subtypes of , as well as itself. + + The type whose subtypes should match. + + + + A type matcher that matches any value type. + + + + + Types that implement this interface represent a criterion against which generic type arguments are matched. + + To be used in combination with . + + + + + + Matches the provided type argument against the criterion represented by this type matcher. + + + The generic type argument that should be matched. + + + if the provided type argument matched the criterion represented by this instance; + otherwise, . + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Defines the Callback verb and overloads. + + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + + Figure out the generic type argument used for a mocked method call: + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean + value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The argument type of the invoked method. + The callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback((string command) => Console.WriteLine(command)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb and overloads for callbacks on + setups that return a value. + + Mocked type. + Type of the return value of the setup. + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + Figure out the generic type argument used for a mocked method call: + + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true) + .Returns(true); + + Note that in the case of value-returning methods, after the Callback + call you can still specify the return value. + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the argument of the invoked method. + Callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback(command => Console.WriteLine(command)) + .Returns(true); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb for property getter setups. + + + Mocked type. + Type of the property. + + + + Specifies a callback to invoke when the property is retrieved. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupGet(x => x.Suspended) + .Callback(() => called = true) + .Returns(true); + + + + + + Defines the Callback verb for property setter setups. + + Type of the property. + + + + Specifies a callback to invoke when the property is set that receives the + property value being set. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupSet(x => x.Suspended) + .Callback((bool state) => Console.WriteLine(state)); + + + + + + Defines the CallBase verb. + + + + + Calls the real method of the object. + + + + + Defines the Raises verb. + + + + + Specifies the event that will be raised + when the setup is met. + + An expression that represents an event attach or detach action. + The event arguments to pass for the raised event. + + The following example shows how to raise an event when + the setup is met: + + var mock = new Mock<IContainer>(); + + mock.Setup(add => add.Add(It.IsAny<string>(), It.IsAny<object>())) + .Raises(add => add.Added += null, EventArgs.Empty); + + + + + + Specifies the event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + A function that will build the + to pass when raising the event. + + + + + Specifies the custom event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + The arguments to pass to the custom delegate (non EventHandler-compatible). + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + The type of the sixteenth argument received by the expected invocation. + + + + + Defines the Returns verb. + + Mocked type. + Type of the return value from the expression. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the method call: + + mock.Setup(x => x.Execute("ping")) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return from the method. + + This overload is intended to be used in scenarios involving generic type argument matchers, + such as . The function will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Returns overloads as they provide + better static type safety. + + + + Mock a method to act like a generic factory method: + + factory.Setup(m => m.Create<It.IsAnyType>()) + .Returns(new InvocationFunc(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + return Activator.CreateInstance(typeArgument); + }); + var something = factory.Object.Create<Something>(); + + + + + + Specifies a function that will calculate the value to return from the method. + This overload specifically allows you to specify a function with by-ref parameters. + Those by-ref parameters can be assigned to (though you should probably do that from + a Callback instead). + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + delegate bool ExecuteFunc(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Returns(new ExecuteFunc((ref Command command) => command.IsExecutable)); + + + + + + Specifies a function that will calculate the value to return from the method. + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + The function that will calculate the return value. + + Return a calculated value which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Returns((string command) => returnValues[command]); + + + + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2) => arg1 + arg2); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3) => arg1 + arg2 + arg3); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4) => arg1 + arg2 + arg3 + arg4); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5) => arg1 + arg2 + arg3 + arg4 + arg5); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15, int arg16) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16); + + + + + + Defines the Returns verb for property get setups. + + Mocked type. + Type of the property. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the property getter call: + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return for the property. + + The function that will calculate the return value. + + Return a calculated value when the property is retrieved: + + mock.SetupGet(x => x.Suspended) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the property + is retrieved and the value the returnValues array has at + that moment. + + + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + + + + Implements the fluent API. + + + + + The expectation will be considered only in the former condition. + + + + + + + The expectation will be considered only in the former condition. + + + + + + + + Setups the get. + + The type of the property. + The expression. + + + + + Setups the set. + + The type of the property. + The setter expression. + + + + + Setups the set. + + The setter expression. + + + + + Defines the Pass and Throws verbs for sequence setups + on void methods. + + + + + Configures the next call in the sequence to do nothing. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(new InvalidOperationException()); + + + + + + Configures the next call in the sequence to throw a calculated exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw a calculated exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(() => new InvalidOperationException()); + + + + + + Language for ReturnSequence + + + + + Returns value + + + + + Uses delegate to get return value + + The function that will calculate the return value. + + + + Throws an exception + + + + + Throws an exception + + + + + Uses delegate to throws an exception + + + + + Calls original method + + + + + Defines the Throws verb. + + + + + Specifies the exception to throw when the method is invoked. + + Exception instance to throw. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws(new ArgumentException()); + + + + + + Specifies the type of exception to throw when the method is invoked. + + Type of exception to instantiate and throw when the setup is matched. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws<ArgumentException>(); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + delegate Exception ExecuteFunc(string name); + + String s = ...; + mock.Setup(x => x.Execute(s)) + .Throws(new ExecuteFunc((string s) => new Exception(s))); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Throws(() => new Exception($"bad {returnValues[0]}")); + + The lambda expression to retrieve the exception is lazy-executed, + meaning that its exception may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Throws((string command) => new Exception(command)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2) => new Exception(arg1 + arg2)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3) => new Exception(arg1 + arg2 + arg3)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4) => new Exception(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Verifiable verb. + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable(); + + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met, and specifies a message for failures. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable("Ping should be executed always!"); + + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Defines occurrence members to constraint setups. + + + + + The expected invocation can happen at most once. + + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMostOnce(); + + + + + + The expected invocation can happen at most specified number of times. + + The number of times to accept calls. + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMost( 5 ); + + + + + + A default implementation of IQueryable for use with QueryProvider + + + + + Converts a taken-apart binary expression such as `m.A.B` (==) `x` to + `Mocks.SetupReturns(Mock.Get(m), m' => m'.A.B, (object)x)`. + + Body of the expression to set up. + Return value to be configured for . + + + + Locates the root mock object in a setup expression (which is usually, but not always, a ), + stores a reference to it, and finally replaces it with a new . + + + + + Utility repository class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the repository constructor) and later verifying each + mock can become repetitive and tedious. + + This repository class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var repository = new MockRepository(MockBehavior.Strict); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + repository.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the repository + to create loose mocks and later verify only verifiable setups: + + var repository = new MockRepository(MockBehavior.Loose); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // this setup will be verified when we verify the repository + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the repository + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + repository.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the repository with a + default strict behavior, overriding that default for a + specific mock: + + var repository = new MockRepository(MockBehavior.Strict); + + // this particular one we want loose + var foo = repository.Create<IFoo>(MockBehavior.Loose); + var bar = repository.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + repository.Verify(); + + + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Initializes the repository with the given + for newly created mocks from the repository. + + The behavior to use for mocks created + using the repository method if not overridden + by using the overload. + + + + Allows querying the universe of mocks for those that behave + according to the LINQ query specification. + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Abstract base class for default value providers that look up and delegate to value factory functions for the requested type(s). + If a request cannot be satisfied by any registered factory, the default value gets produced by a fallback strategy. + + + + Derived classes can register and deregister factory functions with and , + respectively. + + + The fallback value generation strategy is implemented by the overridable method. + + + This base class sets up factory functions for task types (, , + and ) that produce completed tasks containing default values. + If this behavior is not desired, derived classes may deregister those standard factory functions via . + + + + + + Initializes a new instance of the class. + + + + + Deregisters any factory function that might currently be registered for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the fallback strategy. + + The type(s) for which to remove any registered factory function. + + + + Registers a factory function for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the specified function. + + + + The type(s) for which to register the given function. + + + All array types are represented by (). + Generic types are represented by their open generic type definition, e. g. (<>). + + + The factory function responsible for producing values for the given type. + + + + + + + + + + + + + Determines the default value for the given when no suitable factory is registered for it. + May be overridden in derived classes. + + The type of which to produce a value. + The on which an unexpected invocation has occurred. + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + + Argument matching is used to determine whether a concrete invocation in the mock + matches a given setup. This matching mechanism is fully extensible. + + + Creating a custom matcher is straightforward. You just need to create a method + that returns a value from a call to + with your matching condition and optional friendly render expression: + + public Order IsBigOrder() + { + return Match.Create<Order>( + o => o.GrandTotal >= 5000, + () => IsBigOrder()); // a friendly expression to render on failures + } + + This method can be used in any mock setup invocation: + + mock.Setup(m => m.Submit(IsBigOrder()) + .Throws<UnauthorizedAccessException>(); + + At runtime, Moq knows that the return value was a matcher and + evaluates your predicate with the actual value passed into your predicate. + + Another example might be a case where you want to match a lists of orders + that contains a particular one. You might create matcher like the following: + + + public static class Orders + { + public static IEnumerable<Order> Contains(Order order) + { + return Match.Create<IEnumerable<Order>>(orders => orders.Contains(order)); + } + } + + Now we can invoke this static method instead of an argument in an invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + + + + + Provided for the sole purpose of rendering the delegate passed to the + matcher constructor if no friendly render lambda is provided. + + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + A lambda representation of the matcher, to be used when rendering error messages, + such as () => It.IsAny<string<(). + + + + + Initializes the matcher with the condition that will be checked in order to match invocation values. + + The predicate of this overload will not only be provided with a + method argument, but also with the associated parameter's type. This parameter type essentially + overrides in cases where the latter is a type matcher. Therefore, + use this method overload if you want your custom matcher to work together with type matchers. + + + + The condition to match against actual values. + + This function will be passed the invocation argument, as well as the type of the associated parameter. + + + + A lambda representation of the matcher. + + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + Type of the value to match. + + + + + + + + + + + + + A per-thread observer that records invocations to matchers for later inspection. + + + + This component requires the active cooperation of the respective subsystem. + That is, invoked matchers call into if an + observer is active on the current thread. + + + + + + Returns the current timestamp. The next call will return a timestamp greater than this one, + allowing you to order invocations and matcher observations. + + + + + Adds the specified as an observation. + + + + + Checks whether at least one observation is available, + and if so, returns the last one. + + The observed matcher observed last. + + + + Matcher to treat static functions as matchers. + + mock.Setup(x => x.StringMethod(A.MagicString())); + + public static class A + { + [Matcher] + public static string MagicString() { return null; } + public static bool MagicString(string arg) + { + return arg == "magic"; + } + } + + Will succeed if: mock.Object.StringMethod("magic"); + and fail with any other call. + + + + + An that is bound to a single, specific method. + + has the general form + `mock => mock.Method(...arguments)`. Because the method and arguments are frequently needed, + they are cached in and + for faster access. + + + + + + Abstract base class for setups that target a single, specific method. + + + + + Options to customize the behavior of the mock. + + + + + Causes the mock to always throw + an exception for invocations that don't have a + corresponding setup. + + + + + Will never throw exceptions, returning default + values when necessary (null for reference types, + zero for value types or empty enumerables and arrays). + + + + + Default mock behavior, which equals . + + + + + A that returns an empty default value + for non-mockable types, and mocks for all other types (interfaces and + non-sealed classes) that can be mocked. + + + + + Exception thrown by mocks when they are not properly set up, + when setups are not matched, when verification fails, etc. + + + A distinct exception type is provided so that exceptions + thrown by a mock can be distinguished from other exceptions + that might be thrown in tests. + + Moq does not provide a richer hierarchy of exception types, as + tests typically should not catch or expect exceptions + from mocks. These are typically the result of changes + in the tested class or its collaborators' implementation, and + result in fixes in the mock setup so that they disappear and + allow the test to pass. + + + + + + Returns the exception to be thrown when a setup has been invoked an incorrect (unexpected) number of times. + + + + + Returns the exception to be thrown when finds no invocations (or the wrong number of invocations) that match the specified expectation. + + + + + Returns the exception to be thrown when a strict mock has no setup corresponding to the specified invocation. + + + + + Returns the exception to be thrown when a strict mock has no setup that provides a return value for the specified invocation. + + + + + Returns the exception to be thrown when a setup was not matched. + + + + + Returns an exception whose message is the concatenation of the given ' messages + and whose reason(s) is the combination of the given ' reason(s). + Used by when it finds one or more mocks with verification errors. + + + + + Returns the exception to be thrown when finds invocations that have not been verified. + + + + + Indicates whether this exception is a verification fault raised by Verify() + + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Provides additional methods on mocks. + + + + + Resets this mock's state. This includes its setups, configured default return values, registered event handlers, and all recorded invocations. + + The mock whose state should be reset. + + + + Resets all invocations recorded for this mock. + + The mock whose recorded invocations should be reset. + + + + Helper class to setup a full trace between many mocks + + + + + Initialize a trace setup + + + + + Allow sequence to be repeated + + + + + Contains extension methods that are related to . + + + + + Perform an expectation in the trace. + + + + + Provides a mock implementation of . + + Type to mock, which can be an interface, a class, or a delegate. + + Any interface type can be used for mocking, but for classes, only abstract and virtual members can be mocked. + + The behavior of the mock with regards to the setups and the actual calls is determined by the optional + that can be passed to the constructor. + + + + The following example shows establishing setups with specific values for method invocations: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + warehouse.Setup(w => w.HasInventory(TALISKER, 50)).Returns(true); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.True(order.IsFilled); + + + + The following example shows how to use the class + to specify conditions for arguments instead of specific values: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + + // shows how to expect a value within a range: + warehouse.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + // shows how to throw for unexpected calls. + warehouse.Setup(x => x.Remove( + It.IsAny<string>(), + It.IsAny<int>())) + .Throws(new InvalidOperationException()); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.False(order.IsFilled); + + + + + + Ctor invoked by AsTInterface exclusively. + + + + + Initializes an instance of the mock with behavior. + + + + var mock = new Mock<IFormatProvider>(); + + + + + + Initializes an instance of the mock with behavior + and with the given constructor arguments for the class. (Only valid when is a class.) + + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance.This applies only for classes, not interfaces. + + + + var mock = new Mock<MyProvider>(someArgument, 25); + + + + + + Initializes an instance of the mock with the specified behavior. + + Behavior of the mock. + + + var mock = new Mock<IFormatProvider>(MockBehavior.Strict); + + + + + + Initializes an instance of the mock with a specific behavior + and with the given constructor arguments for the class. + + Behavior of the mock. + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance. This applies only to classes, not interfaces. + + + + + Initializes an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Lambda expression that creates an instance of . + Behavior of the mock. + + var mock = new Mock<MyProvider>(() => new MyProvider(someArgument, 25), MockBehavior.Loose); + + + + + + + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Exposes the mocked object instance. + + + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Returns the name of the mock. + + + + + Returns the mocked object value. + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + The following example creates a mock for the main interface + and later adds to it to verify it's called by the consumer code: + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + // add IDisposable interface + var disposable = mock.As<IDisposable>(); + disposable.Setup(d => d.Dispose()) + .Verifiable(); + + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + + + + + Specifies a setup on the mocked type for a call to a non- (value-returning) method. + + Lambda expression that specifies the method invocation. + Type of the return value. Typically omitted as it can be inferred from the expression. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + mock.Setup(x => x.HasInventory("Talisker", 50)) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Lambda expression that specifies the property getter. + Type of the property. Typically omitted as it can be inferred from the expression. + + If more than one setup is set for the same property getter, + the latest one wins and is the one that will be executed. + + + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to an event add. + + Lambda expression that adds an event. + + If more than one setup is set for the same event add, + the latest one wins and is the one that will be executed. + + + + mock.SetupAdd(x => x.EventHandler += (s, e) => {}); + + + + + + Specifies a setup on the mocked type for a call to an event remove. + + Lambda expression that removes an event. + + If more than one setup is set for the same event remove, + the latest one wins and is the one that will be executed. + + + + mock.SetupRemove(x => x.EventHandler -= (s, e) => {}); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Property expression to stub. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value); + + After the SetupProperty call has been issued, setting and retrieving + the object value will behave as expected: + + IHaveValue v = mock.Object; + v.Value = 5; + Assert.Equal(5, v.Value); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + This overload allows setting the initial value for the property. + (This is also known as "stubbing".) + + Property expression to stub. + Initial value for the property. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value, 5); + + After the SetupProperty call has been issued, setting and retrieving the object value + will behave as expected: + + IHaveValue v = mock.Object; + Assert.Equal(5, v.Value); // Initial value was stored + + // New value set which changes the initial value + v.Value = 6; + Assert.Equal(6, v.Value); + + + + + + Specifies that the all properties on the mock should have "property behavior", + meaning that setting their value will cause them to be saved and later returned when the properties is requested. + (This is also known as "stubbing".) + The default value for each property will be the one generated as specified by the + property for the mock. + + + If the mock's is set to , + the mocked default values will also get all properties setup recursively. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Allows setting up a conditional setup. + Conditional setups are only matched by an invocation + when the specified condition evaluates to + at the time when the invocation occurs. + + + The condition that should be checked + when a setup is being matched against an invocation. + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IProcessor>(); + + ... // exercise mock + + // Will throw if the test code didn't call Execute with a "ping" string argument. + mock.Verify(proc => proc.Execute("ping")); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50)); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50), + "When filling orders, inventory has to be checked"); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + Type of return value from the expression. + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was retrieved from it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't retrieve the IsClosed property. + mock.VerifyGet(warehouse => warehouse.IsClosed); + + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was set on the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true); + + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true, + "Warehouse should always be closed after the action"); + + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was subscribed to an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't subscribe to the OnClosed event. + mock.VerifyAdd(warehouse => warehouse.OnClosed += It.IsAny<EventHandler>()); + + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was removed from an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't unsubscribe from the OnClosed event. + mock.VerifyRemove(warehouse => warehouse.OnClose -= It.IsAny<EventHandler>()); + + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that there were no calls other than those already verified. + + There was at least one invocation not previously verified. + + + + Raises the event referenced in using the given argument. + + + The argument is invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a + event: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.PropertyChanged -= null, new PropertyChangedEventArgs("Name")); + + + + This example shows how to invoke an event with a custom event arguments class + in a view that will cause its corresponding presenter to react by changing its state: + + var mockView = new Mock<IOrdersView>(); + var presenter = new OrdersPresenter(mockView.Object); + + // Check that the presenter has no selection by default + Assert.Null(presenter.SelectedOrder); + + // Raise the event with a specific arguments data + mockView.Raise(v => v.SelectionChanged += null, new OrderEventArgs { Order = new Order("moq", 500) }); + + // Now the presenter reacted to the event, and we have a selected order + Assert.NotNull(presenter.SelectedOrder); + Assert.Equal("moq", presenter.SelectedOrder.ProductName); + + + + + + Raises the event referenced in using the given argument for a non--typed event. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a custom event that does not adhere + to the standard EventHandler: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.MyEvent -= null, "Name", bool, 25); + + + + + + Raises the event referenced in using the given arguments + for an event with a Func<..., Task> or Func<..., ValueTask> signature. + The returned completes when all of the s / s + returned by the event handlers have completed. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise an event with async event handlers: + + interface IViewModel + { + event Func<InitializationData, Task> Initialized; + } + var mock = new Mock<IViewModel>(); + mock.Object.Initialized += async initializationData => ...; + await mock.RaiseAsync(x => x.Initialized += null, new InitializationData { ... }); + + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Marks a method as a matcher, which allows complete replacement + of the built-in class with your own argument + matching rules. + + + + This feature has been deprecated in favor of the new + and simpler . + + + + The argument matching is used to determine whether a concrete + invocation in the mock matches a given setup. This + matching mechanism is fully extensible. + + + There are two parts of a matcher: the compiler matcher + and the runtime matcher. + + + Compiler matcher + Used to satisfy the compiler requirements for the + argument. Needs to be a method optionally receiving any arguments + you might need for the matching, but with a return type that + matches that of the argument. + + Let's say I want to match a lists of orders that contains + a particular one. I might create a compiler matcher like the following: + + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + } + + Now we can invoke this static method instead of an argument in an + invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + Note that the return value from the compiler matcher is irrelevant. + This method will never be called, and is just used to satisfy the + compiler and to signal Moq that this is not a method that we want + to be invoked at runtime. + + + + Runtime matcher + + The runtime matcher is the one that will actually perform evaluation + when the test is run, and is defined by convention to have the + same signature as the compiler matcher, but where the return + value is the first argument to the call, which contains the + object received by the actual invocation at runtime: + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + + At runtime, the mocked method will be invoked with a specific + list of orders. This value will be passed to this runtime + matcher as the first argument, while the second argument is the + one specified in the setup (x.Save(Orders.Contains(order))). + + The boolean returned determines whether the given argument has been + matched. If all arguments to the expected method are matched, then + the setup matches and is evaluated. + + + + + + Using this extensible infrastructure, you can easily replace the entire + set of matchers with your own. You can also avoid the + typical (and annoying) lengthy expressions that result when you have + multiple arguments that use generics. + + + The following is the complete example explained above: + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + } + + And the concrete test using this matcher: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + // use mock, invoke Save, and have the matcher filter. + + + + + + Contains obsolete API members as extension methods so that existing code continues to compile, + but new code doesn't see them. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Utility factory class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the factory constructor) and later verifying each + mock can become repetitive and tedious. + + This factory class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + factory.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the factory + to create loose mocks and later verify only verifiable setups: + + var factory = new MockFactory(MockBehavior.Loose); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // this setup will be verified when we verify the factory + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the factory + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + factory.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the factory with a + default strict behavior, overriding that default for a + specific mock: + + var factory = new MockFactory(MockBehavior.Strict); + + // this particular one we want loose + var foo = factory.Create<IFoo>(MockBehavior.Loose); + var bar = factory.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + factory.Verify(); + + + + + + + Initializes the factory with the given + for newly created mocks from the factory. + + The behavior to use for mocks created + using the factory method if not overridden + by using the overload. + + + + Gets the default of mocks created by this repository. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the mocks that have been created by this factory and + that will get verified together. + + + + + A set of switches that influence how mocks created by this factory will operate. + You can opt in or out of certain features via this property. + + + + + Creates a new mock with the default + specified at factory construction time. + + Type to mock. + A new . + + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + // use mock on tests + + factory.VerifyAll(); + + + + + + Creates a new mock with the default + specified at factory construction time and with the + the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Constructor arguments for mocked classes. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>("Foo", 25, true); + // use mock on tests + + factory.Verify(); + + + + + + Creates a new mock with the given . + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory: + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(MockBehavior.Loose); + + + + + + Creates a new mock with the given + and with the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + Constructor arguments for mocked classes. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory, passing + constructor arguments: + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>(MockBehavior.Strict, "Foo", 25, true); + + + + + + Creates an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Type to mock. + Lambda expression that creates an instance of . + Behavior of the mock. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyClass>(() => new MyClass("Foo", 25, true), MockBehavior.Loose); + // use mock on tests + + factory.Verify(); + + + + + + Implements creation of a new mock within the factory. + + Type to mock. + The behavior for the new mock. + Optional arguments for the construction of the mock. + + + + Verifies all verifiable setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Verifies all setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Calls on all mocks created by this factory. + + + One or more mocks had invocations that were not verified. + + + + Invokes for each mock + in , and accumulates the resulting + verification exceptions that might be + thrown from the action. + + The action to execute against + each mock. + + + + Provides additional methods on mocks. + + + Provided as extension methods as they confuse the compiler + with the overloads taking Action. + + + + + Specifies a setup on the mocked type for a call to + to a property setter, regardless of its value. + + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + Type of the property. Typically omitted as it can be inferred from the expression. + Type of the mock. + The target mock for the setup. + Lambda expression that specifies the property setter. + + + mock.SetupSet(x => x.Suspended); + + + + This method is not legacy, but must be on an extension method to avoid + confusing the compiler with the new Action syntax. + + + + + Verifies that a property has been set on the mock, regardless of its value. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + Message to show if verification fails. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times, and specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Message to show if verification fails. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Helper for sequencing return values in the same method. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Allocation-free adapter type for treating a `ParameterInfo[]` array like a `Type[]` array. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Mock type has already been initialized by accessing its Object property. Adding interfaces must be done before that.. + + + + + Looks up a localized string similar to Value cannot be an empty string.. + + + + + Looks up a localized string similar to Matcher '{0}' is unmatchable: An implicit conversion operator will convert arguments of type '{1}' to the parameter's type '{2}', which is assignment-incompatible.. + + + + + Looks up a localized string similar to Can only add interfaces to the mock.. + + + + + Looks up a localized string similar to CallBase cannot be used with Delegate mocks.. + + + + + Looks up a localized string similar to Can't set return value for void method {0}.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. + + + + + Looks up a localized string similar to A matching constructor for the given arguments was not found on the mocked type.. + + + + + Looks up a localized string similar to Delays have to be greater than zero to ensure an async callback is used.. + + + + + Looks up a localized string similar to Expression {0} involves a field access, which is not supported. Use properties instead.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Callback" method only accepts "void" (C#) or "Sub" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with {0} parameter(s) cannot invoke callback with different number of parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with parameters ({0}) cannot invoke callback with parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with return type '{0}' cannot invoke callback with return type '{1}'.. + + + + + Looks up a localized string similar to Cannot retrieve a mock with the given object type {0} as it's not the main type of the mock or any of its additional interfaces. + Please cast the argument to one of the supported types: {1}. + Remember that there's no generics covariance in the CLR, so your object must be one of these types in order for the call to succeed.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Returns" method only accepts non-"void" (C#) or "Function" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to The return type of the last member shown above is not mockable.. + + + + + Looks up a localized string similar to The equals ("==" or "=" in VB) and the conditional 'and' ("&&" or "AndAlso" in VB) operators are the only ones supported in the query specification expression. Unsupported expression: {0}. + + + + + Looks up a localized string similar to LINQ method '{0}' not supported.. + + + + + Looks up a localized string similar to Expression contains a call to a method which is not virtual (overridable in VB) or abstract. Unsupported expression: {0}. + + + + + Looks up a localized string similar to Could not determine the correct positions for all argument matchers ({0} in total) used in a call to this method: {1}. + This could be caused by an unrecognized type conversion, coercion, narrowing, or widening, and is most likely a bug in Moq. Please report your use case to the Moq team.. + + + + + Looks up a localized string similar to Member {0}.{1} does not exist.. + + + + + Looks up a localized string similar to Method {0}.{1} is public. Use strong-typed Expect overload instead: + mock.Setup(x => x.{1}()); + . + + + + + Looks up a localized string similar to No protected method {0}.{1} found whose signature is compatible with the provided arguments ({2}).. + + + + + Looks up a localized string similar to Cannot set up {0}.{1} because it is not accessible to the proxy generator used by Moq: + {2}. + + + + + Looks up a localized string similar to Minimum delay has to be lower than maximum delay.. + + + + + Looks up a localized string similar to {0} invocation failed with mock behavior {1}. + {2}. + + + + + Looks up a localized string similar to The next member after the last one shown above is non-virtual, sealed, or not visible to the proxy factory.. + + + + + Looks up a localized string similar to No constructor call could be found.. + + + + + Looks up a localized string similar to No invocations performed.. + + + + + Looks up a localized string similar to Expected invocation on the mock at least {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at least once, but was never performed: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most {1} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most once, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Exclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Inclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock exactly {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock should never have been performed, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock once, but was {2} times: . + + + + + Looks up a localized string similar to All invocations on the mock must have a corresponding setup.. + + + + + Looks up a localized string similar to Object instance was not created by Moq.. + + + + + Looks up a localized string similar to Out expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Performed invocations:. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a getter.. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a setter.. + + + + + Looks up a localized string similar to Type {0} does not have matching protected member: {1}. + + + + + Looks up a localized string similar to Ref expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Invocation needs to return a value and therefore must have a corresponding setup that provides it.. + + + + + Looks up a localized string similar to Expression is not an event add: {0}. + + + + + Looks up a localized string similar to Expression is not an event remove: {0}. + + + + + Looks up a localized string similar to Expression is not a property access: {0}. + + + + + Looks up a localized string similar to Expression is not a setter: {0}. + + + + + Looks up a localized string similar to Type {0} does not have a default (public parameterless) constructor.. + + + + + Looks up a localized string similar to Type matchers may not be used as the type for 'Callback' or 'Returns' parameters, because no argument will never have that precise type. Consider using type 'object' instead.. + + + + + Looks up a localized string similar to Type {0} does not implement required interface {1}. + + + + + Looks up a localized string similar to Type to mock ({0}) must be an interface, a delegate, or a non-sealed, non-static class.. + + + + + Looks up a localized string similar to To specify a setup for public property {0}.{1}, use the typed overloads, such as: + mock.Setup(x => x.{1}).Returns(value); + mock.SetupGet(x => x.{1}).Returns(value); //equivalent to previous one + mock.SetupSet(x => x.{1}).Callback(callbackDelegate); + . + + + + + Looks up a localized string similar to Unexpected translation of a member access: {0}. + + + + + Looks up a localized string similar to Unhandled binding type: {0}. + + + + + Looks up a localized string similar to Unhandled expression type: {0}. + + + + + Looks up a localized string similar to {0}: + This setup was not matched.. + + + + + Looks up a localized string similar to Unsupported expression: {0}. + + + + + Looks up a localized string similar to Unsupported expression: {0} + {1}. + + + + + Looks up a localized string similar to Extension methods (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Member {0} is not supported for protected mocking.. + + + + + Looks up a localized string similar to Non-overridable members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Static members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following unverified invocations:. + + + + + Looks up a localized string similar to Use ItExpr.IsNull<TValue> rather than a null argument value, as it prevents proper method lookup.. + + + + + Looks up a localized string similar to It is impossible to call the provided strongly-typed predicate due to the use of a type matcher. Provide a weakly-typed predicate with two parameters (object, Type) instead.. + + + + + Looks up a localized string similar to {0}:. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following:. + + + + + Looks up a localized string similar to The mock repository failed verification due to the following:. + + + + + Allows setups to be specified for protected members (methods and properties) + seen through another type with corresponding members (that is, members + having identical signatures as the ones to be set up). + + Type of the mocked object. + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a value-returning method. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet<bool>(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property getter. + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property. + Initial value for the property. + + + + Return a sequence of values, once per call. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + Performs a sequence of actions, one per call. + + Lambda expression that specifies the expected method invocation. + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a property was set on the mock. + + Expression to verify. + + Number of times that the setter is expected to have occurred. + If omitted, assumed to be . + + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was read on the mock. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Allows setups to be specified for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Set up protected members (methods and properties) seen through another type with identical member signatures. + + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property getter with the given + . + + The name of the property. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The name of the property. + The property value. If argument matchers are used, + remember to use rather than . + The type of the property. + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property getter with the given + . + The invocation was not call the times specified by + . + + The name of the property. + The number of times a method is allowed to be called. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The invocation was not call the times specified by + . + The name of the property. + The number of times a method is allowed to be called. + The property value. + The type of the property. If argument matchers are used, + remember to use rather than . + + + + Allows the specification of a matching condition for an + argument in a protected member setup, rather than a specific + argument value. "ItExpr" refers to the argument being matched. + + + Use this variant of argument matching instead of + for protected setups. + This class allows the setup to match a method invocation + with an arbitrary value, with a value in a specified range, or + even one that matches a given predicate, or null. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + + Matches a null value of the given type. + + + Required for protected mocks as the null value cannot be used + directly as it prevents proper method overload selection. + + + + // Throws an exception for a call to Remove with a null string value. + mock.Protected() + .Setup("Remove", ItExpr.IsNull<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value of the given type. + + + Typically used when the actual argument value for a method + call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Protected() + .Setup("Remove", ItExpr.IsAny<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + Type of the argument to check. + The predicate used to match the method argument. + + Allows the specification of a predicate to perform matching + of method call arguments. + + + This example shows how to return the value 1 whenever the argument to the + Do method is an even number. + + mock.Protected() + .Setup("Do", ItExpr.Is<int>(i => i % 2 == 0)) + .Returns(1); + + This example shows how to throw an exception if the argument to the + method is a negative number: + + mock.Protected() + .Setup("GetUser", ItExpr.Is<int>(i => i < 0)) + .Throws(new ArgumentException()); + + + + + + Matches any value that is in the range specified. + + Type of the argument to check. + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + + The following example shows how to expect a method call + with an integer argument within the 0..100 range. + + mock.Protected() + .Setup("HasInventory", + ItExpr.IsAny<string>(), + ItExpr.IsInRange(0, 100, Range.Inclusive)) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+")) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression, in a case insensitive way: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+", RegexOptions.IgnoreCase)) + .Returns(1); + + + + + + used to replace occurrences of `TAnalog.Member` sub-expressions with `T.Member`. + + + + + Enables the Protected() method on , + allowing setups to be set for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Enable protected setups for the mock. + + Mocked object type. Typically omitted as it can be inferred from the mock instance. + The mock to set the protected setups on. + + + + Kind of range to use in a filter specified through + . + + + + + The range includes the to and + from values. + + + + + The range does not include the to and + from values. + + + + + Defines async extension methods on IReturns. + + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the task return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the valuetask return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Defines async extension methods on IReturns. + + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Programmable setup used by . + + + + + Verifies this setup and those of its inner mock (if present and known). + + + Specifies whether recursive verification should be performed. + + + Specifies which setups should be verified. + + + The set of mocks that have already been verified. + + + This setup or any of its inner mock (if present and known) failed verification. + + + + + Represents a switch, or a combination of switches, that can be either enabled or disabled. + When set via or , they determine how a mock will operate. + + + + + The default set of switches. The switches covered by this enumeration value may change between different versions of Moq. + + + + + When enabled, specifies that source file information should be collected for each setup. + This results in more helpful error messages, but may affect performance. + + + + + Defines the number of invocations allowed by a mocked method. + + + + Deconstructs this instance. + This output parameter will receive the minimum required number of calls satisfying this instance (i.e. the lower inclusive bound). + This output parameter will receive the maximum allowed number of calls satisfying this instance (i.e. the upper inclusive bound). + + + + Specifies that a mocked method should be invoked times + as minimum. + + The minimum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as minimum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked times + as maximum. + + The maximum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as maximum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked between + and times. + + The minimum number of times. + The maximum number of times. + The kind of range. See . + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly + times. + + The times that a method or property can be called. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should not be invoked. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly one time. + + An object defining the allowed number of invocations. + + + + Returns a value indicating whether this instance is equal to a specified value. + + A value to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a value indicating whether this instance is equal to a specified value. + + An object to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms + and data structures like a hash table. + + + + + Determines whether two specified objects have the same value. + + The first . + The second . + + if has the same value as ; + otherwise, . + + + + + Determines whether two specified objects have different values. + + The first . + The second . + + if the value of is different from + 's; otherwise, . + + + + + + + + Checks whether the specified number of invocations matches the constraint described by this instance. + + The number of invocations to check. + + if matches the constraint described by this instance; + otherwise, . + + + + + Marks a type as a type matcher, optionally specifying another type that will perform the matching. + + Type matchers preferably implement themselves. Use the parameterized form of this attribute + where this is not possible, such as when the type matcher needs to be a or + type in order to satisfy generic type constraints of the method where it is used. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed implements itself. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed does not implement . + The specified type will instead provide the implementation of . + + + The of a type that implements . + + + + Interface that is used to build fluent interfaces by hiding methods declared by from IntelliSense. + + + Code that consumes implementations of this interface should expect one of two things: + + When referencing the interface from within the same solution (project reference), you will still see the methods this interface is meant to hide. + When referencing the interface through the compiled output assembly (external reference), the standard Object methods will be hidden as intended. + When using Resharper, be sure to configure it to respect the attribute: Options, go to Environment | IntelliSense | Completion Appearance and check "Filter members by [EditorBrowsable] attribute". + + See https://kzu.github.io/IFluentInterface for more information. + + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Contains the two extension methods + and + . + + + + + Appends a string representation of the specified type to this instance. + + The instance to which to append. + The of which a string representation should be appended. + Any combination of formatting options that should be applied. (Optional.) + A reference to this instance after the append operation has completed. + + + + Gets a string representation of this instance. + + The of which a string representation is requested. + Any combination of formatting options that should be applied. (Optional.) + A string representation of this instance. + + + + Replacement for + which may be slow or even unavailable on earlier target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + An enumeration of available options when a name's string representation is requested. + + + + + The default type name formatting options. + + + + + Specifies that a type's namespace should be included. + + For example, the type is formatted as "Action" by default. + When this flag is specified, it will be formatted as "System.Action". + + + + + + Specifies that anonymous types should not be transformed to C#-like syntax. + + For example, the anonymous type of "new { Name = "Blob", Count = 17 }" is formatted as + "{string Name, int Count}" by default. When this flag is specified, it will be formatted as + the raw "display class" name, which looks something like "<>f__AnonymousType5<string, int>". + + + + + + Specifies that an open generic type's parameter names should be omitted. + + For example, the open generic type is formatted as "IEquatable<T>" by default. + When this flag is specified, it will be formatted as "IEquatable<>". + + + + + + Specifies that primitive types should not be mapped to their corresponding C# language keywords. + + For example, the type is formatted as "int" by default. + When this flag is specified, it will be formatted as "Int32". + + + + + + Specifies that nullable types should not be simplified to C# question mark syntax. + + For example, the type of is formatted as "int?" by default. + When this flag is specified, it will be formatted as "Nullable<int>". + + + + + + Specifies that value tuple types should not be transformed to C# tuple syntax. + + For example, the type of , + is formatted as "(bool, int)" by default. When this flag is specified, + it will be formatted as "ValueTuple<bool, int>". + + + + + diff --git a/packages/Moq.4.20.70/lib/netstandard2.0/Moq.dll b/packages/Moq.4.20.70/lib/netstandard2.0/Moq.dll new file mode 100644 index 000000000..2a3f4d51e Binary files /dev/null and b/packages/Moq.4.20.70/lib/netstandard2.0/Moq.dll differ diff --git a/packages/Moq.4.20.70/lib/netstandard2.0/Moq.xml b/packages/Moq.4.20.70/lib/netstandard2.0/Moq.xml new file mode 100644 index 000000000..896673bfd --- /dev/null +++ b/packages/Moq.4.20.70/lib/netstandard2.0/Moq.xml @@ -0,0 +1,8543 @@ + + + + Moq + + + + + is a kind of that works by + applying a delegate to a light-weight proxy that records the invocation + happening to it, and auto-generates the same kind of recording proxy for its return value. + That way, a chain of invocation records is generated from which a LINQ expression tree can be + reconstructed. + + + + + Recursively gets the result of (i.e. "unwraps") completed awaitables + until a value is found that isn't a successfully completed awaitable. + + + As an example, given := Task.FromResult(Task.FromResult(42)), + this method will return 42. + + The (possibly awaitable) object to be "unwrapped". + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that do not produce a result when awaited. + + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that produce a result when awaited. + + + + + Allows to create parameter captures in setup expressions. + + + + + Creates a parameter capture that will store values in a collection. + + The captured object type + The collection that will store captured parameter values + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture that will store specific values in a collection. + + The captured object type + The collection that will store captured parameter values + A predicate used to filter captured parameters + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters, p => p.StartsWith("W")))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture using specified . + + The captured object type + + Arrange code: + + var capturedValue = string.Empty; + var match = new CaptureMatch{string}(x => capturedValue = x); + mock.Setup(x => x.DoSomething(Capture.With(match))); + + Assert code: + + Assert.Equal("Hello!", capturedValue); + + + + + + Allows creation custom matchers that can be used on setups to capture parameter values. + + + + + + Initializes an instance of the capture match. + + An action to run on captured value + + + + Initializes an instance of the capture match. + + An action to run on captured value + A predicate used to filter captured parameters + + + + Determines the way default values are generated + calculated for loose mocks. + + + + + Default behavior, which generates empty values for + value types (i.e. default(int)), empty array and + enumerables, and nulls for all other reference types. + + + + + Whenever the default value generated by + is null, replaces this value with a mock (if the type + can be mocked). + + + For sealed classes, a null value will be generated. + + + + + + All default value generation strategies other than or + are represented by this enumeration value. + + + Do not set (nor ) to this value. + If you want to set up a custom default value generation strategy, set + or instead. + + + + + + + + is the abstract base class for default value providers. + These are responsible for producing e. g. return values when mock methods or properties get invoked unexpectedly. + In other words, whenever there is no setup that would determine the return value for a particular invocation, + Moq asks the mock's default value provider to produce a return value. + + + + + Gets the corresponding to ; + that is, a default value provider returning "empty" values e. g. for collection types. + + + + + Gets the corresponding to ; + that is, a default value provider returning mocked objects or "empty" values for unmockable types. + + + + + Initializes a new instance of the class. + + + + + Gets the enumeration value that corresponds to this default value provider. + Must be overridden by Moq's internal providers that have their own corresponding . + + + + + Produces a default value of the specified type. + Must be overridden in derived classes. + + The of the requested default value. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default argument value for the specified method parameter. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method parameter for which a default argument value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default return value for the specified method. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method for which a default return value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + A that returns an empty default value + for invocations that do not have setups or return values, with loose mocks. + This is the default behavior for a mock. + + + + + Provides partial evaluation of subtrees, whenever they can be evaluated locally. + + Matt Warren: http://blogs.msdn.com/mattwar + Documented by InSTEDD: http://www.instedd.org + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A function that decides whether a given expression + node can be part of the local function. + A new tree with sub-trees evaluated and replaced. + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A new tree with sub-trees evaluated and replaced. + + + + Evaluates and replaces sub-trees when first candidate is reached (top-down) + + + + + Performs bottom-up analysis to determine which nodes can possibly + be part of an evaluated sub-tree. + + + + + Represents a set (or the "shape") of invocations + against which concrete s can be matched. + + + + + An compiles LINQ expression trees () to delegates. + Whenever Moq needs to compile an expression tree, it uses the instance set up by . + + + + + The default instance, which simply delegates to the framework's . + + + + + Gets or sets the instance that Moq uses to compile (LINQ expression trees). + Defaults to . + + + + + Initializes a new instance of the class. + + + + + Compiles the specified LINQ expression tree. + + The LINQ expression tree that should be compiled. + + + + Compiles the specified LINQ expression tree. + + The type of delegate to which the expression will be compiled. + The LINQ expression tree that should be compiled. + + + + Wraps this in a node if needed. + + The which should be wrapped. + The with which to make the compatible. + + LINQ expression trees generally enforce type compatibility rules that are stricter than + the assignment-compatibility used by e.g. . For + example, while is assignable-to , you + will need a conversion in a LINQ expression tree to model the value-type boxing operation. + + + + + Checks whether the given expression can be split by . + + + + + Splits an expression such as `m => m.A.B(x).C[y] = z` into a chain of parts + that can be set up one at a time: + + `m => m.A`, + `... => ....B(x)`, + `... => ....C`, + `... => ...[y] = z`. + + + The split points are chosen such that each part has exactly one associated + and optionally some argument expressions. + + + + It was not possible to completely split up the expression. + + + + + Converts the body of the lambda expression into the referenced by it. + + + + + Checks whether the body of the lambda expression is a property access. + + + + + Checks whether the body of the lambda expression is a indexer access. + + + + + TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583 + is fixed. + + + + + Applies the specified to this expression tree. + + The to which should be applied. + The that should be applied to . + + + + A reconstructs LINQ expression trees () + from delegates. It is the counterpart to . + + + + + Reconstructs a from the given delegate. + + The delegate for which to reconstruct a LINQ expression tree. + Arguments to pass to a parameterized constructor of . (Optional.) + + + + Extracts the arguments from a lambda expression that calls a constructor. + + The constructor expression. + Extracted argument values. + + + + Evaluates variables that have been closed over by a lambda function. + + + + + Replaces nodes for property or indexer accessor methods + with equivalent nodes. + + + + In the case of getter accessors such as `x.get_Property()`, the result will be + a single node: `x.Property`. + + + In the case of setter accessors such as `x.set_Property(y)`, the result will be + a combination of and : + `x.Property = y`. + + + + + + + + Gets the default value for the specified type. This is the Reflection counterpart of C#'s operator. + + + + + Gets the least-derived in the given type that provides + the implementation for the given . + + + + + Gets whether the given is a delegate type. + + + + + Visits all constituent parts of , replacing all type matchers + that match the type argument at the corresponding position in . + + The type to be matched. May be, or contain, type matchers. + The type argument to match against . + + + + Ensures the given is not null. + Throws otherwise. + + + + + Ensures the given string is not null or empty. + Throws in the first case, or + in the latter. + + + + + Provides information about an invocation of a mock object. + + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + + + Gets the setup that matched this invocation (or if there was no matching setup). + + + + + Gets whether this invocation was successfully verified by any of the various `Verify` methods. + + + + + The value being returned for a non-void method if no exception was thrown. + + + + + Optional exception if the method invocation results in an exception being thrown. + + + + + A list of invocations which have been performed on a mock. + + + + + Resets all invocations recorded for this mock. + + + + + Covariant interface for such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of . + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + An implementation of that is based on Castle DynamicProxy. + + + + + + + + This hook tells Castle DynamicProxy to proxy the default methods it suggests, + plus some of the methods defined by , e.g. so we can intercept + and give mocks useful default names. + + + + + This role interface represents a 's ability to intercept method invocations for its . + It is meant for use by . + + + + Do not use. (Moq requires this class so that methods can be set up on interface mocks.) + + + + + + + + + + + + Do not use. (Moq requires this interface so that methods can be set up on interface mocks.) + + + + + + + Base class for mocks and static helper class with methods that apply to mocked objects, + such as to retrieve a from an object instance. + + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Initializes a new instance of the class. + + + + + Retrieves the mock object for the given object instance. + + The instance of the mocked object. + + Type of the mock to retrieve. + Can be omitted as it's inferred from the object instance passed in as the instance. + + The mock associated with the mocked object. + The received instance was not created by Moq. + + The following example shows how to add a new setup to an object instance + which is not the original but rather the object associated with it: + + // Typed instance, not the mock, is retrieved from some test API. + HttpContextBase context = GetMockContext(); + + // context.Request is the typed object from the "real" API + // so in order to add a setup to it, we need to get + // the mock that "owns" it + Mock<HttpRequestBase> request = Mock.Get(context.Request); + + request.Setup(req => req.AppRelativeCurrentExecutionFilePath) + .Returns(tempUrl); + + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + + + Gets the interfaces additionally implemented by the mock object. + + + This list may be modified by calls to up until the first call to . + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Gets the mocked object instance. + + + + + Gets the interfaces directly inherited from the mocked type (). + + + + + Gets list of invocations which have been performed on this mock. + + + + + Returns the mocked object value. + + + + + Retrieves the type of the mocked object, its generic type argument. + This is used in the auto-mocking of hierarchy access. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the setups that have been configured on this mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + This example sets up an expectation and marks it as verifiable. + After the mock is used, a Verify() call is issued on the mock + to ensure the method in the setup was invoked: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true) + .Verifiable(); + + ... + + // Will throw if the test code did not call HasInventory. + this.Verify(); + + + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + This example sets up an expectation without marking it as verifiable. + After the mock is used, a call is issued on the mock + to ensure that all expectations are met: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true); + + ... + + // Will throw if the test code did not call HasInventory, + // even though that expectation was not marked as verifiable. + mock.VerifyAll(); + + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + + + Defines the default return value for all mocked methods or properties with return type . + + The return type for which to define a default value. + The default return value. + + Default return value is respected only when there is no matching setup for a method call. + + + + + Gets the global instance used by Moq. + + + + + Initializes a new instance of the class. + + The of the concrete proxy object on which a method is being invoked. + The method being invoked. + The arguments with which the specified is being invoked. + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + Arguments may be modified. Derived classes must ensure that by-reference parameters are written back + when the invocation is ended by a call to any of the three Returns methods. + + + + + Calls the method implementation + and returns its return value (or for methods). + + + + + + + + Internal type to mark invocation results as "exception occurred during execution". The type just + wraps the Exception so a thrown exception can be distinguished from an + return value. + + + + + A delegate-like type for use with `setup.Callback` which instructs the `Callback` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A delegate-like type for use with `setup.Returns` which instructs the `Returns` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A setup configured on a mock. + + + + + + The setup expression. + + + + + Gets the inner mock of this setup (if present and known). + + An "inner mock" is the instance associated with a setup's return value, + if that setup is configured to return a mock object. + + + This property will be if a setup either does not return a mock object, + or if Moq cannot safely determine its return value without risking any side effects. For instance, + Moq is able to inspect the return value if it is a constant (e.g. `.Returns(value)`); + if, on the other hand, it gets computed by a factory function (e.g. `.Returns(() => value)`), + Moq will not attempt to retrieve that value just to find the inner mock, + since calling a user-provided function could have effects beyond Moq's understanding and control. + + + + + + Gets whether this setup is conditional. + + + + + + Gets whether this setup was matched by at least one invocation on the mock. + + + + + Gets whether this setup has been overridden + (that is, whether it is being shadowed by a more recent non-conditional setup with an equal expression). + + + + + Gets whether this setup is "verifiable". + + + This property gets sets by the `.Verifiable()` setup verb. + + Note that setups can be verified even if this property is : + completely ignores this property. + , however, will only verify setups where this property is . + + + + + + Returns the instance to which this setup belongs. + + + + + Returns the original setup expression from which this setup resulted. + + For setups doing a simple member access or method invocation (such as `mock => mock.Member`), + this property will be equal to . + + + For setups whose expression involves member chaining (such as `parent => parent.Child.Member`), + Moq does not create a single setup, but one for each member access/invocation. + The example just given will result in two setups: + + a setup for `parent => parent.Child` on the parent mock; and + on its inner mock, a setup for `(child) => (child).Member`. + + These are the setups that will be put in the mocks' collections; + their will return the partial expression for just a single member access, + while their will return the original, full expression. + + + This property may also return if this setup was created automatically, + e.g. by or by . + + + + + + Verifies this setup and optionally all verifiable setups of its inner mock (if present and known). + + If is set to , + the semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification, + and will always be verified itself (even if not flagged as verifiable). + + + + Specifies whether recursive verification should be performed. + + + Verification failed due to one or more unmatched setups. + + + + + + + Verifies this setup and all setups of its inner mock (if present and known), + regardless of whether they have been flagged as verifiable. + + The semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification. + + + + Verification failed due to one or more unmatched setups. + + + + + + + A list of setups that have been configured on a mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + Allows the specification of a matching condition for an argument in a method invocation, + rather than a specific argument value. "It" refers to the argument being matched. + + + This class allows the setup to match a method invocation with an arbitrary value, + with a value in a specified range, or even one that matches a given predicate. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + Matches any value of the given type. + + Type of the value. + + Typically used when the actual argument value for a method call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Setup(x => x.Remove(It.IsAny<string>())).Throws(new InvalidOperationException()); + + + + + + A type matcher that matches any generic type argument. + + If the generic type parameter is constrained to (C#) / + (VB.NET), use instead. + + + If the generic type parameter has more specific constraints, + you can define your own type matcher inheriting from the type to which the type parameter is constrained. + See and . + + + + + + Matches any value of the given type, except null. + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + This example shows how to return the value 1 whenever the argument to + the Do method is an even number. + + mock.Setup(x => x.Do(It.Is<int>(i => i % 2 == 0))) + .Returns(1); + + + + This example shows how to throw an exception if the argument to the method + is a negative number: + + mock.Setup(x => x.GetUser(It.Is<int>(i => i < 0))) + .Throws(new ArgumentException()); + + + + + + Matches any value that satisfies the given predicate. + + Use this overload when you specify a type matcher for . + The callback you provide will then receive the actual parameter type + as well as the invocation argument. + + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + + + Matches any value that equals the using the . + To use the default comparer for the specified object, specify the value inline, + i.e. mock.Verify(service => service.DoWork(value)). + + Use this overload when you specify a value and a comparer. + + + The value to match with. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is in the range specified. + + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + within the 0..100 range. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+"))) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression, in a case insensitive way: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+", RegexOptions.IgnoreCase))) + .Returns(1); + + + + + + A type matcher that matches subtypes of , as well as itself. + + The type whose subtypes should match. + + + + A type matcher that matches any value type. + + + + + Types that implement this interface represent a criterion against which generic type arguments are matched. + + To be used in combination with . + + + + + + Matches the provided type argument against the criterion represented by this type matcher. + + + The generic type argument that should be matched. + + + if the provided type argument matched the criterion represented by this instance; + otherwise, . + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Defines the Callback verb and overloads. + + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + + Figure out the generic type argument used for a mocked method call: + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean + value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The argument type of the invoked method. + The callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback((string command) => Console.WriteLine(command)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb and overloads for callbacks on + setups that return a value. + + Mocked type. + Type of the return value of the setup. + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + Figure out the generic type argument used for a mocked method call: + + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true) + .Returns(true); + + Note that in the case of value-returning methods, after the Callback + call you can still specify the return value. + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the argument of the invoked method. + Callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback(command => Console.WriteLine(command)) + .Returns(true); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb for property getter setups. + + + Mocked type. + Type of the property. + + + + Specifies a callback to invoke when the property is retrieved. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupGet(x => x.Suspended) + .Callback(() => called = true) + .Returns(true); + + + + + + Defines the Callback verb for property setter setups. + + Type of the property. + + + + Specifies a callback to invoke when the property is set that receives the + property value being set. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupSet(x => x.Suspended) + .Callback((bool state) => Console.WriteLine(state)); + + + + + + Defines the CallBase verb. + + + + + Calls the real method of the object. + + + + + Defines the Raises verb. + + + + + Specifies the event that will be raised + when the setup is met. + + An expression that represents an event attach or detach action. + The event arguments to pass for the raised event. + + The following example shows how to raise an event when + the setup is met: + + var mock = new Mock<IContainer>(); + + mock.Setup(add => add.Add(It.IsAny<string>(), It.IsAny<object>())) + .Raises(add => add.Added += null, EventArgs.Empty); + + + + + + Specifies the event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + A function that will build the + to pass when raising the event. + + + + + Specifies the custom event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + The arguments to pass to the custom delegate (non EventHandler-compatible). + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + The type of the sixteenth argument received by the expected invocation. + + + + + Defines the Returns verb. + + Mocked type. + Type of the return value from the expression. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the method call: + + mock.Setup(x => x.Execute("ping")) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return from the method. + + This overload is intended to be used in scenarios involving generic type argument matchers, + such as . The function will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Returns overloads as they provide + better static type safety. + + + + Mock a method to act like a generic factory method: + + factory.Setup(m => m.Create<It.IsAnyType>()) + .Returns(new InvocationFunc(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + return Activator.CreateInstance(typeArgument); + }); + var something = factory.Object.Create<Something>(); + + + + + + Specifies a function that will calculate the value to return from the method. + This overload specifically allows you to specify a function with by-ref parameters. + Those by-ref parameters can be assigned to (though you should probably do that from + a Callback instead). + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + delegate bool ExecuteFunc(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Returns(new ExecuteFunc((ref Command command) => command.IsExecutable)); + + + + + + Specifies a function that will calculate the value to return from the method. + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + The function that will calculate the return value. + + Return a calculated value which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Returns((string command) => returnValues[command]); + + + + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2) => arg1 + arg2); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3) => arg1 + arg2 + arg3); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4) => arg1 + arg2 + arg3 + arg4); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5) => arg1 + arg2 + arg3 + arg4 + arg5); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15, int arg16) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16); + + + + + + Defines the Returns verb for property get setups. + + Mocked type. + Type of the property. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the property getter call: + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return for the property. + + The function that will calculate the return value. + + Return a calculated value when the property is retrieved: + + mock.SetupGet(x => x.Suspended) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the property + is retrieved and the value the returnValues array has at + that moment. + + + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + + + + Implements the fluent API. + + + + + The expectation will be considered only in the former condition. + + + + + + + The expectation will be considered only in the former condition. + + + + + + + + Setups the get. + + The type of the property. + The expression. + + + + + Setups the set. + + The type of the property. + The setter expression. + + + + + Setups the set. + + The setter expression. + + + + + Defines the Pass and Throws verbs for sequence setups + on void methods. + + + + + Configures the next call in the sequence to do nothing. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(new InvalidOperationException()); + + + + + + Configures the next call in the sequence to throw a calculated exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw a calculated exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(() => new InvalidOperationException()); + + + + + + Language for ReturnSequence + + + + + Returns value + + + + + Uses delegate to get return value + + The function that will calculate the return value. + + + + Throws an exception + + + + + Throws an exception + + + + + Uses delegate to throws an exception + + + + + Calls original method + + + + + Defines the Throws verb. + + + + + Specifies the exception to throw when the method is invoked. + + Exception instance to throw. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws(new ArgumentException()); + + + + + + Specifies the type of exception to throw when the method is invoked. + + Type of exception to instantiate and throw when the setup is matched. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws<ArgumentException>(); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + delegate Exception ExecuteFunc(string name); + + String s = ...; + mock.Setup(x => x.Execute(s)) + .Throws(new ExecuteFunc((string s) => new Exception(s))); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Throws(() => new Exception($"bad {returnValues[0]}")); + + The lambda expression to retrieve the exception is lazy-executed, + meaning that its exception may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Throws((string command) => new Exception(command)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2) => new Exception(arg1 + arg2)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3) => new Exception(arg1 + arg2 + arg3)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4) => new Exception(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Verifiable verb. + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable(); + + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met, and specifies a message for failures. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable("Ping should be executed always!"); + + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Defines occurrence members to constraint setups. + + + + + The expected invocation can happen at most once. + + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMostOnce(); + + + + + + The expected invocation can happen at most specified number of times. + + The number of times to accept calls. + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMost( 5 ); + + + + + + A default implementation of IQueryable for use with QueryProvider + + + + + Converts a taken-apart binary expression such as `m.A.B` (==) `x` to + `Mocks.SetupReturns(Mock.Get(m), m' => m'.A.B, (object)x)`. + + Body of the expression to set up. + Return value to be configured for . + + + + Locates the root mock object in a setup expression (which is usually, but not always, a ), + stores a reference to it, and finally replaces it with a new . + + + + + Utility repository class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the repository constructor) and later verifying each + mock can become repetitive and tedious. + + This repository class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var repository = new MockRepository(MockBehavior.Strict); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + repository.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the repository + to create loose mocks and later verify only verifiable setups: + + var repository = new MockRepository(MockBehavior.Loose); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // this setup will be verified when we verify the repository + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the repository + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + repository.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the repository with a + default strict behavior, overriding that default for a + specific mock: + + var repository = new MockRepository(MockBehavior.Strict); + + // this particular one we want loose + var foo = repository.Create<IFoo>(MockBehavior.Loose); + var bar = repository.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + repository.Verify(); + + + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Initializes the repository with the given + for newly created mocks from the repository. + + The behavior to use for mocks created + using the repository method if not overridden + by using the overload. + + + + Allows querying the universe of mocks for those that behave + according to the LINQ query specification. + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Abstract base class for default value providers that look up and delegate to value factory functions for the requested type(s). + If a request cannot be satisfied by any registered factory, the default value gets produced by a fallback strategy. + + + + Derived classes can register and deregister factory functions with and , + respectively. + + + The fallback value generation strategy is implemented by the overridable method. + + + This base class sets up factory functions for task types (, , + and ) that produce completed tasks containing default values. + If this behavior is not desired, derived classes may deregister those standard factory functions via . + + + + + + Initializes a new instance of the class. + + + + + Deregisters any factory function that might currently be registered for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the fallback strategy. + + The type(s) for which to remove any registered factory function. + + + + Registers a factory function for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the specified function. + + + + The type(s) for which to register the given function. + + + All array types are represented by (). + Generic types are represented by their open generic type definition, e. g. (<>). + + + The factory function responsible for producing values for the given type. + + + + + + + + + + + + + Determines the default value for the given when no suitable factory is registered for it. + May be overridden in derived classes. + + The type of which to produce a value. + The on which an unexpected invocation has occurred. + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + + Argument matching is used to determine whether a concrete invocation in the mock + matches a given setup. This matching mechanism is fully extensible. + + + Creating a custom matcher is straightforward. You just need to create a method + that returns a value from a call to + with your matching condition and optional friendly render expression: + + public Order IsBigOrder() + { + return Match.Create<Order>( + o => o.GrandTotal >= 5000, + () => IsBigOrder()); // a friendly expression to render on failures + } + + This method can be used in any mock setup invocation: + + mock.Setup(m => m.Submit(IsBigOrder()) + .Throws<UnauthorizedAccessException>(); + + At runtime, Moq knows that the return value was a matcher and + evaluates your predicate with the actual value passed into your predicate. + + Another example might be a case where you want to match a lists of orders + that contains a particular one. You might create matcher like the following: + + + public static class Orders + { + public static IEnumerable<Order> Contains(Order order) + { + return Match.Create<IEnumerable<Order>>(orders => orders.Contains(order)); + } + } + + Now we can invoke this static method instead of an argument in an invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + + + + + Provided for the sole purpose of rendering the delegate passed to the + matcher constructor if no friendly render lambda is provided. + + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + A lambda representation of the matcher, to be used when rendering error messages, + such as () => It.IsAny<string<(). + + + + + Initializes the matcher with the condition that will be checked in order to match invocation values. + + The predicate of this overload will not only be provided with a + method argument, but also with the associated parameter's type. This parameter type essentially + overrides in cases where the latter is a type matcher. Therefore, + use this method overload if you want your custom matcher to work together with type matchers. + + + + The condition to match against actual values. + + This function will be passed the invocation argument, as well as the type of the associated parameter. + + + + A lambda representation of the matcher. + + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + Type of the value to match. + + + + + + + + + + + + + A per-thread observer that records invocations to matchers for later inspection. + + + + This component requires the active cooperation of the respective subsystem. + That is, invoked matchers call into if an + observer is active on the current thread. + + + + + + Returns the current timestamp. The next call will return a timestamp greater than this one, + allowing you to order invocations and matcher observations. + + + + + Adds the specified as an observation. + + + + + Checks whether at least one observation is available, + and if so, returns the last one. + + The observed matcher observed last. + + + + Matcher to treat static functions as matchers. + + mock.Setup(x => x.StringMethod(A.MagicString())); + + public static class A + { + [Matcher] + public static string MagicString() { return null; } + public static bool MagicString(string arg) + { + return arg == "magic"; + } + } + + Will succeed if: mock.Object.StringMethod("magic"); + and fail with any other call. + + + + + An that is bound to a single, specific method. + + has the general form + `mock => mock.Method(...arguments)`. Because the method and arguments are frequently needed, + they are cached in and + for faster access. + + + + + + Abstract base class for setups that target a single, specific method. + + + + + Options to customize the behavior of the mock. + + + + + Causes the mock to always throw + an exception for invocations that don't have a + corresponding setup. + + + + + Will never throw exceptions, returning default + values when necessary (null for reference types, + zero for value types or empty enumerables and arrays). + + + + + Default mock behavior, which equals . + + + + + A that returns an empty default value + for non-mockable types, and mocks for all other types (interfaces and + non-sealed classes) that can be mocked. + + + + + Exception thrown by mocks when they are not properly set up, + when setups are not matched, when verification fails, etc. + + + A distinct exception type is provided so that exceptions + thrown by a mock can be distinguished from other exceptions + that might be thrown in tests. + + Moq does not provide a richer hierarchy of exception types, as + tests typically should not catch or expect exceptions + from mocks. These are typically the result of changes + in the tested class or its collaborators' implementation, and + result in fixes in the mock setup so that they disappear and + allow the test to pass. + + + + + + Returns the exception to be thrown when a setup has been invoked an incorrect (unexpected) number of times. + + + + + Returns the exception to be thrown when finds no invocations (or the wrong number of invocations) that match the specified expectation. + + + + + Returns the exception to be thrown when a strict mock has no setup corresponding to the specified invocation. + + + + + Returns the exception to be thrown when a strict mock has no setup that provides a return value for the specified invocation. + + + + + Returns the exception to be thrown when a setup was not matched. + + + + + Returns an exception whose message is the concatenation of the given ' messages + and whose reason(s) is the combination of the given ' reason(s). + Used by when it finds one or more mocks with verification errors. + + + + + Returns the exception to be thrown when finds invocations that have not been verified. + + + + + Indicates whether this exception is a verification fault raised by Verify() + + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Provides additional methods on mocks. + + + + + Resets this mock's state. This includes its setups, configured default return values, registered event handlers, and all recorded invocations. + + The mock whose state should be reset. + + + + Resets all invocations recorded for this mock. + + The mock whose recorded invocations should be reset. + + + + Helper class to setup a full trace between many mocks + + + + + Initialize a trace setup + + + + + Allow sequence to be repeated + + + + + Contains extension methods that are related to . + + + + + Perform an expectation in the trace. + + + + + Provides a mock implementation of . + + Type to mock, which can be an interface, a class, or a delegate. + + Any interface type can be used for mocking, but for classes, only abstract and virtual members can be mocked. + + The behavior of the mock with regards to the setups and the actual calls is determined by the optional + that can be passed to the constructor. + + + + The following example shows establishing setups with specific values for method invocations: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + warehouse.Setup(w => w.HasInventory(TALISKER, 50)).Returns(true); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.True(order.IsFilled); + + + + The following example shows how to use the class + to specify conditions for arguments instead of specific values: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + + // shows how to expect a value within a range: + warehouse.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + // shows how to throw for unexpected calls. + warehouse.Setup(x => x.Remove( + It.IsAny<string>(), + It.IsAny<int>())) + .Throws(new InvalidOperationException()); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.False(order.IsFilled); + + + + + + Ctor invoked by AsTInterface exclusively. + + + + + Initializes an instance of the mock with behavior. + + + + var mock = new Mock<IFormatProvider>(); + + + + + + Initializes an instance of the mock with behavior + and with the given constructor arguments for the class. (Only valid when is a class.) + + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance.This applies only for classes, not interfaces. + + + + var mock = new Mock<MyProvider>(someArgument, 25); + + + + + + Initializes an instance of the mock with the specified behavior. + + Behavior of the mock. + + + var mock = new Mock<IFormatProvider>(MockBehavior.Strict); + + + + + + Initializes an instance of the mock with a specific behavior + and with the given constructor arguments for the class. + + Behavior of the mock. + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance. This applies only to classes, not interfaces. + + + + + Initializes an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Lambda expression that creates an instance of . + Behavior of the mock. + + var mock = new Mock<MyProvider>(() => new MyProvider(someArgument, 25), MockBehavior.Loose); + + + + + + + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Exposes the mocked object instance. + + + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Returns the name of the mock. + + + + + Returns the mocked object value. + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + The following example creates a mock for the main interface + and later adds to it to verify it's called by the consumer code: + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + // add IDisposable interface + var disposable = mock.As<IDisposable>(); + disposable.Setup(d => d.Dispose()) + .Verifiable(); + + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + + + + + Specifies a setup on the mocked type for a call to a non- (value-returning) method. + + Lambda expression that specifies the method invocation. + Type of the return value. Typically omitted as it can be inferred from the expression. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + mock.Setup(x => x.HasInventory("Talisker", 50)) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Lambda expression that specifies the property getter. + Type of the property. Typically omitted as it can be inferred from the expression. + + If more than one setup is set for the same property getter, + the latest one wins and is the one that will be executed. + + + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to an event add. + + Lambda expression that adds an event. + + If more than one setup is set for the same event add, + the latest one wins and is the one that will be executed. + + + + mock.SetupAdd(x => x.EventHandler += (s, e) => {}); + + + + + + Specifies a setup on the mocked type for a call to an event remove. + + Lambda expression that removes an event. + + If more than one setup is set for the same event remove, + the latest one wins and is the one that will be executed. + + + + mock.SetupRemove(x => x.EventHandler -= (s, e) => {}); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Property expression to stub. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value); + + After the SetupProperty call has been issued, setting and retrieving + the object value will behave as expected: + + IHaveValue v = mock.Object; + v.Value = 5; + Assert.Equal(5, v.Value); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + This overload allows setting the initial value for the property. + (This is also known as "stubbing".) + + Property expression to stub. + Initial value for the property. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value, 5); + + After the SetupProperty call has been issued, setting and retrieving the object value + will behave as expected: + + IHaveValue v = mock.Object; + Assert.Equal(5, v.Value); // Initial value was stored + + // New value set which changes the initial value + v.Value = 6; + Assert.Equal(6, v.Value); + + + + + + Specifies that the all properties on the mock should have "property behavior", + meaning that setting their value will cause them to be saved and later returned when the properties is requested. + (This is also known as "stubbing".) + The default value for each property will be the one generated as specified by the + property for the mock. + + + If the mock's is set to , + the mocked default values will also get all properties setup recursively. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Allows setting up a conditional setup. + Conditional setups are only matched by an invocation + when the specified condition evaluates to + at the time when the invocation occurs. + + + The condition that should be checked + when a setup is being matched against an invocation. + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IProcessor>(); + + ... // exercise mock + + // Will throw if the test code didn't call Execute with a "ping" string argument. + mock.Verify(proc => proc.Execute("ping")); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50)); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50), + "When filling orders, inventory has to be checked"); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + Type of return value from the expression. + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was retrieved from it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't retrieve the IsClosed property. + mock.VerifyGet(warehouse => warehouse.IsClosed); + + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was set on the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true); + + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true, + "Warehouse should always be closed after the action"); + + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was subscribed to an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't subscribe to the OnClosed event. + mock.VerifyAdd(warehouse => warehouse.OnClosed += It.IsAny<EventHandler>()); + + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was removed from an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't unsubscribe from the OnClosed event. + mock.VerifyRemove(warehouse => warehouse.OnClose -= It.IsAny<EventHandler>()); + + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that there were no calls other than those already verified. + + There was at least one invocation not previously verified. + + + + Raises the event referenced in using the given argument. + + + The argument is invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a + event: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.PropertyChanged -= null, new PropertyChangedEventArgs("Name")); + + + + This example shows how to invoke an event with a custom event arguments class + in a view that will cause its corresponding presenter to react by changing its state: + + var mockView = new Mock<IOrdersView>(); + var presenter = new OrdersPresenter(mockView.Object); + + // Check that the presenter has no selection by default + Assert.Null(presenter.SelectedOrder); + + // Raise the event with a specific arguments data + mockView.Raise(v => v.SelectionChanged += null, new OrderEventArgs { Order = new Order("moq", 500) }); + + // Now the presenter reacted to the event, and we have a selected order + Assert.NotNull(presenter.SelectedOrder); + Assert.Equal("moq", presenter.SelectedOrder.ProductName); + + + + + + Raises the event referenced in using the given argument for a non--typed event. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a custom event that does not adhere + to the standard EventHandler: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.MyEvent -= null, "Name", bool, 25); + + + + + + Raises the event referenced in using the given arguments + for an event with a Func<..., Task> or Func<..., ValueTask> signature. + The returned completes when all of the s / s + returned by the event handlers have completed. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise an event with async event handlers: + + interface IViewModel + { + event Func<InitializationData, Task> Initialized; + } + var mock = new Mock<IViewModel>(); + mock.Object.Initialized += async initializationData => ...; + await mock.RaiseAsync(x => x.Initialized += null, new InitializationData { ... }); + + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Marks a method as a matcher, which allows complete replacement + of the built-in class with your own argument + matching rules. + + + + This feature has been deprecated in favor of the new + and simpler . + + + + The argument matching is used to determine whether a concrete + invocation in the mock matches a given setup. This + matching mechanism is fully extensible. + + + There are two parts of a matcher: the compiler matcher + and the runtime matcher. + + + Compiler matcher + Used to satisfy the compiler requirements for the + argument. Needs to be a method optionally receiving any arguments + you might need for the matching, but with a return type that + matches that of the argument. + + Let's say I want to match a lists of orders that contains + a particular one. I might create a compiler matcher like the following: + + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + } + + Now we can invoke this static method instead of an argument in an + invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + Note that the return value from the compiler matcher is irrelevant. + This method will never be called, and is just used to satisfy the + compiler and to signal Moq that this is not a method that we want + to be invoked at runtime. + + + + Runtime matcher + + The runtime matcher is the one that will actually perform evaluation + when the test is run, and is defined by convention to have the + same signature as the compiler matcher, but where the return + value is the first argument to the call, which contains the + object received by the actual invocation at runtime: + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + + At runtime, the mocked method will be invoked with a specific + list of orders. This value will be passed to this runtime + matcher as the first argument, while the second argument is the + one specified in the setup (x.Save(Orders.Contains(order))). + + The boolean returned determines whether the given argument has been + matched. If all arguments to the expected method are matched, then + the setup matches and is evaluated. + + + + + + Using this extensible infrastructure, you can easily replace the entire + set of matchers with your own. You can also avoid the + typical (and annoying) lengthy expressions that result when you have + multiple arguments that use generics. + + + The following is the complete example explained above: + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + } + + And the concrete test using this matcher: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + // use mock, invoke Save, and have the matcher filter. + + + + + + Contains obsolete API members as extension methods so that existing code continues to compile, + but new code doesn't see them. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Utility factory class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the factory constructor) and later verifying each + mock can become repetitive and tedious. + + This factory class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + factory.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the factory + to create loose mocks and later verify only verifiable setups: + + var factory = new MockFactory(MockBehavior.Loose); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // this setup will be verified when we verify the factory + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the factory + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + factory.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the factory with a + default strict behavior, overriding that default for a + specific mock: + + var factory = new MockFactory(MockBehavior.Strict); + + // this particular one we want loose + var foo = factory.Create<IFoo>(MockBehavior.Loose); + var bar = factory.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + factory.Verify(); + + + + + + + Initializes the factory with the given + for newly created mocks from the factory. + + The behavior to use for mocks created + using the factory method if not overridden + by using the overload. + + + + Gets the default of mocks created by this repository. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the mocks that have been created by this factory and + that will get verified together. + + + + + A set of switches that influence how mocks created by this factory will operate. + You can opt in or out of certain features via this property. + + + + + Creates a new mock with the default + specified at factory construction time. + + Type to mock. + A new . + + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + // use mock on tests + + factory.VerifyAll(); + + + + + + Creates a new mock with the default + specified at factory construction time and with the + the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Constructor arguments for mocked classes. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>("Foo", 25, true); + // use mock on tests + + factory.Verify(); + + + + + + Creates a new mock with the given . + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory: + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(MockBehavior.Loose); + + + + + + Creates a new mock with the given + and with the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + Constructor arguments for mocked classes. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory, passing + constructor arguments: + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>(MockBehavior.Strict, "Foo", 25, true); + + + + + + Creates an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Type to mock. + Lambda expression that creates an instance of . + Behavior of the mock. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyClass>(() => new MyClass("Foo", 25, true), MockBehavior.Loose); + // use mock on tests + + factory.Verify(); + + + + + + Implements creation of a new mock within the factory. + + Type to mock. + The behavior for the new mock. + Optional arguments for the construction of the mock. + + + + Verifies all verifiable setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Verifies all setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Calls on all mocks created by this factory. + + + One or more mocks had invocations that were not verified. + + + + Invokes for each mock + in , and accumulates the resulting + verification exceptions that might be + thrown from the action. + + The action to execute against + each mock. + + + + Provides additional methods on mocks. + + + Provided as extension methods as they confuse the compiler + with the overloads taking Action. + + + + + Specifies a setup on the mocked type for a call to + to a property setter, regardless of its value. + + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + Type of the property. Typically omitted as it can be inferred from the expression. + Type of the mock. + The target mock for the setup. + Lambda expression that specifies the property setter. + + + mock.SetupSet(x => x.Suspended); + + + + This method is not legacy, but must be on an extension method to avoid + confusing the compiler with the new Action syntax. + + + + + Verifies that a property has been set on the mock, regardless of its value. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + Message to show if verification fails. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times, and specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Message to show if verification fails. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Helper for sequencing return values in the same method. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Allocation-free adapter type for treating a `ParameterInfo[]` array like a `Type[]` array. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Mock type has already been initialized by accessing its Object property. Adding interfaces must be done before that.. + + + + + Looks up a localized string similar to Value cannot be an empty string.. + + + + + Looks up a localized string similar to Matcher '{0}' is unmatchable: An implicit conversion operator will convert arguments of type '{1}' to the parameter's type '{2}', which is assignment-incompatible.. + + + + + Looks up a localized string similar to Can only add interfaces to the mock.. + + + + + Looks up a localized string similar to CallBase cannot be used with Delegate mocks.. + + + + + Looks up a localized string similar to Can't set return value for void method {0}.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. + + + + + Looks up a localized string similar to A matching constructor for the given arguments was not found on the mocked type.. + + + + + Looks up a localized string similar to Delays have to be greater than zero to ensure an async callback is used.. + + + + + Looks up a localized string similar to Expression {0} involves a field access, which is not supported. Use properties instead.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Callback" method only accepts "void" (C#) or "Sub" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with {0} parameter(s) cannot invoke callback with different number of parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with parameters ({0}) cannot invoke callback with parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with return type '{0}' cannot invoke callback with return type '{1}'.. + + + + + Looks up a localized string similar to Cannot retrieve a mock with the given object type {0} as it's not the main type of the mock or any of its additional interfaces. + Please cast the argument to one of the supported types: {1}. + Remember that there's no generics covariance in the CLR, so your object must be one of these types in order for the call to succeed.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Returns" method only accepts non-"void" (C#) or "Function" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to The return type of the last member shown above is not mockable.. + + + + + Looks up a localized string similar to The equals ("==" or "=" in VB) and the conditional 'and' ("&&" or "AndAlso" in VB) operators are the only ones supported in the query specification expression. Unsupported expression: {0}. + + + + + Looks up a localized string similar to LINQ method '{0}' not supported.. + + + + + Looks up a localized string similar to Expression contains a call to a method which is not virtual (overridable in VB) or abstract. Unsupported expression: {0}. + + + + + Looks up a localized string similar to Could not determine the correct positions for all argument matchers ({0} in total) used in a call to this method: {1}. + This could be caused by an unrecognized type conversion, coercion, narrowing, or widening, and is most likely a bug in Moq. Please report your use case to the Moq team.. + + + + + Looks up a localized string similar to Member {0}.{1} does not exist.. + + + + + Looks up a localized string similar to Method {0}.{1} is public. Use strong-typed Expect overload instead: + mock.Setup(x => x.{1}()); + . + + + + + Looks up a localized string similar to No protected method {0}.{1} found whose signature is compatible with the provided arguments ({2}).. + + + + + Looks up a localized string similar to Cannot set up {0}.{1} because it is not accessible to the proxy generator used by Moq: + {2}. + + + + + Looks up a localized string similar to Minimum delay has to be lower than maximum delay.. + + + + + Looks up a localized string similar to {0} invocation failed with mock behavior {1}. + {2}. + + + + + Looks up a localized string similar to The next member after the last one shown above is non-virtual, sealed, or not visible to the proxy factory.. + + + + + Looks up a localized string similar to No constructor call could be found.. + + + + + Looks up a localized string similar to No invocations performed.. + + + + + Looks up a localized string similar to Expected invocation on the mock at least {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at least once, but was never performed: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most {1} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most once, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Exclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Inclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock exactly {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock should never have been performed, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock once, but was {2} times: . + + + + + Looks up a localized string similar to All invocations on the mock must have a corresponding setup.. + + + + + Looks up a localized string similar to Object instance was not created by Moq.. + + + + + Looks up a localized string similar to Out expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Performed invocations:. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a getter.. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a setter.. + + + + + Looks up a localized string similar to Type {0} does not have matching protected member: {1}. + + + + + Looks up a localized string similar to Ref expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Invocation needs to return a value and therefore must have a corresponding setup that provides it.. + + + + + Looks up a localized string similar to Expression is not an event add: {0}. + + + + + Looks up a localized string similar to Expression is not an event remove: {0}. + + + + + Looks up a localized string similar to Expression is not a property access: {0}. + + + + + Looks up a localized string similar to Expression is not a setter: {0}. + + + + + Looks up a localized string similar to Type {0} does not have a default (public parameterless) constructor.. + + + + + Looks up a localized string similar to Type matchers may not be used as the type for 'Callback' or 'Returns' parameters, because no argument will never have that precise type. Consider using type 'object' instead.. + + + + + Looks up a localized string similar to Type {0} does not implement required interface {1}. + + + + + Looks up a localized string similar to Type to mock ({0}) must be an interface, a delegate, or a non-sealed, non-static class.. + + + + + Looks up a localized string similar to To specify a setup for public property {0}.{1}, use the typed overloads, such as: + mock.Setup(x => x.{1}).Returns(value); + mock.SetupGet(x => x.{1}).Returns(value); //equivalent to previous one + mock.SetupSet(x => x.{1}).Callback(callbackDelegate); + . + + + + + Looks up a localized string similar to Unexpected translation of a member access: {0}. + + + + + Looks up a localized string similar to Unhandled binding type: {0}. + + + + + Looks up a localized string similar to Unhandled expression type: {0}. + + + + + Looks up a localized string similar to {0}: + This setup was not matched.. + + + + + Looks up a localized string similar to Unsupported expression: {0}. + + + + + Looks up a localized string similar to Unsupported expression: {0} + {1}. + + + + + Looks up a localized string similar to Extension methods (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Member {0} is not supported for protected mocking.. + + + + + Looks up a localized string similar to Non-overridable members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Static members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following unverified invocations:. + + + + + Looks up a localized string similar to Use ItExpr.IsNull<TValue> rather than a null argument value, as it prevents proper method lookup.. + + + + + Looks up a localized string similar to It is impossible to call the provided strongly-typed predicate due to the use of a type matcher. Provide a weakly-typed predicate with two parameters (object, Type) instead.. + + + + + Looks up a localized string similar to {0}:. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following:. + + + + + Looks up a localized string similar to The mock repository failed verification due to the following:. + + + + + Allows setups to be specified for protected members (methods and properties) + seen through another type with corresponding members (that is, members + having identical signatures as the ones to be set up). + + Type of the mocked object. + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a value-returning method. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet<bool>(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property getter. + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property. + Initial value for the property. + + + + Return a sequence of values, once per call. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + Performs a sequence of actions, one per call. + + Lambda expression that specifies the expected method invocation. + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a property was set on the mock. + + Expression to verify. + + Number of times that the setter is expected to have occurred. + If omitted, assumed to be . + + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was read on the mock. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Allows setups to be specified for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Set up protected members (methods and properties) seen through another type with identical member signatures. + + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property getter with the given + . + + The name of the property. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The name of the property. + The property value. If argument matchers are used, + remember to use rather than . + The type of the property. + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property getter with the given + . + The invocation was not call the times specified by + . + + The name of the property. + The number of times a method is allowed to be called. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The invocation was not call the times specified by + . + The name of the property. + The number of times a method is allowed to be called. + The property value. + The type of the property. If argument matchers are used, + remember to use rather than . + + + + Allows the specification of a matching condition for an + argument in a protected member setup, rather than a specific + argument value. "ItExpr" refers to the argument being matched. + + + Use this variant of argument matching instead of + for protected setups. + This class allows the setup to match a method invocation + with an arbitrary value, with a value in a specified range, or + even one that matches a given predicate, or null. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + + Matches a null value of the given type. + + + Required for protected mocks as the null value cannot be used + directly as it prevents proper method overload selection. + + + + // Throws an exception for a call to Remove with a null string value. + mock.Protected() + .Setup("Remove", ItExpr.IsNull<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value of the given type. + + + Typically used when the actual argument value for a method + call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Protected() + .Setup("Remove", ItExpr.IsAny<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + Type of the argument to check. + The predicate used to match the method argument. + + Allows the specification of a predicate to perform matching + of method call arguments. + + + This example shows how to return the value 1 whenever the argument to the + Do method is an even number. + + mock.Protected() + .Setup("Do", ItExpr.Is<int>(i => i % 2 == 0)) + .Returns(1); + + This example shows how to throw an exception if the argument to the + method is a negative number: + + mock.Protected() + .Setup("GetUser", ItExpr.Is<int>(i => i < 0)) + .Throws(new ArgumentException()); + + + + + + Matches any value that is in the range specified. + + Type of the argument to check. + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + + The following example shows how to expect a method call + with an integer argument within the 0..100 range. + + mock.Protected() + .Setup("HasInventory", + ItExpr.IsAny<string>(), + ItExpr.IsInRange(0, 100, Range.Inclusive)) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+")) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression, in a case insensitive way: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+", RegexOptions.IgnoreCase)) + .Returns(1); + + + + + + used to replace occurrences of `TAnalog.Member` sub-expressions with `T.Member`. + + + + + Enables the Protected() method on , + allowing setups to be set for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Enable protected setups for the mock. + + Mocked object type. Typically omitted as it can be inferred from the mock instance. + The mock to set the protected setups on. + + + + Kind of range to use in a filter specified through + . + + + + + The range includes the to and + from values. + + + + + The range does not include the to and + from values. + + + + + Defines async extension methods on IReturns. + + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the task return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the valuetask return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Defines async extension methods on IReturns. + + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Programmable setup used by . + + + + + Verifies this setup and those of its inner mock (if present and known). + + + Specifies whether recursive verification should be performed. + + + Specifies which setups should be verified. + + + The set of mocks that have already been verified. + + + This setup or any of its inner mock (if present and known) failed verification. + + + + + Represents a switch, or a combination of switches, that can be either enabled or disabled. + When set via or , they determine how a mock will operate. + + + + + The default set of switches. The switches covered by this enumeration value may change between different versions of Moq. + + + + + When enabled, specifies that source file information should be collected for each setup. + This results in more helpful error messages, but may affect performance. + + + + + Defines the number of invocations allowed by a mocked method. + + + + Deconstructs this instance. + This output parameter will receive the minimum required number of calls satisfying this instance (i.e. the lower inclusive bound). + This output parameter will receive the maximum allowed number of calls satisfying this instance (i.e. the upper inclusive bound). + + + + Specifies that a mocked method should be invoked times + as minimum. + + The minimum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as minimum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked times + as maximum. + + The maximum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as maximum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked between + and times. + + The minimum number of times. + The maximum number of times. + The kind of range. See . + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly + times. + + The times that a method or property can be called. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should not be invoked. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly one time. + + An object defining the allowed number of invocations. + + + + Returns a value indicating whether this instance is equal to a specified value. + + A value to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a value indicating whether this instance is equal to a specified value. + + An object to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms + and data structures like a hash table. + + + + + Determines whether two specified objects have the same value. + + The first . + The second . + + if has the same value as ; + otherwise, . + + + + + Determines whether two specified objects have different values. + + The first . + The second . + + if the value of is different from + 's; otherwise, . + + + + + + + + Checks whether the specified number of invocations matches the constraint described by this instance. + + The number of invocations to check. + + if matches the constraint described by this instance; + otherwise, . + + + + + Marks a type as a type matcher, optionally specifying another type that will perform the matching. + + Type matchers preferably implement themselves. Use the parameterized form of this attribute + where this is not possible, such as when the type matcher needs to be a or + type in order to satisfy generic type constraints of the method where it is used. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed implements itself. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed does not implement . + The specified type will instead provide the implementation of . + + + The of a type that implements . + + + + Interface that is used to build fluent interfaces by hiding methods declared by from IntelliSense. + + + Code that consumes implementations of this interface should expect one of two things: + + When referencing the interface from within the same solution (project reference), you will still see the methods this interface is meant to hide. + When referencing the interface through the compiled output assembly (external reference), the standard Object methods will be hidden as intended. + When using Resharper, be sure to configure it to respect the attribute: Options, go to Environment | IntelliSense | Completion Appearance and check "Filter members by [EditorBrowsable] attribute". + + See https://kzu.github.io/IFluentInterface for more information. + + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Contains the two extension methods + and + . + + + + + Appends a string representation of the specified type to this instance. + + The instance to which to append. + The of which a string representation should be appended. + Any combination of formatting options that should be applied. (Optional.) + A reference to this instance after the append operation has completed. + + + + Gets a string representation of this instance. + + The of which a string representation is requested. + Any combination of formatting options that should be applied. (Optional.) + A string representation of this instance. + + + + Replacement for + which may be slow or even unavailable on earlier target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + An enumeration of available options when a name's string representation is requested. + + + + + The default type name formatting options. + + + + + Specifies that a type's namespace should be included. + + For example, the type is formatted as "Action" by default. + When this flag is specified, it will be formatted as "System.Action". + + + + + + Specifies that anonymous types should not be transformed to C#-like syntax. + + For example, the anonymous type of "new { Name = "Blob", Count = 17 }" is formatted as + "{string Name, int Count}" by default. When this flag is specified, it will be formatted as + the raw "display class" name, which looks something like "<>f__AnonymousType5<string, int>". + + + + + + Specifies that an open generic type's parameter names should be omitted. + + For example, the open generic type is formatted as "IEquatable<T>" by default. + When this flag is specified, it will be formatted as "IEquatable<>". + + + + + + Specifies that primitive types should not be mapped to their corresponding C# language keywords. + + For example, the type is formatted as "int" by default. + When this flag is specified, it will be formatted as "Int32". + + + + + + Specifies that nullable types should not be simplified to C# question mark syntax. + + For example, the type of is formatted as "int?" by default. + When this flag is specified, it will be formatted as "Nullable<int>". + + + + + + Specifies that value tuple types should not be transformed to C# tuple syntax. + + For example, the type of , + is formatted as "(bool, int)" by default. When this flag is specified, + it will be formatted as "ValueTuple<bool, int>". + + + + + diff --git a/packages/Moq.4.20.70/lib/netstandard2.1/Moq.dll b/packages/Moq.4.20.70/lib/netstandard2.1/Moq.dll new file mode 100644 index 000000000..15fe7ebca Binary files /dev/null and b/packages/Moq.4.20.70/lib/netstandard2.1/Moq.dll differ diff --git a/packages/Moq.4.20.70/lib/netstandard2.1/Moq.xml b/packages/Moq.4.20.70/lib/netstandard2.1/Moq.xml new file mode 100644 index 000000000..455eb92a7 --- /dev/null +++ b/packages/Moq.4.20.70/lib/netstandard2.1/Moq.xml @@ -0,0 +1,8555 @@ + + + + Moq + + + + + is a kind of that works by + applying a delegate to a light-weight proxy that records the invocation + happening to it, and auto-generates the same kind of recording proxy for its return value. + That way, a chain of invocation records is generated from which a LINQ expression tree can be + reconstructed. + + + + + Recursively gets the result of (i.e. "unwraps") completed awaitables + until a value is found that isn't a successfully completed awaitable. + + + As an example, given := Task.FromResult(Task.FromResult(42)), + this method will return 42. + + The (possibly awaitable) object to be "unwrapped". + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that do not produce a result when awaited. + + + + + Abstract base class that facilitates type-safe implementation of + for awaitables that produce a result when awaited. + + + + + Allows to create parameter captures in setup expressions. + + + + + Creates a parameter capture that will store values in a collection. + + The captured object type + The collection that will store captured parameter values + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture that will store specific values in a collection. + + The captured object type + The collection that will store captured parameter values + A predicate used to filter captured parameters + + Arrange code: + + var parameters = new List{string}(); + mock.Setup(x => x.DoSomething(Capture.In(parameters, p => p.StartsWith("W")))); + + Assert code: + + Assert.Equal("Hello!", parameters.Single()); + + + + + + Creates a parameter capture using specified . + + The captured object type + + Arrange code: + + var capturedValue = string.Empty; + var match = new CaptureMatch{string}(x => capturedValue = x); + mock.Setup(x => x.DoSomething(Capture.With(match))); + + Assert code: + + Assert.Equal("Hello!", capturedValue); + + + + + + Allows creation custom matchers that can be used on setups to capture parameter values. + + + + + + Initializes an instance of the capture match. + + An action to run on captured value + + + + Initializes an instance of the capture match. + + An action to run on captured value + A predicate used to filter captured parameters + + + + Determines the way default values are generated + calculated for loose mocks. + + + + + Default behavior, which generates empty values for + value types (i.e. default(int)), empty array and + enumerables, and nulls for all other reference types. + + + + + Whenever the default value generated by + is null, replaces this value with a mock (if the type + can be mocked). + + + For sealed classes, a null value will be generated. + + + + + + All default value generation strategies other than or + are represented by this enumeration value. + + + Do not set (nor ) to this value. + If you want to set up a custom default value generation strategy, set + or instead. + + + + + + + + is the abstract base class for default value providers. + These are responsible for producing e. g. return values when mock methods or properties get invoked unexpectedly. + In other words, whenever there is no setup that would determine the return value for a particular invocation, + Moq asks the mock's default value provider to produce a return value. + + + + + Gets the corresponding to ; + that is, a default value provider returning "empty" values e. g. for collection types. + + + + + Gets the corresponding to ; + that is, a default value provider returning mocked objects or "empty" values for unmockable types. + + + + + Initializes a new instance of the class. + + + + + Gets the enumeration value that corresponds to this default value provider. + Must be overridden by Moq's internal providers that have their own corresponding . + + + + + Produces a default value of the specified type. + Must be overridden in derived classes. + + The of the requested default value. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default argument value for the specified method parameter. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method parameter for which a default argument value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + + Produces a default return value for the specified method. + May be overridden in derived classes. + + + By default, this method will delegate to . + + + The describing the method for which a default return value should be produced. + The on which an unexpected invocation has occurred. + + Implementations may assume that all parameters have valid, non-, non- values. + + + + + A that returns an empty default value + for invocations that do not have setups or return values, with loose mocks. + This is the default behavior for a mock. + + + + + Provides partial evaluation of subtrees, whenever they can be evaluated locally. + + Matt Warren: http://blogs.msdn.com/mattwar + Documented by InSTEDD: http://www.instedd.org + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A function that decides whether a given expression + node can be part of the local function. + A new tree with sub-trees evaluated and replaced. + + + + Performs evaluation and replacement of independent sub-trees + + The root of the expression tree. + A new tree with sub-trees evaluated and replaced. + + + + Evaluates and replaces sub-trees when first candidate is reached (top-down) + + + + + Performs bottom-up analysis to determine which nodes can possibly + be part of an evaluated sub-tree. + + + + + Represents a set (or the "shape") of invocations + against which concrete s can be matched. + + + + + An compiles LINQ expression trees () to delegates. + Whenever Moq needs to compile an expression tree, it uses the instance set up by . + + + + + The default instance, which simply delegates to the framework's . + + + + + Gets or sets the instance that Moq uses to compile (LINQ expression trees). + Defaults to . + + + + + Initializes a new instance of the class. + + + + + Compiles the specified LINQ expression tree. + + The LINQ expression tree that should be compiled. + + + + Compiles the specified LINQ expression tree. + + The type of delegate to which the expression will be compiled. + The LINQ expression tree that should be compiled. + + + + Wraps this in a node if needed. + + The which should be wrapped. + The with which to make the compatible. + + LINQ expression trees generally enforce type compatibility rules that are stricter than + the assignment-compatibility used by e.g. . For + example, while is assignable-to , you + will need a conversion in a LINQ expression tree to model the value-type boxing operation. + + + + + Checks whether the given expression can be split by . + + + + + Splits an expression such as `m => m.A.B(x).C[y] = z` into a chain of parts + that can be set up one at a time: + + `m => m.A`, + `... => ....B(x)`, + `... => ....C`, + `... => ...[y] = z`. + + + The split points are chosen such that each part has exactly one associated + and optionally some argument expressions. + + + + It was not possible to completely split up the expression. + + + + + Converts the body of the lambda expression into the referenced by it. + + + + + Checks whether the body of the lambda expression is a property access. + + + + + Checks whether the body of the lambda expression is a indexer access. + + + + + TODO: remove this code when https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=331583 + is fixed. + + + + + Applies the specified to this expression tree. + + The to which should be applied. + The that should be applied to . + + + + A reconstructs LINQ expression trees () + from delegates. It is the counterpart to . + + + + + Reconstructs a from the given delegate. + + The delegate for which to reconstruct a LINQ expression tree. + Arguments to pass to a parameterized constructor of . (Optional.) + + + + Extracts the arguments from a lambda expression that calls a constructor. + + The constructor expression. + Extracted argument values. + + + + Evaluates variables that have been closed over by a lambda function. + + + + + Replaces nodes for property or indexer accessor methods + with equivalent nodes. + + + + In the case of getter accessors such as `x.get_Property()`, the result will be + a single node: `x.Property`. + + + In the case of setter accessors such as `x.set_Property(y)`, the result will be + a combination of and : + `x.Property = y`. + + + + + + + + Gets the default value for the specified type. This is the Reflection counterpart of C#'s operator. + + + + + Gets the least-derived in the given type that provides + the implementation for the given . + + + + + Gets whether the given is a delegate type. + + + + + Visits all constituent parts of , replacing all type matchers + that match the type argument at the corresponding position in . + + The type to be matched. May be, or contain, type matchers. + The type argument to match against . + + + + Ensures the given is not null. + Throws otherwise. + + + + + Ensures the given string is not null or empty. + Throws in the first case, or + in the latter. + + + + + Provides information about an invocation of a mock object. + + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + + + Gets the setup that matched this invocation (or if there was no matching setup). + + + + + Gets whether this invocation was successfully verified by any of the various `Verify` methods. + + + + + The value being returned for a non-void method if no exception was thrown. + + + + + Optional exception if the method invocation results in an exception being thrown. + + + + + A list of invocations which have been performed on a mock. + + + + + Resets all invocations recorded for this mock. + + + + + Covariant interface for such that casts between IMock<Employee> to IMock<Person> + are possible. Only covers the covariant members of . + + + + + Exposes the mocked object instance. + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + Implemented by all generated mock object instances. + + + + + Reference the Mock that contains this as the mock.Object value. + + + + + An implementation of that is based on Castle DynamicProxy. + + + + + + + + Attempts to find the most specific override for the given method + in the type chains (base class, interfaces) of the given . + + + + + Performs a non-virtual (non-polymorphic) call to the given + using the specified object and . + + + + + This hook tells Castle DynamicProxy to proxy the default methods it suggests, + plus some of the methods defined by , e.g. so we can intercept + and give mocks useful default names. + + + + + This role interface represents a 's ability to intercept method invocations for its . + It is meant for use by . + + + + Do not use. (Moq requires this class so that methods can be set up on interface mocks.) + + + + + + + + + + + + Do not use. (Moq requires this interface so that methods can be set up on interface mocks.) + + + + + + + Base class for mocks and static helper class with methods that apply to mocked objects, + such as to retrieve a from an object instance. + + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the specification of how the mocked object should behave. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Initializes a new instance of the class. + + + + + Retrieves the mock object for the given object instance. + + The instance of the mocked object. + + Type of the mock to retrieve. + Can be omitted as it's inferred from the object instance passed in as the instance. + + The mock associated with the mocked object. + The received instance was not created by Moq. + + The following example shows how to add a new setup to an object instance + which is not the original but rather the object associated with it: + + // Typed instance, not the mock, is retrieved from some test API. + HttpContextBase context = GetMockContext(); + + // context.Request is the typed object from the "real" API + // so in order to add a setup to it, we need to get + // the mock that "owns" it + Mock<HttpRequestBase> request = Mock.Get(context.Request); + + request.Setup(req => req.AppRelativeCurrentExecutionFilePath) + .Returns(tempUrl); + + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + + + Gets the interfaces additionally implemented by the mock object. + + + This list may be modified by calls to up until the first call to . + + + + + Behavior of the mock, according to the value set in the constructor. + + + + + Whether the base member virtual implementation will be called for mocked classes if no setup is matched. + Defaults to . + + + + + Specifies the behavior to use when returning default values for unexpected invocations on loose mocks. + + + + + Gets the mocked object instance. + + + + + Gets the interfaces directly inherited from the mocked type (). + + + + + Gets list of invocations which have been performed on this mock. + + + + + Returns the mocked object value. + + + + + Retrieves the type of the mocked object, its generic type argument. + This is used in the auto-mocking of hierarchy access. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the setups that have been configured on this mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Verifies that all verifiable expectations have been met. + + Not all verifiable expectations were met. + + This example sets up an expectation and marks it as verifiable. + After the mock is used, a Verify() call is issued on the mock + to ensure the method in the setup was invoked: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true) + .Verifiable(); + + ... + + // Will throw if the test code did not call HasInventory. + this.Verify(); + + + + + + Verifies all expectations regardless of whether they have been flagged as verifiable. + + At least one expectation was not met. + + This example sets up an expectation without marking it as verifiable. + After the mock is used, a call is issued on the mock + to ensure that all expectations are met: + + var mock = new Mock<IWarehouse>(); + this.Setup(x => x.HasInventory(TALISKER, 50)) + .Returns(true); + + ... + + // Will throw if the test code did not call HasInventory, + // even though that expectation was not marked as verifiable. + mock.VerifyAll(); + + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + + + Defines the default return value for all mocked methods or properties with return type . + + The return type for which to define a default value. + The default return value. + + Default return value is respected only when there is no matching setup for a method call. + + + + + Gets the global instance used by Moq. + + + + + Initializes a new instance of the class. + + The of the concrete proxy object on which a method is being invoked. + The method being invoked. + The arguments with which the specified is being invoked. + + + + Gets the method of the invocation. + + + + + Gets the arguments of the invocation. + + + Arguments may be modified. Derived classes must ensure that by-reference parameters are written back + when the invocation is ended by a call to any of the three Returns methods. + + + + + Calls the method implementation + and returns its return value (or for methods). + + + + + + + + Internal type to mark invocation results as "exception occurred during execution". The type just + wraps the Exception so a thrown exception can be distinguished from an + return value. + + + + + A delegate-like type for use with `setup.Callback` which instructs the `Callback` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A delegate-like type for use with `setup.Returns` which instructs the `Returns` verb + to provide the callback with the current , instead of + with a list of arguments. + + This type is useful in scenarios involving generic type argument matchers (such as + ) as allows the discovery of both + arguments and type arguments. + + + + + + Initializes a new instance of the type. + + The delegate that should be wrapped by this instance. + + + + A setup configured on a mock. + + + + + + The setup expression. + + + + + Gets the inner mock of this setup (if present and known). + + An "inner mock" is the instance associated with a setup's return value, + if that setup is configured to return a mock object. + + + This property will be if a setup either does not return a mock object, + or if Moq cannot safely determine its return value without risking any side effects. For instance, + Moq is able to inspect the return value if it is a constant (e.g. `.Returns(value)`); + if, on the other hand, it gets computed by a factory function (e.g. `.Returns(() => value)`), + Moq will not attempt to retrieve that value just to find the inner mock, + since calling a user-provided function could have effects beyond Moq's understanding and control. + + + + + + Gets whether this setup is conditional. + + + + + + Gets whether this setup was matched by at least one invocation on the mock. + + + + + Gets whether this setup has been overridden + (that is, whether it is being shadowed by a more recent non-conditional setup with an equal expression). + + + + + Gets whether this setup is "verifiable". + + + This property gets sets by the `.Verifiable()` setup verb. + + Note that setups can be verified even if this property is : + completely ignores this property. + , however, will only verify setups where this property is . + + + + + + Returns the instance to which this setup belongs. + + + + + Returns the original setup expression from which this setup resulted. + + For setups doing a simple member access or method invocation (such as `mock => mock.Member`), + this property will be equal to . + + + For setups whose expression involves member chaining (such as `parent => parent.Child.Member`), + Moq does not create a single setup, but one for each member access/invocation. + The example just given will result in two setups: + + a setup for `parent => parent.Child` on the parent mock; and + on its inner mock, a setup for `(child) => (child).Member`. + + These are the setups that will be put in the mocks' collections; + their will return the partial expression for just a single member access, + while their will return the original, full expression. + + + This property may also return if this setup was created automatically, + e.g. by or by . + + + + + + Verifies this setup and optionally all verifiable setups of its inner mock (if present and known). + + If is set to , + the semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification, + and will always be verified itself (even if not flagged as verifiable). + + + + Specifies whether recursive verification should be performed. + + + Verification failed due to one or more unmatched setups. + + + + + + + Verifies this setup and all setups of its inner mock (if present and known), + regardless of whether they have been flagged as verifiable. + + The semantics of this method are essentially the same as those of , + except that this setup (instead of a mock) is used as the starting point for verification. + + + + Verification failed due to one or more unmatched setups. + + + + + + + A list of setups that have been configured on a mock, + in chronological order (that is, oldest setup first, most recent setup last). + + + + + Allows the specification of a matching condition for an argument in a method invocation, + rather than a specific argument value. "It" refers to the argument being matched. + + + This class allows the setup to match a method invocation with an arbitrary value, + with a value in a specified range, or even one that matches a given predicate. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + Matches any value of the given type. + + Type of the value. + + Typically used when the actual argument value for a method call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Setup(x => x.Remove(It.IsAny<string>())).Throws(new InvalidOperationException()); + + + + + + A type matcher that matches any generic type argument. + + If the generic type parameter is constrained to (C#) / + (VB.NET), use instead. + + + If the generic type parameter has more specific constraints, + you can define your own type matcher inheriting from the type to which the type parameter is constrained. + See and . + + + + + + Matches any value of the given type, except null. + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + This example shows how to return the value 1 whenever the argument to + the Do method is an even number. + + mock.Setup(x => x.Do(It.Is<int>(i => i % 2 == 0))) + .Returns(1); + + + + This example shows how to throw an exception if the argument to the method + is a negative number: + + mock.Setup(x => x.GetUser(It.Is<int>(i => i < 0))) + .Throws(new ArgumentException()); + + + + + + Matches any value that satisfies the given predicate. + + Use this overload when you specify a type matcher for . + The callback you provide will then receive the actual parameter type + as well as the invocation argument. + + + The predicate used to match the method argument. + Type of the argument to check. + + Allows the specification of a predicate to perform matching of method call arguments. + + + + + Matches any value that equals the using the . + To use the default comparer for the specified object, specify the value inline, + i.e. mock.Verify(service => service.DoWork(value)). + + Use this overload when you specify a value and a comparer. + + + The value to match with. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is in the range specified. + + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + within the 0..100 range. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(values))) + .Returns(false); + + + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is present in the sequence specified. + + The sequence of possible values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with a value of 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsIn(1, 2, 3))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + with value not found from a list. + + var values = new List<int> { 1, 2, 3 }; + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(values))) + .Returns(false); + + + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + An with which the values should be compared. + Type of the argument to check. + + + + Matches any value that is not found in the sequence specified. + + The sequence of disallowed values. + Type of the argument to check. + + The following example shows how to expect a method call with an integer argument + of any value except 1, 2, or 3. + + mock.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsNotIn(1, 2, 3))) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+"))) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the string argument + matches the given regular expression, in a case insensitive way: + + mock.Setup(x => x.Check(It.IsRegex("[a-z]+", RegexOptions.IgnoreCase))) + .Returns(1); + + + + + + A type matcher that matches subtypes of , as well as itself. + + The type whose subtypes should match. + + + + A type matcher that matches any value type. + + + + + Types that implement this interface represent a criterion against which generic type arguments are matched. + + To be used in combination with . + + + + + + Matches the provided type argument against the criterion represented by this type matcher. + + + The generic type argument that should be matched. + + + if the provided type argument matched the criterion represented by this instance; + otherwise, . + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Implements the fluent API. + + + + + Defines the Callback verb and overloads. + + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + + Figure out the generic type argument used for a mocked method call: + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean + value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The argument type of the invoked method. + The callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback((string command) => Console.WriteLine(command)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb and overloads for callbacks on + setups that return a value. + + Mocked type. + Type of the return value of the setup. + + + + Specifies a callback to invoke when the method is called that receives the original . + + This overload is intended to be used in scenarios involving generic type argument matchers + (such as ). The callback will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Callback overloads as they provide + better static type safety. + + + + Figure out the generic type argument used for a mocked method call: + + mock.Setup(m => m.DoSomethingWith<It.IsAnyType>(...)) + .Callback(new InvocationAction(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + // do something interesting with the type argument + }); + mock.Object.DoSomethingWith<Something>(); + + + + + + Specifies a callback of any delegate type to invoke when the method is called. + This overload specifically allows you to define callbacks for methods with by-ref parameters. + By-ref parameters can be assigned to. + + The callback method to invoke. Must have return type void (C#) or be a Sub (VB.NET). + + Invokes the given callback with the concrete invocation argument value. You can modify + by-ref parameters inside the callback. + + delegate void ExecuteAction(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Callback(new ExecuteAction((ref Command command) => Console.WriteLine("Executing command..."))); + + + + + + Specifies a callback to invoke when the method is called. + + The callback method to invoke. + + The following example specifies a callback to set a boolean value that can be used later: + + var called = false; + mock.Setup(x => x.Execute()) + .Callback(() => called = true) + .Returns(true); + + Note that in the case of value-returning methods, after the Callback + call you can still specify the return value. + + + + + Specifies a callback to invoke when the method is called that receives the original arguments. + + The type of the argument of the invoked method. + Callback method to invoke. + + Invokes the given callback with the concrete invocation argument value. + + Notice how the specific string argument is retrieved by simply declaring + it as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Callback(command => Console.WriteLine(command)) + .Returns(true); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2) => Console.WriteLine(arg1 + arg2)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3) => Console.WriteLine(arg1 + arg2 + arg3)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4) => Console.WriteLine(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a callback to invoke when the method is called that receives the original + arguments. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The callback method to invoke. + A reference to interface. + + Invokes the given callback with the concrete invocation arguments values. + + Notice how the specific arguments are retrieved by simply declaring + them as part of the lambda expression for the callback: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Callback((arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16) => Console.WriteLine(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Callback verb for property getter setups. + + + Mocked type. + Type of the property. + + + + Specifies a callback to invoke when the property is retrieved. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupGet(x => x.Suspended) + .Callback(() => called = true) + .Returns(true); + + + + + + Defines the Callback verb for property setter setups. + + Type of the property. + + + + Specifies a callback to invoke when the property is set that receives the + property value being set. + + Callback method to invoke. + + Invokes the given callback with the property value being set. + + mock.SetupSet(x => x.Suspended) + .Callback((bool state) => Console.WriteLine(state)); + + + + + + Defines the CallBase verb. + + + + + Calls the real method of the object. + + + + + Defines the Raises verb. + + + + + Specifies the event that will be raised + when the setup is met. + + An expression that represents an event attach or detach action. + The event arguments to pass for the raised event. + + The following example shows how to raise an event when + the setup is met: + + var mock = new Mock<IContainer>(); + + mock.Setup(add => add.Add(It.IsAny<string>(), It.IsAny<object>())) + .Raises(add => add.Added += null, EventArgs.Empty); + + + + + + Specifies the event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + A function that will build the + to pass when raising the event. + + + + + Specifies the custom event that will be raised + when the setup is matched. + + An expression that represents an event attach or detach action. + The arguments to pass to the custom delegate (non EventHandler-compatible). + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + + + + + Specifies the event that will be raised when the setup is matched. + + The expression that represents an event attach or detach action. + The function that will build the + to pass when raising the event. + The type of the first argument received by the expected invocation. + The type of the second argument received by the expected invocation. + The type of the third argument received by the expected invocation. + The type of the fourth argument received by the expected invocation. + The type of the fifth argument received by the expected invocation. + The type of the sixth argument received by the expected invocation. + The type of the seventh argument received by the expected invocation. + The type of the eighth argument received by the expected invocation. + The type of the ninth argument received by the expected invocation. + The type of the tenth argument received by the expected invocation. + The type of the eleventh argument received by the expected invocation. + The type of the twelfth argument received by the expected invocation. + The type of the thirteenth argument received by the expected invocation. + The type of the fourteenth argument received by the expected invocation. + The type of the fifteenth argument received by the expected invocation. + The type of the sixteenth argument received by the expected invocation. + + + + + Defines the Returns verb. + + Mocked type. + Type of the return value from the expression. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the method call: + + mock.Setup(x => x.Execute("ping")) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return from the method. + + This overload is intended to be used in scenarios involving generic type argument matchers, + such as . The function will receive the current , + which allows discovery of both arguments and type arguments. + + + For all other use cases, you should prefer the other Returns overloads as they provide + better static type safety. + + + + Mock a method to act like a generic factory method: + + factory.Setup(m => m.Create<It.IsAnyType>()) + .Returns(new InvocationFunc(invocation => + { + var typeArgument = invocation.Method.GetGenericArguments()[0]; + return Activator.CreateInstance(typeArgument); + }); + var something = factory.Object.Create<Something>(); + + + + + + Specifies a function that will calculate the value to return from the method. + This overload specifically allows you to specify a function with by-ref parameters. + Those by-ref parameters can be assigned to (though you should probably do that from + a Callback instead). + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + delegate bool ExecuteFunc(ref Command command); + + Command c = ...; + mock.Setup(x => x.Execute(ref c)) + .Returns(new ExecuteFunc((ref Command command) => command.IsExecutable)); + + + + + + Specifies a function that will calculate the value to return from the method. + + The function that will calculate the return value. + + Return a calculated value when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + The function that will calculate the return value. + + Return a calculated value which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Returns((string command) => returnValues[command]); + + + + + + Calls the real method of the object and returns its return value. + + The value calculated by the real method of the object. + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2) => arg1 + arg2); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3) => arg1 + arg2 + arg3); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4) => arg1 + arg2 + arg3 + arg4); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5) => arg1 + arg2 + arg3 + arg4 + arg5); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15); + + + + + + Specifies a function that will calculate the value to return from the method, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + The function that will calculate the return value. + Returns a calculated value which is evaluated lazily at the time of the invocation. + + + The return value is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>(), + It.IsAny<int>())) + .Returns((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15, int arg16) => arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16); + + + + + + Defines the Returns verb for property get setups. + + Mocked type. + Type of the property. + + + + Specifies the value to return. + + The value to return, or . + + Return a true value from the property getter call: + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a function that will calculate the value to return for the property. + + The function that will calculate the return value. + + Return a calculated value when the property is retrieved: + + mock.SetupGet(x => x.Suspended) + .Returns(() => returnValues[0]); + + The lambda expression to retrieve the return value is lazy-executed, + meaning that its value may change depending on the moment the property + is retrieved and the value the returnValues array has at + that moment. + + + + + Calls the real property of the object and returns its return value. + + The value calculated by the real property of the object. + + + + Implements the fluent API. + + + + + The expectation will be considered only in the former condition. + + + + + + + The expectation will be considered only in the former condition. + + + + + + + + Setups the get. + + The type of the property. + The expression. + + + + + Setups the set. + + The type of the property. + The setter expression. + + + + + Setups the set. + + The setter expression. + + + + + Defines the Pass and Throws verbs for sequence setups + on void methods. + + + + + Configures the next call in the sequence to do nothing. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws<InvalidOperationException>(); + + + + + + Configures the next call in the sequence to throw an exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw an exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(new InvalidOperationException()); + + + + + + Configures the next call in the sequence to throw a calculated exception. + + + The following code configures the first call to Execute() + to do nothing, and the second call to throw a calculated exception. + + mock.SetupSequence(m => m.Execute()) + .Pass() + .Throws(() => new InvalidOperationException()); + + + + + + Language for ReturnSequence + + + + + Returns value + + + + + Uses delegate to get return value + + The function that will calculate the return value. + + + + Throws an exception + + + + + Throws an exception + + + + + Uses delegate to throws an exception + + + + + Calls original method + + + + + Defines the Throws verb. + + + + + Specifies the exception to throw when the method is invoked. + + Exception instance to throw. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws(new ArgumentException()); + + + + + + Specifies the type of exception to throw when the method is invoked. + + Type of exception to instantiate and throw when the setup is matched. + + This example shows how to throw an exception when the method is + invoked with an empty string argument: + + mock.Setup(x => x.Execute("")) + .Throws<ArgumentException>(); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + delegate Exception ExecuteFunc(string name); + + String s = ...; + mock.Setup(x => x.Execute(s)) + .Throws(new ExecuteFunc((string s) => new Exception(s))); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked. + + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception when the method is called: + + mock.Setup(x => x.Execute("ping")) + .Throws(() => new Exception($"bad {returnValues[0]}")); + + The lambda expression to retrieve the exception is lazy-executed, + meaning that its exception may change depending on the moment the method + is executed and the value the returnValues array has at + that moment. + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + Throw a calculated exception which is evaluated lazily at the time of the invocation. + + The lookup list can change between invocations and the setup + will return different values accordingly. Also, notice how the specific + string argument is retrieved by simply declaring it as part of the lambda + expression: + + + mock.Setup(x => x.Execute(It.IsAny<string>())) + .Throws((string command) => new Exception(command)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2) => new Exception(arg1 + arg2)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3) => new Exception(arg1 + arg2 + arg3)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4) => new Exception(arg1 + arg2 + arg3 + arg4)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15)); + + + + + + Specifies a function that will calculate the exception to throw when the method is invoked, + retrieving the arguments for the invocation. + + The type of the first argument of the invoked method. + The type of the second argument of the invoked method. + The type of the third argument of the invoked method. + The type of the fourth argument of the invoked method. + The type of the fifth argument of the invoked method. + The type of the sixth argument of the invoked method. + The type of the seventh argument of the invoked method. + The type of the eighth argument of the invoked method. + The type of the ninth argument of the invoked method. + The type of the tenth argument of the invoked method. + The type of the eleventh argument of the invoked method. + The type of the twelfth argument of the invoked method. + The type of the thirteenth argument of the invoked method. + The type of the fourteenth argument of the invoked method. + The type of the fifteenth argument of the invoked method. + The type of the sixteenth argument of the invoked method. + Type of exception that will be calculated and thrown when the setup is matched. + The function that will calculate the exception to be thrown. + + + The thrown exception is calculated from the value of the actual method invocation arguments. + Notice how the arguments are retrieved by simply declaring them as part of the lambda + expression: + + + mock.Setup(x => x.Execute( + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>(), + It.IsAny<string>())) + .Throws((string arg1, string arg2, string arg3, string arg4, string arg5, string arg6, string arg7, string arg8, string arg9, string arg10, string arg11, string arg12, string arg13, string arg14, string arg15, string arg16) => new Exception(arg1 + arg2 + arg3 + arg4 + arg5 + arg6 + arg7 + arg8 + arg9 + arg10 + arg11 + arg12 + arg13 + arg14 + arg15 + arg16)); + + + + + + Defines the Verifiable verb. + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable(); + + + + + + Marks the expectation as verifiable, meaning that a call + to will check if this particular + expectation was met, and specifies a message for failures. + + + The following example marks the expectation as verifiable: + + mock.Expect(x => x.Execute("ping")) + .Returns(true) + .Verifiable("Ping should be executed always!"); + + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Marks the setup as verifiable and specifies the number of expected calls + and a message for failures. + and will later verify + that the setup was called the correct number of times. + + + + + Defines occurrence members to constraint setups. + + + + + The expected invocation can happen at most once. + + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMostOnce(); + + + + + + The expected invocation can happen at most specified number of times. + + The number of times to accept calls. + + + var mock = new Mock<ICommand>(); + mock.Setup(foo => foo.Execute("ping")) + .AtMost( 5 ); + + + + + + A default implementation of IQueryable for use with QueryProvider + + + + + Converts a taken-apart binary expression such as `m.A.B` (==) `x` to + `Mocks.SetupReturns(Mock.Get(m), m' => m'.A.B, (object)x)`. + + Body of the expression to set up. + Return value to be configured for . + + + + Locates the root mock object in a setup expression (which is usually, but not always, a ), + stores a reference to it, and finally replaces it with a new . + + + + + Utility repository class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the repository constructor) and later verifying each + mock can become repetitive and tedious. + + This repository class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var repository = new MockRepository(MockBehavior.Strict); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + repository.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the repository + to create loose mocks and later verify only verifiable setups: + + var repository = new MockRepository(MockBehavior.Loose); + + var foo = repository.Create<IFoo>(); + var bar = repository.Create<IBar>(); + + // this setup will be verified when we verify the repository + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the repository + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + repository.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the repository with a + default strict behavior, overriding that default for a + specific mock: + + var repository = new MockRepository(MockBehavior.Strict); + + // this particular one we want loose + var foo = repository.Create<IFoo>(MockBehavior.Loose); + var bar = repository.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + repository.Verify(); + + + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + Behavior of the mock. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Initializes the repository with the given + for newly created mocks from the repository. + + The behavior to use for mocks created + using the repository method if not overridden + by using the overload. + + + + Allows querying the universe of mocks for those that behave + according to the LINQ query specification. + + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + Behavior of the mocks. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + The type of the mocked object to query. + + + + Access the universe of mocks of the given type, to retrieve those + that behave according to the LINQ query specification. + + The predicate with the setup expressions. + Behavior of the mocks. + The type of the mocked object to query. + + + + Creates a mock object of the indicated type. + + The type of the mocked object. + The mocked object created. + + + + Creates a mock object of the indicated type. + + The predicate with the setup expressions. + The type of the mocked object. + The mocked object created. + + + + Creates the mock query with the underlying queryable implementation. + + + + + Wraps the enumerator inside a queryable. + + + + + Method that is turned into the actual call from .Query{T}, to + transform the queryable query into a normal enumerable query. + This method is never used directly by consumers. + + + + + Abstract base class for default value providers that look up and delegate to value factory functions for the requested type(s). + If a request cannot be satisfied by any registered factory, the default value gets produced by a fallback strategy. + + + + Derived classes can register and deregister factory functions with and , + respectively. + + + The fallback value generation strategy is implemented by the overridable method. + + + This base class sets up factory functions for task types (, , + and ) that produce completed tasks containing default values. + If this behavior is not desired, derived classes may deregister those standard factory functions via . + + + + + + Initializes a new instance of the class. + + + + + Deregisters any factory function that might currently be registered for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the fallback strategy. + + The type(s) for which to remove any registered factory function. + + + + Registers a factory function for the given type(s). + Subsequent requests for values of the given type(s) will be handled by the specified function. + + + + The type(s) for which to register the given function. + + + All array types are represented by (). + Generic types are represented by their open generic type definition, e. g. (<>). + + + The factory function responsible for producing values for the given type. + + + + + + + + + + + + + Determines the default value for the given when no suitable factory is registered for it. + May be overridden in derived classes. + + The type of which to produce a value. + The on which an unexpected invocation has occurred. + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + + Argument matching is used to determine whether a concrete invocation in the mock + matches a given setup. This matching mechanism is fully extensible. + + + Creating a custom matcher is straightforward. You just need to create a method + that returns a value from a call to + with your matching condition and optional friendly render expression: + + public Order IsBigOrder() + { + return Match.Create<Order>( + o => o.GrandTotal >= 5000, + () => IsBigOrder()); // a friendly expression to render on failures + } + + This method can be used in any mock setup invocation: + + mock.Setup(m => m.Submit(IsBigOrder()) + .Throws<UnauthorizedAccessException>(); + + At runtime, Moq knows that the return value was a matcher and + evaluates your predicate with the actual value passed into your predicate. + + Another example might be a case where you want to match a lists of orders + that contains a particular one. You might create matcher like the following: + + + public static class Orders + { + public static IEnumerable<Order> Contains(Order order) + { + return Match.Create<IEnumerable<Order>>(orders => orders.Contains(order)); + } + } + + Now we can invoke this static method instead of an argument in an invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + + + + + Provided for the sole purpose of rendering the delegate passed to the + matcher constructor if no friendly render lambda is provided. + + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + + + Initializes the matcher with the condition that will be checked + in order to match invocation values. + + The condition to match against actual values. + + A lambda representation of the matcher, to be used when rendering error messages, + such as () => It.IsAny<string<(). + + + + + Initializes the matcher with the condition that will be checked in order to match invocation values. + + The predicate of this overload will not only be provided with a + method argument, but also with the associated parameter's type. This parameter type essentially + overrides in cases where the latter is a type matcher. Therefore, + use this method overload if you want your custom matcher to work together with type matchers. + + + + The condition to match against actual values. + + This function will be passed the invocation argument, as well as the type of the associated parameter. + + + + A lambda representation of the matcher. + + + + + Allows creating custom value matchers that can be used on setups and verification, + completely replacing the built-in class with your own + argument matching rules. + + Type of the value to match. + + + + + + + + + + + + + A per-thread observer that records invocations to matchers for later inspection. + + + + This component requires the active cooperation of the respective subsystem. + That is, invoked matchers call into if an + observer is active on the current thread. + + + + + + Returns the current timestamp. The next call will return a timestamp greater than this one, + allowing you to order invocations and matcher observations. + + + + + Adds the specified as an observation. + + + + + Checks whether at least one observation is available, + and if so, returns the last one. + + The observed matcher observed last. + + + + Matcher to treat static functions as matchers. + + mock.Setup(x => x.StringMethod(A.MagicString())); + + public static class A + { + [Matcher] + public static string MagicString() { return null; } + public static bool MagicString(string arg) + { + return arg == "magic"; + } + } + + Will succeed if: mock.Object.StringMethod("magic"); + and fail with any other call. + + + + + An that is bound to a single, specific method. + + has the general form + `mock => mock.Method(...arguments)`. Because the method and arguments are frequently needed, + they are cached in and + for faster access. + + + + + + Abstract base class for setups that target a single, specific method. + + + + + Options to customize the behavior of the mock. + + + + + Causes the mock to always throw + an exception for invocations that don't have a + corresponding setup. + + + + + Will never throw exceptions, returning default + values when necessary (null for reference types, + zero for value types or empty enumerables and arrays). + + + + + Default mock behavior, which equals . + + + + + A that returns an empty default value + for non-mockable types, and mocks for all other types (interfaces and + non-sealed classes) that can be mocked. + + + + + Exception thrown by mocks when they are not properly set up, + when setups are not matched, when verification fails, etc. + + + A distinct exception type is provided so that exceptions + thrown by a mock can be distinguished from other exceptions + that might be thrown in tests. + + Moq does not provide a richer hierarchy of exception types, as + tests typically should not catch or expect exceptions + from mocks. These are typically the result of changes + in the tested class or its collaborators' implementation, and + result in fixes in the mock setup so that they disappear and + allow the test to pass. + + + + + + Returns the exception to be thrown when a setup has been invoked an incorrect (unexpected) number of times. + + + + + Returns the exception to be thrown when finds no invocations (or the wrong number of invocations) that match the specified expectation. + + + + + Returns the exception to be thrown when a strict mock has no setup corresponding to the specified invocation. + + + + + Returns the exception to be thrown when a strict mock has no setup that provides a return value for the specified invocation. + + + + + Returns the exception to be thrown when a setup was not matched. + + + + + Returns an exception whose message is the concatenation of the given ' messages + and whose reason(s) is the combination of the given ' reason(s). + Used by when it finds one or more mocks with verification errors. + + + + + Returns the exception to be thrown when finds invocations that have not been verified. + + + + + Indicates whether this exception is a verification fault raised by Verify() + + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Supports the serialization infrastructure. + + Serialization information. + Streaming context. + + + + Provides additional methods on mocks. + + + + + Resets this mock's state. This includes its setups, configured default return values, registered event handlers, and all recorded invocations. + + The mock whose state should be reset. + + + + Resets all invocations recorded for this mock. + + The mock whose recorded invocations should be reset. + + + + Helper class to setup a full trace between many mocks + + + + + Initialize a trace setup + + + + + Allow sequence to be repeated + + + + + Contains extension methods that are related to . + + + + + Perform an expectation in the trace. + + + + + Provides a mock implementation of . + + Type to mock, which can be an interface, a class, or a delegate. + + Any interface type can be used for mocking, but for classes, only abstract and virtual members can be mocked. + + The behavior of the mock with regards to the setups and the actual calls is determined by the optional + that can be passed to the constructor. + + + + The following example shows establishing setups with specific values for method invocations: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + warehouse.Setup(w => w.HasInventory(TALISKER, 50)).Returns(true); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.True(order.IsFilled); + + + + The following example shows how to use the class + to specify conditions for arguments instead of specific values: + + // Arrange + var order = new Order(TALISKER, 50); + var warehouse = new Mock<IWarehouse>(); + + // shows how to expect a value within a range: + warehouse.Setup(x => x.HasInventory( + It.IsAny<string>(), + It.IsInRange(0, 100, Range.Inclusive))) + .Returns(false); + + // shows how to throw for unexpected calls. + warehouse.Setup(x => x.Remove( + It.IsAny<string>(), + It.IsAny<int>())) + .Throws(new InvalidOperationException()); + + // Act + order.Fill(warehouse.Object); + + // Assert + Assert.False(order.IsFilled); + + + + + + Ctor invoked by AsTInterface exclusively. + + + + + Initializes an instance of the mock with behavior. + + + + var mock = new Mock<IFormatProvider>(); + + + + + + Initializes an instance of the mock with behavior + and with the given constructor arguments for the class. (Only valid when is a class.) + + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance.This applies only for classes, not interfaces. + + + + var mock = new Mock<MyProvider>(someArgument, 25); + + + + + + Initializes an instance of the mock with the specified behavior. + + Behavior of the mock. + + + var mock = new Mock<IFormatProvider>(MockBehavior.Strict); + + + + + + Initializes an instance of the mock with a specific behavior + and with the given constructor arguments for the class. + + Behavior of the mock. + Optional constructor arguments if the mocked type is a class. + + The mock will try to find the best match constructor given the constructor arguments, + and invoke that to initialize the instance. This applies only to classes, not interfaces. + + + + + Initializes an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Lambda expression that creates an instance of . + Behavior of the mock. + + var mock = new Mock<MyProvider>(() => new MyProvider(someArgument, 25), MockBehavior.Loose); + + + + + + + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Exposes the mocked object instance. + + + + + Allows naming of your mocks, so they can be easily identified in error messages (e.g. from failed assertions). + + + + + Returns the name of the mock. + + + + + Returns the mocked object value. + + + + + A set of switches that influence how this mock will operate. + You can opt in or out of certain features via this property. + + + + + Adds an interface implementation to the mock, allowing setups to be specified for it. + + + This method can only be called before the first use of the mock property, + at which point the runtime type has already been generated and no more interfaces can be added to it. + + Also, must be an interface and not a class, + which must be specified when creating the mock instead. + + + Type of interface to cast the mock to. + The specified is not an interface. + + The mock type has already been generated by accessing the property. + + + The following example creates a mock for the main interface + and later adds to it to verify it's called by the consumer code: + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + // add IDisposable interface + var disposable = mock.As<IDisposable>(); + disposable.Setup(d => d.Dispose()) + .Verifiable(); + + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + var mock = new Mock<IProcessor>(); + mock.Setup(x => x.Execute("ping")); + + + + + + Specifies a setup on the mocked type for a call to a non- (value-returning) method. + + Lambda expression that specifies the method invocation. + Type of the return value. Typically omitted as it can be inferred from the expression. + + If more than one setup is specified for the same method or property, + the latest one wins and is the one that will be executed. + + + + mock.Setup(x => x.HasInventory("Talisker", 50)) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Lambda expression that specifies the property getter. + Type of the property. Typically omitted as it can be inferred from the expression. + + If more than one setup is set for the same property getter, + the latest one wins and is the one that will be executed. + + + + mock.SetupGet(x => x.Suspended) + .Returns(true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to an event add. + + Lambda expression that adds an event. + + If more than one setup is set for the same event add, + the latest one wins and is the one that will be executed. + + + + mock.SetupAdd(x => x.EventHandler += (s, e) => {}); + + + + + + Specifies a setup on the mocked type for a call to an event remove. + + Lambda expression that removes an event. + + If more than one setup is set for the same event remove, + the latest one wins and is the one that will be executed. + + + + mock.SetupRemove(x => x.EventHandler -= (s, e) => {}); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Property expression to stub. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value); + + After the SetupProperty call has been issued, setting and retrieving + the object value will behave as expected: + + IHaveValue v = mock.Object; + v.Value = 5; + Assert.Equal(5, v.Value); + + + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + This overload allows setting the initial value for the property. + (This is also known as "stubbing".) + + Property expression to stub. + Initial value for the property. + + Type of the property, inferred from the property expression (does not need to be specified). + + + If you have an interface with an int property Value, + you might stub it using the following straightforward call: + + var mock = new Mock<IHaveValue>(); + mock.SetupProperty(v => v.Value, 5); + + After the SetupProperty call has been issued, setting and retrieving the object value + will behave as expected: + + IHaveValue v = mock.Object; + Assert.Equal(5, v.Value); // Initial value was stored + + // New value set which changes the initial value + v.Value = 6; + Assert.Equal(6, v.Value); + + + + + + Specifies that the all properties on the mock should have "property behavior", + meaning that setting their value will cause them to be saved and later returned when the properties is requested. + (This is also known as "stubbing".) + The default value for each property will be the one generated as specified by the + property for the mock. + + + If the mock's is set to , + the mocked default values will also get all properties setup recursively. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Allows setting up a conditional setup. + Conditional setups are only matched by an invocation + when the specified condition evaluates to + at the time when the invocation occurs. + + + The condition that should be checked + when a setup is being matched against an invocation. + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IProcessor>(); + + ... // exercise mock + + // Will throw if the test code didn't call Execute with a "ping" string argument. + mock.Verify(proc => proc.Execute("ping")); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50)); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Expression to verify. + The number of times a method is expected to be called. + Type of return value from the expression. + + The invocation was not called the number of times specified by . + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + Type of return value from the expression. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given invocation with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't call HasInventory. + mock.Verify(warehouse => warehouse.HasInventory(TALISKER, 50), + "When filling orders, inventory has to be checked"); + + + + + + Verifies that a specific invocation matching the given expression was performed on the mock, + specifying a failure error message. + + Expression to verify. + The number of times a method is expected to be called. + Message to show if verification fails. + Type of return value from the expression. + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was retrieved from it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't retrieve the IsClosed property. + mock.VerifyGet(warehouse => warehouse.IsClosed); + + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + The invocation was not performed on the mock. + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was read on the mock, specifying a failure error message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + Type of the property to verify. Typically omitted as it can be inferred from the expression's return type. + + + The invocation was not called the number times specified by . + + + + + Verifies that a property was set on the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true); + + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given property was set on it: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed = true, + "Warehouse should always be closed after the action"); + + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was set on the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was subscribed to an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't subscribe to the OnClosed event. + mock.VerifyAdd(warehouse => warehouse.OnClosed += It.IsAny<EventHandler>()); + + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was added to the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + Expression to verify. + The invocation was not performed on the mock. + + This example assumes that the mock has been used, and later we want to verify + that a given event handler was removed from an event: + + var mock = new Mock<IWarehouse>(); + + ... // exercise mock + + // Will throw if the test code didn't unsubscribe from the OnClosed event. + mock.VerifyRemove(warehouse => warehouse.OnClose -= It.IsAny<EventHandler>()); + + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock. + + The number of times a method is expected to be called. + Expression to verify. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + Expression to verify. + Message to show if verification fails. + The invocation was not performed on the mock. + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that an event was removed from the mock, specifying a failure message. + + The number of times a method is expected to be called. + Expression to verify. + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that there were no calls other than those already verified. + + There was at least one invocation not previously verified. + + + + Raises the event referenced in using the given argument. + + + The argument is invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a + event: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.PropertyChanged -= null, new PropertyChangedEventArgs("Name")); + + + + This example shows how to invoke an event with a custom event arguments class + in a view that will cause its corresponding presenter to react by changing its state: + + var mockView = new Mock<IOrdersView>(); + var presenter = new OrdersPresenter(mockView.Object); + + // Check that the presenter has no selection by default + Assert.Null(presenter.SelectedOrder); + + // Raise the event with a specific arguments data + mockView.Raise(v => v.SelectionChanged += null, new OrderEventArgs { Order = new Order("moq", 500) }); + + // Now the presenter reacted to the event, and we have a selected order + Assert.NotNull(presenter.SelectedOrder); + Assert.Equal("moq", presenter.SelectedOrder.ProductName); + + + + + + Raises the event referenced in using the given argument for a non--typed event. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise a custom event that does not adhere + to the standard EventHandler: + + var mock = new Mock<IViewModel>(); + mock.Raise(x => x.MyEvent -= null, "Name", bool, 25); + + + + + + Raises the event referenced in using the given arguments + for an event with a Func<..., Task> or Func<..., ValueTask> signature. + The returned completes when all of the s / s + returned by the event handlers have completed. + + + The arguments are invalid for the target event invocation, + or the is not an event attach or detach expression. + + + The following example shows how to raise an event with async event handlers: + + interface IViewModel + { + event Func<InitializationData, Task> Initialized; + } + var mock = new Mock<IViewModel>(); + mock.Object.Initialized += async initializationData => ...; + await mock.RaiseAsync(x => x.Initialized += null, new InitializationData { ... }); + + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Marks a method as a matcher, which allows complete replacement + of the built-in class with your own argument + matching rules. + + + + This feature has been deprecated in favor of the new + and simpler . + + + + The argument matching is used to determine whether a concrete + invocation in the mock matches a given setup. This + matching mechanism is fully extensible. + + + There are two parts of a matcher: the compiler matcher + and the runtime matcher. + + + Compiler matcher + Used to satisfy the compiler requirements for the + argument. Needs to be a method optionally receiving any arguments + you might need for the matching, but with a return type that + matches that of the argument. + + Let's say I want to match a lists of orders that contains + a particular one. I might create a compiler matcher like the following: + + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + } + + Now we can invoke this static method instead of an argument in an + invocation: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + Note that the return value from the compiler matcher is irrelevant. + This method will never be called, and is just used to satisfy the + compiler and to signal Moq that this is not a method that we want + to be invoked at runtime. + + + + Runtime matcher + + The runtime matcher is the one that will actually perform evaluation + when the test is run, and is defined by convention to have the + same signature as the compiler matcher, but where the return + value is the first argument to the call, which contains the + object received by the actual invocation at runtime: + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + + At runtime, the mocked method will be invoked with a specific + list of orders. This value will be passed to this runtime + matcher as the first argument, while the second argument is the + one specified in the setup (x.Save(Orders.Contains(order))). + + The boolean returned determines whether the given argument has been + matched. If all arguments to the expected method are matched, then + the setup matches and is evaluated. + + + + + + Using this extensible infrastructure, you can easily replace the entire + set of matchers with your own. You can also avoid the + typical (and annoying) lengthy expressions that result when you have + multiple arguments that use generics. + + + The following is the complete example explained above: + + public static class Orders + { + [Matcher] + public static IEnumerable<Order> Contains(Order order) + { + return null; + } + + public static bool Contains(IEnumerable<Order> orders, Order order) + { + return orders.Contains(order); + } + } + + And the concrete test using this matcher: + + var order = new Order { ... }; + var mock = new Mock<IRepository<Order>>(); + + mock.Setup(x => x.Save(Orders.Contains(order))) + .Throws<ArgumentException>(); + + // use mock, invoke Save, and have the matcher filter. + + + + + + Contains obsolete API members as extension methods so that existing code continues to compile, + but new code doesn't see them. + + + + + Obsolete. + + + + + Obsolete. + + + + + Obsolete. + + + + + Utility factory class to use to construct multiple + mocks when consistent verification is + desired for all of them. + + + If multiple mocks will be created during a test, passing + the desired (if different than the + or the one + passed to the factory constructor) and later verifying each + mock can become repetitive and tedious. + + This factory class helps in that scenario by providing a + simplified creation of multiple mocks with a default + (unless overridden by calling + ) and posterior verification. + + + + The following is a straightforward example on how to + create and automatically verify strict mocks using a : + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // no need to call Verifiable() on the setup + // as we'll be validating all of them anyway. + foo.Setup(f => f.Do()); + bar.Setup(b => b.Redo()); + + // exercise the mocks here + + factory.VerifyAll(); + // At this point all setups are already checked + // and an optional MockException might be thrown. + // Note also that because the mocks are strict, any invocation + // that doesn't have a matching setup will also throw a MockException. + + The following examples shows how to setup the factory + to create loose mocks and later verify only verifiable setups: + + var factory = new MockFactory(MockBehavior.Loose); + + var foo = factory.Create<IFoo>(); + var bar = factory.Create<IBar>(); + + // this setup will be verified when we verify the factory + foo.Setup(f => f.Do()).Verifiable(); + + // this setup will NOT be verified + foo.Setup(f => f.Calculate()); + + // this setup will be verified when we verify the factory + bar.Setup(b => b.Redo()).Verifiable(); + + // exercise the mocks here + // note that because the mocks are Loose, members + // called in the interfaces for which no matching + // setups exist will NOT throw exceptions, + // and will rather return default values. + + factory.Verify(); + // At this point verifiable setups are already checked + // and an optional MockException might be thrown. + + The following examples shows how to setup the factory with a + default strict behavior, overriding that default for a + specific mock: + + var factory = new MockFactory(MockBehavior.Strict); + + // this particular one we want loose + var foo = factory.Create<IFoo>(MockBehavior.Loose); + var bar = factory.Create<IBar>(); + + // specify setups + + // exercise the mocks here + + factory.Verify(); + + + + + + + Initializes the factory with the given + for newly created mocks from the factory. + + The behavior to use for mocks created + using the factory method if not overridden + by using the overload. + + + + Gets the default of mocks created by this repository. + + + + + Whether the base member virtual implementation will be called + for mocked classes if no setup is matched. Defaults to . + + + + + Specifies the behavior to use when returning default values for + unexpected invocations on loose mocks. + + + + + Gets or sets the instance that will be used + e. g. to produce default return values for unexpected invocations. + + + + + Gets the mocks that have been created by this factory and + that will get verified together. + + + + + A set of switches that influence how mocks created by this factory will operate. + You can opt in or out of certain features via this property. + + + + + Creates a new mock with the default + specified at factory construction time. + + Type to mock. + A new . + + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(); + // use mock on tests + + factory.VerifyAll(); + + + + + + Creates a new mock with the default + specified at factory construction time and with the + the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Constructor arguments for mocked classes. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>("Foo", 25, true); + // use mock on tests + + factory.Verify(); + + + + + + Creates a new mock with the given . + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory: + + var factory = new MockFactory(MockBehavior.Strict); + + var foo = factory.Create<IFoo>(MockBehavior.Loose); + + + + + + Creates a new mock with the given + and with the given constructor arguments for the class. + + + The mock will try to find the best match constructor given the + constructor arguments, and invoke that to initialize the instance. + This applies only to classes, not interfaces. + + Type to mock. + Behavior to use for the mock, which overrides + the default behavior specified at factory construction time. + Constructor arguments for mocked classes. + A new . + + The following example shows how to create a mock with a different + behavior to that specified as the default for the factory, passing + constructor arguments: + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyBase>(MockBehavior.Strict, "Foo", 25, true); + + + + + + Creates an instance of the mock using the given constructor call including its + argument values and with a specific behavior. + + Type to mock. + Lambda expression that creates an instance of . + Behavior of the mock. + A new . + + + var factory = new MockFactory(MockBehavior.Default); + + var mock = factory.Create<MyClass>(() => new MyClass("Foo", 25, true), MockBehavior.Loose); + // use mock on tests + + factory.Verify(); + + + + + + Implements creation of a new mock within the factory. + + Type to mock. + The behavior for the new mock. + Optional arguments for the construction of the mock. + + + + Verifies all verifiable setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Verifies all setups on all mocks created by this factory. + + + One or more mocks had setups that were not satisfied. + + + + Calls on all mocks created by this factory. + + + One or more mocks had invocations that were not verified. + + + + Invokes for each mock + in , and accumulates the resulting + verification exceptions that might be + thrown from the action. + + The action to execute against + each mock. + + + + Provides additional methods on mocks. + + + Provided as extension methods as they confuse the compiler + with the overloads taking Action. + + + + + Specifies a setup on the mocked type for a call to + to a property setter, regardless of its value. + + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + Type of the property. Typically omitted as it can be inferred from the expression. + Type of the mock. + The target mock for the setup. + Lambda expression that specifies the property setter. + + + mock.SetupSet(x => x.Suspended); + + + + This method is not legacy, but must be on an extension method to avoid + confusing the compiler with the new Action syntax. + + + + + Verifies that a property has been set on the mock, regardless of its value. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + Expression to verify. + Message to show if verification fails. + The mock instance. + Mocked type. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Verifies that a property has been set on the mock, regardless + of the value but only the specified number of times, and specifying a failure + error message. + + + This example assumes that the mock has been used, + and later we want to verify that a given invocation + with specific parameters was performed: + + var mock = new Mock<IWarehouse>(); + // exercise mock + //... + // Will throw if the test code didn't set the IsClosed property. + mock.VerifySet(warehouse => warehouse.IsClosed); + + + The invocation was not performed on the mock. + The invocation was not call the times specified by + . + The mock instance. + Mocked type. + The number of times a method is allowed to be called. + Message to show if verification fails. + Expression to verify. + Type of the property to verify. Typically omitted as it can + be inferred from the expression's return type. + + + + Helper for sequencing return values in the same method. + + + + + Return a sequence of values, once per call. + + + + + Performs a sequence of actions, one per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Return a sequence of tasks, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Throws a sequence of exceptions, once per call. + + + + + Allocation-free adapter type for treating a `ParameterInfo[]` array like a `Type[]` array. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Mock type has already been initialized by accessing its Object property. Adding interfaces must be done before that.. + + + + + Looks up a localized string similar to Value cannot be an empty string.. + + + + + Looks up a localized string similar to Matcher '{0}' is unmatchable: An implicit conversion operator will convert arguments of type '{1}' to the parameter's type '{2}', which is assignment-incompatible.. + + + + + Looks up a localized string similar to Can only add interfaces to the mock.. + + + + + Looks up a localized string similar to CallBase cannot be used with Delegate mocks.. + + + + + Looks up a localized string similar to Can't set return value for void method {0}.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for delegate mocks.. + + + + + Looks up a localized string similar to Constructor arguments cannot be passed for interface mocks.. + + + + + Looks up a localized string similar to A matching constructor for the given arguments was not found on the mocked type.. + + + + + Looks up a localized string similar to Delays have to be greater than zero to ensure an async callback is used.. + + + + + Looks up a localized string similar to Expression {0} involves a field access, which is not supported. Use properties instead.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Callback" method only accepts "void" (C#) or "Sub" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with {0} parameter(s) cannot invoke callback with different number of parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with parameters ({0}) cannot invoke callback with parameters ({1}).. + + + + + Looks up a localized string similar to Invalid callback. Setup on method with return type '{0}' cannot invoke callback with return type '{1}'.. + + + + + Looks up a localized string similar to Cannot retrieve a mock with the given object type {0} as it's not the main type of the mock or any of its additional interfaces. + Please cast the argument to one of the supported types: {1}. + Remember that there's no generics covariance in the CLR, so your object must be one of these types in order for the call to succeed.. + + + + + Looks up a localized string similar to Invalid callback. This overload of the "Returns" method only accepts non-"void" (C#) or "Function" (VB.NET) delegates with parameter types matching those of the set up method.. + + + + + Looks up a localized string similar to The return type of the last member shown above is not mockable.. + + + + + Looks up a localized string similar to The equals ("==" or "=" in VB) and the conditional 'and' ("&&" or "AndAlso" in VB) operators are the only ones supported in the query specification expression. Unsupported expression: {0}. + + + + + Looks up a localized string similar to LINQ method '{0}' not supported.. + + + + + Looks up a localized string similar to Expression contains a call to a method which is not virtual (overridable in VB) or abstract. Unsupported expression: {0}. + + + + + Looks up a localized string similar to Could not determine the correct positions for all argument matchers ({0} in total) used in a call to this method: {1}. + This could be caused by an unrecognized type conversion, coercion, narrowing, or widening, and is most likely a bug in Moq. Please report your use case to the Moq team.. + + + + + Looks up a localized string similar to Member {0}.{1} does not exist.. + + + + + Looks up a localized string similar to Method {0}.{1} is public. Use strong-typed Expect overload instead: + mock.Setup(x => x.{1}()); + . + + + + + Looks up a localized string similar to No protected method {0}.{1} found whose signature is compatible with the provided arguments ({2}).. + + + + + Looks up a localized string similar to Cannot set up {0}.{1} because it is not accessible to the proxy generator used by Moq: + {2}. + + + + + Looks up a localized string similar to Minimum delay has to be lower than maximum delay.. + + + + + Looks up a localized string similar to {0} invocation failed with mock behavior {1}. + {2}. + + + + + Looks up a localized string similar to The next member after the last one shown above is non-virtual, sealed, or not visible to the proxy factory.. + + + + + Looks up a localized string similar to No constructor call could be found.. + + + + + Looks up a localized string similar to No invocations performed.. + + + + + Looks up a localized string similar to Expected invocation on the mock at least {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at least once, but was never performed: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most {1} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock at most once, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Exclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock between {0} and {1} times (Inclusive), but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock exactly {0} times, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock should never have been performed, but was {2} times: . + + + + + Looks up a localized string similar to Expected invocation on the mock once, but was {2} times: . + + + + + Looks up a localized string similar to All invocations on the mock must have a corresponding setup.. + + + + + Looks up a localized string similar to Object instance was not created by Moq.. + + + + + Looks up a localized string similar to Out expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Performed invocations:. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a getter.. + + + + + Looks up a localized string similar to Property {0}.{1} does not have a setter.. + + + + + Looks up a localized string similar to Type {0} does not have matching protected member: {1}. + + + + + Looks up a localized string similar to Ref expression must evaluate to a constant value.. + + + + + Looks up a localized string similar to Invocation needs to return a value and therefore must have a corresponding setup that provides it.. + + + + + Looks up a localized string similar to Expression is not an event add: {0}. + + + + + Looks up a localized string similar to Expression is not an event remove: {0}. + + + + + Looks up a localized string similar to Expression is not a property access: {0}. + + + + + Looks up a localized string similar to Expression is not a setter: {0}. + + + + + Looks up a localized string similar to Type {0} does not have a default (public parameterless) constructor.. + + + + + Looks up a localized string similar to Type matchers may not be used as the type for 'Callback' or 'Returns' parameters, because no argument will never have that precise type. Consider using type 'object' instead.. + + + + + Looks up a localized string similar to Type {0} does not implement required interface {1}. + + + + + Looks up a localized string similar to Type to mock ({0}) must be an interface, a delegate, or a non-sealed, non-static class.. + + + + + Looks up a localized string similar to To specify a setup for public property {0}.{1}, use the typed overloads, such as: + mock.Setup(x => x.{1}).Returns(value); + mock.SetupGet(x => x.{1}).Returns(value); //equivalent to previous one + mock.SetupSet(x => x.{1}).Callback(callbackDelegate); + . + + + + + Looks up a localized string similar to Unexpected translation of a member access: {0}. + + + + + Looks up a localized string similar to Unhandled binding type: {0}. + + + + + Looks up a localized string similar to Unhandled expression type: {0}. + + + + + Looks up a localized string similar to {0}: + This setup was not matched.. + + + + + Looks up a localized string similar to Unsupported expression: {0}. + + + + + Looks up a localized string similar to Unsupported expression: {0} + {1}. + + + + + Looks up a localized string similar to Extension methods (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Member {0} is not supported for protected mocking.. + + + + + Looks up a localized string similar to Non-overridable members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to Static members (here: {0}) may not be used in setup / verification expressions.. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following unverified invocations:. + + + + + Looks up a localized string similar to Use ItExpr.IsNull<TValue> rather than a null argument value, as it prevents proper method lookup.. + + + + + Looks up a localized string similar to It is impossible to call the provided strongly-typed predicate due to the use of a type matcher. Provide a weakly-typed predicate with two parameters (object, Type) instead.. + + + + + Looks up a localized string similar to {0}:. + + + + + Looks up a localized string similar to {0}: + This mock failed verification due to the following:. + + + + + Looks up a localized string similar to The mock repository failed verification due to the following:. + + + + + Allows setups to be specified for protected members (methods and properties) + seen through another type with corresponding members (that is, members + having identical signatures as the ones to be set up). + + Type of the mocked object. + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup on the mocked type for a call to a method. + + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a value-returning method. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + + Specifies a setup on the mocked type for a call to a property setter. + + The Lambda expression that sets a property to a value. + Type of the property. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + This overloads allows the use of a callback already typed for the property type. + + + + + mock.SetupSet<bool>(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property setter. + + Lambda expression that sets a property to a value. + + If more than one setup is set for the same property setter, + the latest one wins and is the one that will be executed. + + + + mock.SetupSet(x => x.Suspended = true); + + + + + + Specifies a setup on the mocked type for a call to a property getter. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property getter. + + + + Specifies that the given property should have "property behavior", + meaning that setting its value will cause it to be saved and later returned when the property is requested. + (This is also known as "stubbing".) + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the property. + Initial value for the property. + + + + Return a sequence of values, once per call. + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the expected method invocation. + + + + Performs a sequence of actions, one per call. + + Lambda expression that specifies the expected method invocation. + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a specific invocation matching the given expression was performed on the mock. + Use in conjunction with the default . + + Type of the return value. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Verifies that a property was set on the mock. + + Expression to verify. + + Number of times that the setter is expected to have occurred. + If omitted, assumed to be . + + Message to show if verification fails. + + The invocation was not called the number of times specified by . + + + + + Verifies that a property was read on the mock. + + Type of the property. Typically omitted as it can be inferred from the expression. + Lambda expression that specifies the method invocation. + + Number of times that the invocation is expected to have occurred. + If omitted, assumed to be . + + Message to include in the thrown if verification fails. + The specified invocation did not occur (or did not occur the specified number of times). + + + + Allows setups to be specified for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Set up protected members (methods and properties) seen through another type with identical member signatures. + + + Any type with members whose signatures are identical to the mock's protected members (except for their accessibility level). + + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for a void method invocation with the given + , optionally specifying arguments for the method call. + + The name of the void method to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Should the parameter types match exactly types that were provided + The return type of the method or property. + + + + Specifies a setup for an invocation on a property getter with the given + . + + The name of the property. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The name of the property. + The property value. If argument matchers are used, + remember to use rather than . + The type of the property. + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Performs a sequence of actions, one per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Return a sequence of values, once per call. + + Name of the method or property being set up. + An array of types to be substituted for the type parameters of the current generic method definition. + Determines whether the parameter types should exactly match the types provided. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + Return type of the method or property being set up. + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for a void method with the given , + optionally specifying arguments for the method call. Use in conjunction with the default + . + + The invocation was not call the times specified by + . + The name of the void method to be verified. + An array of types to be substituted for the type parameters of the current generic method definition. + The number of times a method is allowed to be called. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property or a non void method with the given + , optionally specifying arguments for the method call. + + The invocation was not call the times specified by + . + The name of the method or property to be invoked. + An array of types to be substituted for the type parameters of the current generic method definition. + Should the parameter types match exactly types that were provided + The optional arguments for the invocation. If argument matchers are used, + remember to use rather than . + The number of times a method is allowed to be called. + The type of return value from the expression. + + + + Specifies a verify for an invocation on a property getter with the given + . + The invocation was not call the times specified by + . + + The name of the property. + The number of times a method is allowed to be called. + The type of the property. + + + + Specifies a setup for an invocation on a property setter with the given + . + + The invocation was not call the times specified by + . + The name of the property. + The number of times a method is allowed to be called. + The property value. + The type of the property. If argument matchers are used, + remember to use rather than . + + + + Allows the specification of a matching condition for an + argument in a protected member setup, rather than a specific + argument value. "ItExpr" refers to the argument being matched. + + + Use this variant of argument matching instead of + for protected setups. + This class allows the setup to match a method invocation + with an arbitrary value, with a value in a specified range, or + even one that matches a given predicate, or null. + + + + + Contains matchers for (C#) / (VB.NET) parameters of type . + + The parameter type. + + + + Matches any value that is assignment-compatible with type . + + + + + + Matches a null value of the given type. + + + Required for protected mocks as the null value cannot be used + directly as it prevents proper method overload selection. + + + + // Throws an exception for a call to Remove with a null string value. + mock.Protected() + .Setup("Remove", ItExpr.IsNull<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value of the given type. + + + Typically used when the actual argument value for a method + call is not relevant. + + + + // Throws an exception for a call to Remove with any string value. + mock.Protected() + .Setup("Remove", ItExpr.IsAny<string>()) + .Throws(new InvalidOperationException()); + + + Type of the value. + + + + Matches any value that satisfies the given predicate. + + Type of the argument to check. + The predicate used to match the method argument. + + Allows the specification of a predicate to perform matching + of method call arguments. + + + This example shows how to return the value 1 whenever the argument to the + Do method is an even number. + + mock.Protected() + .Setup("Do", ItExpr.Is<int>(i => i % 2 == 0)) + .Returns(1); + + This example shows how to throw an exception if the argument to the + method is a negative number: + + mock.Protected() + .Setup("GetUser", ItExpr.Is<int>(i => i < 0)) + .Throws(new ArgumentException()); + + + + + + Matches any value that is in the range specified. + + Type of the argument to check. + The lower bound of the range. + The upper bound of the range. + The kind of range. See . + + The following example shows how to expect a method call + with an integer argument within the 0..100 range. + + mock.Protected() + .Setup("HasInventory", + ItExpr.IsAny<string>(), + ItExpr.IsInRange(0, 100, Range.Inclusive)) + .Returns(false); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+")) + .Returns(1); + + + + + + Matches a string argument if it matches the given regular expression pattern. + + The pattern to use to match the string argument value. + The options used to interpret the pattern. + + The following example shows how to expect a call to a method where the + string argument matches the given regular expression, in a case insensitive way: + + mock.Protected() + .Setup("Check", ItExpr.IsRegex("[a-z]+", RegexOptions.IgnoreCase)) + .Returns(1); + + + + + + used to replace occurrences of `TAnalog.Member` sub-expressions with `T.Member`. + + + + + Enables the Protected() method on , + allowing setups to be set for protected members by using their + name as a string, rather than strong-typing them which is not possible + due to their visibility. + + + + + Enable protected setups for the mock. + + Mocked object type. Typically omitted as it can be inferred from the mock instance. + The mock to set the protected setups on. + + + + Kind of range to use in a filter specified through + . + + + + + The range includes the to and + from values. + + + + + The range does not include the to and + from values. + + + + + Defines async extension methods on IReturns. + + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies the value to return from an asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The value to return, or . + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the task return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Returns verb which represents the mocked type and the valuetask return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Specifies the exception to throw when the asynchronous method is invoked. + + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + Exception instance to throw. + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the delayed return value of an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Allows to specify the exception thrown by an asynchronous method. + Use the argument to pass in (seeded) random generators used across your unit test. + + + + + Defines async extension methods on IReturns. + + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Type of the function parameter. + Mocked type. + Type of the return value. + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Specifies a function that will calculate the value to return from the asynchronous method. + + Returns verb which represents the mocked type and the task of return type + The function that will calculate the return value. + + + + Programmable setup used by . + + + + + Verifies this setup and those of its inner mock (if present and known). + + + Specifies whether recursive verification should be performed. + + + Specifies which setups should be verified. + + + The set of mocks that have already been verified. + + + This setup or any of its inner mock (if present and known) failed verification. + + + + + Represents a switch, or a combination of switches, that can be either enabled or disabled. + When set via or , they determine how a mock will operate. + + + + + The default set of switches. The switches covered by this enumeration value may change between different versions of Moq. + + + + + When enabled, specifies that source file information should be collected for each setup. + This results in more helpful error messages, but may affect performance. + + + + + Defines the number of invocations allowed by a mocked method. + + + + Deconstructs this instance. + This output parameter will receive the minimum required number of calls satisfying this instance (i.e. the lower inclusive bound). + This output parameter will receive the maximum allowed number of calls satisfying this instance (i.e. the upper inclusive bound). + + + + Specifies that a mocked method should be invoked times + as minimum. + + The minimum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as minimum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked times + as maximum. + + The maximum number of times. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked one time as maximum. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked between + and times. + + The minimum number of times. + The maximum number of times. + The kind of range. See . + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly + times. + + The times that a method or property can be called. + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should not be invoked. + + An object defining the allowed number of invocations. + + + + Specifies that a mocked method should be invoked exactly one time. + + An object defining the allowed number of invocations. + + + + Returns a value indicating whether this instance is equal to a specified value. + + A value to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a value indicating whether this instance is equal to a specified value. + + An object to compare to this instance. + + if has the same value as this instance; + otherwise, . + + + + + Returns a hash code for this instance. + + + A hash code for this instance, suitable for use in hashing algorithms + and data structures like a hash table. + + + + + Determines whether two specified objects have the same value. + + The first . + The second . + + if has the same value as ; + otherwise, . + + + + + Determines whether two specified objects have different values. + + The first . + The second . + + if the value of is different from + 's; otherwise, . + + + + + + + + Checks whether the specified number of invocations matches the constraint described by this instance. + + The number of invocations to check. + + if matches the constraint described by this instance; + otherwise, . + + + + + Marks a type as a type matcher, optionally specifying another type that will perform the matching. + + Type matchers preferably implement themselves. Use the parameterized form of this attribute + where this is not possible, such as when the type matcher needs to be a or + type in order to satisfy generic type constraints of the method where it is used. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed implements itself. + + + + + + Initializes a new instance of the class. + + Use this constructor overload if the type on which this attribute is placed does not implement . + The specified type will instead provide the implementation of . + + + The of a type that implements . + + + + Interface that is used to build fluent interfaces by hiding methods declared by from IntelliSense. + + + Code that consumes implementations of this interface should expect one of two things: + + When referencing the interface from within the same solution (project reference), you will still see the methods this interface is meant to hide. + When referencing the interface through the compiled output assembly (external reference), the standard Object methods will be hidden as intended. + When using Resharper, be sure to configure it to respect the attribute: Options, go to Environment | IntelliSense | Completion Appearance and check "Filter members by [EditorBrowsable] attribute". + + See https://kzu.github.io/IFluentInterface for more information. + + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Redeclaration that hides the method from IntelliSense. + + + + + Contains the two extension methods + and + . + + + + + Appends a string representation of the specified type to this instance. + + The instance to which to append. + The of which a string representation should be appended. + Any combination of formatting options that should be applied. (Optional.) + A reference to this instance after the append operation has completed. + + + + Gets a string representation of this instance. + + The of which a string representation is requested. + Any combination of formatting options that should be applied. (Optional.) + A string representation of this instance. + + + + Replacement for + which may be slow or even unavailable on earlier target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + Allows uniform reflection across all target frameworks. + + + + + An enumeration of available options when a name's string representation is requested. + + + + + The default type name formatting options. + + + + + Specifies that a type's namespace should be included. + + For example, the type is formatted as "Action" by default. + When this flag is specified, it will be formatted as "System.Action". + + + + + + Specifies that anonymous types should not be transformed to C#-like syntax. + + For example, the anonymous type of "new { Name = "Blob", Count = 17 }" is formatted as + "{string Name, int Count}" by default. When this flag is specified, it will be formatted as + the raw "display class" name, which looks something like "<>f__AnonymousType5<string, int>". + + + + + + Specifies that an open generic type's parameter names should be omitted. + + For example, the open generic type is formatted as "IEquatable<T>" by default. + When this flag is specified, it will be formatted as "IEquatable<>". + + + + + + Specifies that primitive types should not be mapped to their corresponding C# language keywords. + + For example, the type is formatted as "int" by default. + When this flag is specified, it will be formatted as "Int32". + + + + + + Specifies that nullable types should not be simplified to C# question mark syntax. + + For example, the type of is formatted as "int?" by default. + When this flag is specified, it will be formatted as "Nullable<int>". + + + + + + Specifies that value tuple types should not be transformed to C# tuple syntax. + + For example, the type of , + is formatted as "(bool, int)" by default. When this flag is specified, + it will be formatted as "ValueTuple<bool, int>". + + + + + diff --git a/packages/Moq.4.20.70/readme.md b/packages/Moq.4.20.70/readme.md new file mode 100644 index 000000000..3e6d49906 --- /dev/null +++ b/packages/Moq.4.20.70/readme.md @@ -0,0 +1,105 @@ + + +The most popular and friendly mocking library for .NET + +```csharp + var mock = new Mock(); + + // WOW! No record/replay weirdness?! :) + mock.Setup(library => library.DownloadExists("2.0.0.0")) + .Returns(true); + + // Use the Object property on the mock to get a reference to the object + // implementing ILoveThisLibrary, and then exercise it by calling + // methods on it + ILoveThisLibrary lovable = mock.Object; + bool download = lovable.DownloadExists("2.0.0.0"); + + // Verify that the given method was indeed called with the expected value at most once + mock.Verify(library => library.DownloadExists("2.0.0.0"), Times.AtMostOnce()); +``` + +Moq also is the first and only library so far to provide Linq to Mocks, so that the +same behavior above can be achieved much more succinctly: + +```csharp + ILoveThisLibrary lovable = Mock.Of(l => + l.DownloadExists("2.0.0.0") == true); + + // Exercise the instance returned by Mock.Of by calling methods on it... + bool download = lovable.DownloadExists("2.0.0.0"); + + // Simply assert the returned state: + Assert.True(download); + + // If you want to go beyond state testing and want to + // verify the mock interaction instead... + Mock.Get(lovable).Verify(library => library.DownloadExists("2.0.0.0")); +``` + +You can think of Linq to Mocks as "from the universe of mocks, give me one whose behavior +matches this expression". + +Check out the [Quickstart](https://github.com/moq/moq/wiki/Quickstart) for more examples! + + + + + + +# Sponsors + + +[![Clarius Org](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/clarius.png "Clarius Org")](https://github.com/clarius) +[![Kirill Osenkov](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KirillOsenkov.png "Kirill Osenkov")](https://github.com/KirillOsenkov) +[![MFB Technologies, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MFB-Technologies-Inc.png "MFB Technologies, Inc.")](https://github.com/MFB-Technologies-Inc) +[![Stephen Shaw](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/decriptor.png "Stephen Shaw")](https://github.com/decriptor) +[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh) +[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet) +[![Daniel Gnägi](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dgnaegi.png "Daniel Gnägi")](https://github.com/dgnaegi) +[![Ashley Medway](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/AshleyMedway.png "Ashley Medway")](https://github.com/AshleyMedway) +[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon) +[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon) +[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis) +[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel) +[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi) +[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET) +[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel) +[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz) +[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee) +[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99) +[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1) +[![Norman Mackay](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/mackayn.png "Norman Mackay")](https://github.com/mackayn) +[![Certify The Web](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/certifytheweb.png "Certify The Web")](https://github.com/certifytheweb) +[![Rich Lee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/richlee.png "Rich Lee")](https://github.com/richlee) +[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/nietras.png "")](https://github.com/nietras) +[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies) +[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni) +[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey) +[![Oleg Kyrylchuk](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/okyrylchuk.png "Oleg Kyrylchuk")](https://github.com/okyrylchuk) +[![Mariusz Kogut](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MariuszKogut.png "Mariusz Kogut")](https://github.com/MariuszKogut) +[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png "Charley Wu")](https://github.com/akunzai) +[![Jakob Tikjøb Andersen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png "Jakob Tikjøb Andersen")](https://github.com/jakobt) +[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander) +[![Tino Hager](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png "Tino Hager")](https://github.com/tinohager) +[![Mark Seemann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png "Mark Seemann")](https://github.com/ploeh) +[![Angelo Belchior](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/angelobelchior.png "Angelo Belchior")](https://github.com/angelobelchior) +[![Blauhaus Technology (Pty) Ltd](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/BlauhausTechnology.png "Blauhaus Technology (Pty) Ltd")](https://github.com/BlauhausTechnology) +[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png "Ken Bonny")](https://github.com/KenBonny) +[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png "Simon Cropp")](https://github.com/SimonCropp) +[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png "agileworks-eu")](https://github.com/agileworks-eu) +[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "")](https://github.com/sorahex) +[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly) + + + + +[![Sponsor this project](https://raw.githubusercontent.com/devlooped/sponsors/main/sponsor.png "Sponsor this project")](https://github.com/sponsors/devlooped) +  + +[Learn more about GitHub Sponsors](https://github.com/sponsors) + + + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/.signature.p7s b/packages/System.Buffers.4.5.1/.signature.p7s new file mode 100644 index 000000000..1bf2285c3 Binary files /dev/null and b/packages/System.Buffers.4.5.1/.signature.p7s differ diff --git a/packages/System.Buffers.4.5.1/LICENSE.TXT b/packages/System.Buffers.4.5.1/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.Buffers.4.5.1/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.Buffers.4.5.1/System.Buffers.4.5.1.nupkg b/packages/System.Buffers.4.5.1/System.Buffers.4.5.1.nupkg new file mode 100644 index 000000000..f7ee6b2d7 Binary files /dev/null and b/packages/System.Buffers.4.5.1/System.Buffers.4.5.1.nupkg differ diff --git a/packages/System.Buffers.4.5.1/THIRD-PARTY-NOTICES.TXT b/packages/System.Buffers.4.5.1/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..db542ca24 --- /dev/null +++ b/packages/System.Buffers.4.5.1/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,309 @@ +.NET Core uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Core software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +http://www.unicode.org/copyright.html#License + +Copyright © 1991-2017 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + diff --git a/packages/System.Buffers.4.5.1/lib/net461/System.Buffers.dll b/packages/System.Buffers.4.5.1/lib/net461/System.Buffers.dll new file mode 100644 index 000000000..f2d83c514 Binary files /dev/null and b/packages/System.Buffers.4.5.1/lib/net461/System.Buffers.dll differ diff --git a/packages/System.Buffers.4.5.1/lib/net461/System.Buffers.xml b/packages/System.Buffers.4.5.1/lib/net461/System.Buffers.xml new file mode 100644 index 000000000..e243dcef9 --- /dev/null +++ b/packages/System.Buffers.4.5.1/lib/net461/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/lib/netcoreapp2.0/_._ b/packages/System.Buffers.4.5.1/lib/netcoreapp2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Buffers.4.5.1/lib/netstandard1.1/System.Buffers.dll b/packages/System.Buffers.4.5.1/lib/netstandard1.1/System.Buffers.dll new file mode 100644 index 000000000..14e5c532c Binary files /dev/null and b/packages/System.Buffers.4.5.1/lib/netstandard1.1/System.Buffers.dll differ diff --git a/packages/System.Buffers.4.5.1/lib/netstandard1.1/System.Buffers.xml b/packages/System.Buffers.4.5.1/lib/netstandard1.1/System.Buffers.xml new file mode 100644 index 000000000..e243dcef9 --- /dev/null +++ b/packages/System.Buffers.4.5.1/lib/netstandard1.1/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/lib/netstandard2.0/System.Buffers.dll b/packages/System.Buffers.4.5.1/lib/netstandard2.0/System.Buffers.dll new file mode 100644 index 000000000..c0970c078 Binary files /dev/null and b/packages/System.Buffers.4.5.1/lib/netstandard2.0/System.Buffers.dll differ diff --git a/packages/System.Buffers.4.5.1/lib/netstandard2.0/System.Buffers.xml b/packages/System.Buffers.4.5.1/lib/netstandard2.0/System.Buffers.xml new file mode 100644 index 000000000..e243dcef9 --- /dev/null +++ b/packages/System.Buffers.4.5.1/lib/netstandard2.0/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/lib/uap10.0.16299/_._ b/packages/System.Buffers.4.5.1/lib/uap10.0.16299/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Buffers.4.5.1/ref/net45/System.Buffers.dll b/packages/System.Buffers.4.5.1/ref/net45/System.Buffers.dll new file mode 100644 index 000000000..022667e83 Binary files /dev/null and b/packages/System.Buffers.4.5.1/ref/net45/System.Buffers.dll differ diff --git a/packages/System.Buffers.4.5.1/ref/net45/System.Buffers.xml b/packages/System.Buffers.4.5.1/ref/net45/System.Buffers.xml new file mode 100644 index 000000000..e243dcef9 --- /dev/null +++ b/packages/System.Buffers.4.5.1/ref/net45/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/ref/netcoreapp2.0/_._ b/packages/System.Buffers.4.5.1/ref/netcoreapp2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Buffers.4.5.1/ref/netstandard1.1/System.Buffers.dll b/packages/System.Buffers.4.5.1/ref/netstandard1.1/System.Buffers.dll new file mode 100644 index 000000000..9daa0566f Binary files /dev/null and b/packages/System.Buffers.4.5.1/ref/netstandard1.1/System.Buffers.dll differ diff --git a/packages/System.Buffers.4.5.1/ref/netstandard1.1/System.Buffers.xml b/packages/System.Buffers.4.5.1/ref/netstandard1.1/System.Buffers.xml new file mode 100644 index 000000000..e243dcef9 --- /dev/null +++ b/packages/System.Buffers.4.5.1/ref/netstandard1.1/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/ref/netstandard2.0/System.Buffers.dll b/packages/System.Buffers.4.5.1/ref/netstandard2.0/System.Buffers.dll new file mode 100644 index 000000000..a294e52dd Binary files /dev/null and b/packages/System.Buffers.4.5.1/ref/netstandard2.0/System.Buffers.dll differ diff --git a/packages/System.Buffers.4.5.1/ref/netstandard2.0/System.Buffers.xml b/packages/System.Buffers.4.5.1/ref/netstandard2.0/System.Buffers.xml new file mode 100644 index 000000000..e243dcef9 --- /dev/null +++ b/packages/System.Buffers.4.5.1/ref/netstandard2.0/System.Buffers.xml @@ -0,0 +1,38 @@ + + + System.Buffers + + + + Provides a resource pool that enables reusing instances of type . + The type of the objects that are in the resource pool. + + + Initializes a new instance of the class. + + + Creates a new instance of the class. + A new instance of the class. + + + Creates a new instance of the class using the specifed configuration. + The maximum length of an array instance that may be stored in the pool. + The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access. + A new instance of the class with the specified configuration. + + + Retrieves a buffer that is at least the requested length. + The minimum length of the array. + An array of type that is at least minimumLength in length. + + + Returns an array to the pool that was previously obtained using the method on the same instance. + A buffer to return to the pool that was previously obtained using the method. + Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged. + + + Gets a shared instance. + A shared instance. + + + \ No newline at end of file diff --git a/packages/System.Buffers.4.5.1/ref/uap10.0.16299/_._ b/packages/System.Buffers.4.5.1/ref/uap10.0.16299/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Buffers.4.5.1/useSharedDesignerContext.txt b/packages/System.Buffers.4.5.1/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Buffers.4.5.1/version.txt b/packages/System.Buffers.4.5.1/version.txt new file mode 100644 index 000000000..8d6cdd69c --- /dev/null +++ b/packages/System.Buffers.4.5.1/version.txt @@ -0,0 +1 @@ +7601f4f6225089ffb291dc7d58293c7bbf5c5d4f diff --git a/packages/System.Memory.4.5.4/.signature.p7s b/packages/System.Memory.4.5.4/.signature.p7s new file mode 100644 index 000000000..abb2a57d1 Binary files /dev/null and b/packages/System.Memory.4.5.4/.signature.p7s differ diff --git a/packages/System.Memory.4.5.4/LICENSE.TXT b/packages/System.Memory.4.5.4/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.Memory.4.5.4/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.Memory.4.5.4/System.Memory.4.5.4.nupkg b/packages/System.Memory.4.5.4/System.Memory.4.5.4.nupkg new file mode 100644 index 000000000..6844e92d8 Binary files /dev/null and b/packages/System.Memory.4.5.4/System.Memory.4.5.4.nupkg differ diff --git a/packages/System.Memory.4.5.4/THIRD-PARTY-NOTICES.TXT b/packages/System.Memory.4.5.4/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..db542ca24 --- /dev/null +++ b/packages/System.Memory.4.5.4/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,309 @@ +.NET Core uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Core software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +http://www.unicode.org/copyright.html#License + +Copyright © 1991-2017 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + diff --git a/packages/System.Memory.4.5.4/lib/net461/System.Memory.dll b/packages/System.Memory.4.5.4/lib/net461/System.Memory.dll new file mode 100644 index 000000000..5d1947056 Binary files /dev/null and b/packages/System.Memory.4.5.4/lib/net461/System.Memory.dll differ diff --git a/packages/System.Memory.4.5.4/lib/net461/System.Memory.xml b/packages/System.Memory.4.5.4/lib/net461/System.Memory.xml new file mode 100644 index 000000000..4d12fd71e --- /dev/null +++ b/packages/System.Memory.4.5.4/lib/net461/System.Memory.xml @@ -0,0 +1,355 @@ + + + System.Memory + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Memory.4.5.4/lib/netcoreapp2.1/_._ b/packages/System.Memory.4.5.4/lib/netcoreapp2.1/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Memory.4.5.4/lib/netstandard1.1/System.Memory.dll b/packages/System.Memory.4.5.4/lib/netstandard1.1/System.Memory.dll new file mode 100644 index 000000000..98f1c5d15 Binary files /dev/null and b/packages/System.Memory.4.5.4/lib/netstandard1.1/System.Memory.dll differ diff --git a/packages/System.Memory.4.5.4/lib/netstandard1.1/System.Memory.xml b/packages/System.Memory.4.5.4/lib/netstandard1.1/System.Memory.xml new file mode 100644 index 000000000..4d12fd71e --- /dev/null +++ b/packages/System.Memory.4.5.4/lib/netstandard1.1/System.Memory.xml @@ -0,0 +1,355 @@ + + + System.Memory + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Memory.4.5.4/lib/netstandard2.0/System.Memory.dll b/packages/System.Memory.4.5.4/lib/netstandard2.0/System.Memory.dll new file mode 100644 index 000000000..953a9d2e3 Binary files /dev/null and b/packages/System.Memory.4.5.4/lib/netstandard2.0/System.Memory.dll differ diff --git a/packages/System.Memory.4.5.4/lib/netstandard2.0/System.Memory.xml b/packages/System.Memory.4.5.4/lib/netstandard2.0/System.Memory.xml new file mode 100644 index 000000000..4d12fd71e --- /dev/null +++ b/packages/System.Memory.4.5.4/lib/netstandard2.0/System.Memory.xml @@ -0,0 +1,355 @@ + + + System.Memory + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Memory.4.5.4/ref/netcoreapp2.1/_._ b/packages/System.Memory.4.5.4/ref/netcoreapp2.1/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Memory.4.5.4/useSharedDesignerContext.txt b/packages/System.Memory.4.5.4/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Memory.4.5.4/version.txt b/packages/System.Memory.4.5.4/version.txt new file mode 100644 index 000000000..8d6cdd69c --- /dev/null +++ b/packages/System.Memory.4.5.4/version.txt @@ -0,0 +1 @@ +7601f4f6225089ffb291dc7d58293c7bbf5c5d4f diff --git a/packages/System.Numerics.Vectors.4.5.0/.signature.p7s b/packages/System.Numerics.Vectors.4.5.0/.signature.p7s new file mode 100644 index 000000000..a945f63eb Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/.signature.p7s differ diff --git a/packages/System.Numerics.Vectors.4.5.0/LICENSE.TXT b/packages/System.Numerics.Vectors.4.5.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.Numerics.Vectors.4.5.0/System.Numerics.Vectors.4.5.0.nupkg b/packages/System.Numerics.Vectors.4.5.0/System.Numerics.Vectors.4.5.0.nupkg new file mode 100644 index 000000000..0ef463730 Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/System.Numerics.Vectors.4.5.0.nupkg differ diff --git a/packages/System.Numerics.Vectors.4.5.0/THIRD-PARTY-NOTICES.TXT b/packages/System.Numerics.Vectors.4.5.0/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..db542ca24 --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,309 @@ +.NET Core uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Core software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +http://www.unicode.org/copyright.html#License + +Copyright © 1991-2017 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/MonoAndroid10/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/MonoAndroid10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/MonoTouch10/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/MonoTouch10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/net46/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/lib/net46/System.Numerics.Vectors.dll new file mode 100644 index 000000000..08659724d Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/lib/net46/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/net46/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/lib/net46/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/lib/net46/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/netcoreapp2.0/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/netcoreapp2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/netstandard1.0/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard1.0/System.Numerics.Vectors.dll new file mode 100644 index 000000000..433aa3619 Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard1.0/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/netstandard1.0/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard1.0/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard1.0/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/netstandard2.0/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard2.0/System.Numerics.Vectors.dll new file mode 100644 index 000000000..10205772c Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard2.0/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/netstandard2.0/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard2.0/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/lib/netstandard2.0/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll new file mode 100644 index 000000000..433aa3619 Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/uap10.0.16299/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/uap10.0.16299/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/xamarinios10/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/xamarinios10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/xamarinmac20/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/xamarinmac20/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/xamarintvos10/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/xamarintvos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/lib/xamarinwatchos10/_._ b/packages/System.Numerics.Vectors.4.5.0/lib/xamarinwatchos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/MonoAndroid10/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/MonoAndroid10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/MonoTouch10/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/MonoTouch10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/net45/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/ref/net45/System.Numerics.Vectors.dll new file mode 100644 index 000000000..e237afb2f Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/ref/net45/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/net45/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/ref/net45/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/ref/net45/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/net46/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/ref/net46/System.Numerics.Vectors.dll new file mode 100644 index 000000000..470f2f391 Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/ref/net46/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/net46/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/ref/net46/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/ref/net46/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/netcoreapp2.0/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/netcoreapp2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/netstandard1.0/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard1.0/System.Numerics.Vectors.dll new file mode 100644 index 000000000..d174da047 Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard1.0/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/netstandard1.0/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard1.0/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard1.0/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/netstandard2.0/System.Numerics.Vectors.dll b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard2.0/System.Numerics.Vectors.dll new file mode 100644 index 000000000..ba0aa0cf6 Binary files /dev/null and b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard2.0/System.Numerics.Vectors.dll differ diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/netstandard2.0/System.Numerics.Vectors.xml b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard2.0/System.Numerics.Vectors.xml new file mode 100644 index 000000000..da34d390c --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/ref/netstandard2.0/System.Numerics.Vectors.xml @@ -0,0 +1,2621 @@ + + + System.Numerics.Vectors + + + + Represents a 3x2 matrix. + + + Creates a 3x2 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a rotation matrix using the given rotation in radians. + The amount of rotation, in radians. + The rotation matrix. + + + Creates a rotation matrix using the specified rotation in radians and a center point. + The amount of rotation, in radians. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified X and Y components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the specified scale with an offset from the specified center. + The uniform scale to use. + The center offset. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The center point. + The scaling matrix. + + + Creates a scaling matrix that scales uniformly with the given scale. + The uniform scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a scaling matrix from the specified vector scale with an offset from the specified center point. + The scale to use. + The center offset. + The scaling matrix. + + + Creates a skew matrix from the specified angles in radians. + The X angle, in radians. + The Y angle, in radians. + The skew matrix. + + + Creates a skew matrix from the specified angles in radians and a center point. + The X angle, in radians. + The Y angle, in radians. + The center point. + The skew matrix. + + + Creates a translation matrix from the specified 2-dimensional vector. + The translation position. + The translation matrix. + + + Creates a translation matrix from the specified X and Y components. + The X position. + The Y position. + The translation matrix. + + + Returns a value that indicates whether this instance and another 3x2 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant for this matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + The multiplicative identify matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Represents a 4x4 matrix. + + + Creates a object from a specified object. + A 3x2 matrix. + + + Creates a 4x4 matrix from the specified components. + The value to assign to the first element in the first row. + The value to assign to the second element in the first row. + The value to assign to the third element in the first row. + The value to assign to the fourth element in the first row. + The value to assign to the first element in the second row. + The value to assign to the second element in the second row. + The value to assign to the third element in the second row. + The value to assign to the third element in the second row. + The value to assign to the first element in the third row. + The value to assign to the second element in the third row. + The value to assign to the third element in the third row. + The value to assign to the fourth element in the third row. + The value to assign to the first element in the fourth row. + The value to assign to the second element in the fourth row. + The value to assign to the third element in the fourth row. + The value to assign to the fourth element in the fourth row. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values of value1 and value2. + + + Creates a spherical billboard that rotates around a specified object position. + The position of the object that the billboard will rotate around. + The position of the camera. + The up vector of the camera. + The forward vector of the camera. + The created billboard. + + + Creates a cylindrical billboard that rotates around a specified axis. + The position of the object that the billboard will rotate around. + The position of the camera. + The axis to rotate the billboard around. + The forward vector of the camera. + The forward vector of the object. + The billboard matrix. + + + Creates a matrix that rotates around an arbitrary vector. + The axis to rotate around. + The angle to rotate around axis, in radians. + The rotation matrix. + + + Creates a rotation matrix from the specified Quaternion rotation value. + The source Quaternion. + The rotation matrix. + + + Creates a rotation matrix from the specified yaw, pitch, and roll. + The angle of rotation, in radians, around the Y axis. + The angle of rotation, in radians, around the X axis. + The angle of rotation, in radians, around the Z axis. + The rotation matrix. + + + Creates a view matrix. + The position of the camera. + The target towards which the camera is pointing. + The direction that is &quot;up&quot; from the camera&#39;s point of view. + The view matrix. + + + Creates an orthographic perspective matrix from the given view volume dimensions. + The width of the view volume. + The height of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a customized orthographic projection matrix. + The minimum X-value of the view volume. + The maximum X-value of the view volume. + The minimum Y-value of the view volume. + The maximum Y-value of the view volume. + The minimum Z-value of the view volume. + The maximum Z-value of the view volume. + The orthographic projection matrix. + + + Creates a perspective projection matrix from the given view volume dimensions. + The width of the view volume at the near view plane. + The height of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a perspective projection matrix based on a field of view, aspect ratio, and near and far view plane distances. + The field of view in the y direction, in radians. + The aspect ratio, defined as view space width divided by height. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + fieldOfView is less than or equal to zero. + -or- + fieldOfView is greater than or equal to . + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a customized perspective projection matrix. + The minimum x-value of the view volume at the near view plane. + The maximum x-value of the view volume at the near view plane. + The minimum y-value of the view volume at the near view plane. + The maximum y-value of the view volume at the near view plane. + The distance to the near view plane. + The distance to the far view plane. + The perspective projection matrix. + nearPlaneDistance is less than or equal to zero. + -or- + farPlaneDistance is less than or equal to zero. + -or- + nearPlaneDistance is greater than or equal to farPlaneDistance. + + + Creates a matrix that reflects the coordinate system about a specified plane. + The plane about which to create a reflection. + A new matrix expressing the reflection. + + + Creates a matrix for rotating points around the X axis. + The amount, in radians, by which to rotate around the X axis. + The rotation matrix. + + + Creates a matrix for rotating points around the X axis from a center point. + The amount, in radians, by which to rotate around the X axis. + The center point. + The rotation matrix. + + + The amount, in radians, by which to rotate around the Y axis from a center point. + The amount, in radians, by which to rotate around the Y-axis. + The center point. + The rotation matrix. + + + Creates a matrix for rotating points around the Y axis. + The amount, in radians, by which to rotate around the Y-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis. + The amount, in radians, by which to rotate around the Z-axis. + The rotation matrix. + + + Creates a matrix for rotating points around the Z axis from a center point. + The amount, in radians, by which to rotate around the Z-axis. + The center point. + The rotation matrix. + + + Creates a scaling matrix from the specified vector scale. + The scale to use. + The scaling matrix. + + + Creates a uniform scaling matrix that scale equally on each axis. + The uniform scaling factor. + The scaling matrix. + + + Creates a scaling matrix with a center point. + The vector that contains the amount to scale on each axis. + The center point. + The scaling matrix. + + + Creates a uniform scaling matrix that scales equally on each axis with a center point. + The uniform scaling factor. + The center point. + The scaling matrix. + + + Creates a scaling matrix from the specified X, Y, and Z components. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The scaling matrix. + + + Creates a scaling matrix that is offset by a given center point. + The value to scale by on the X axis. + The value to scale by on the Y axis. + The value to scale by on the Z axis. + The center point. + The scaling matrix. + + + Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source. + The direction from which the light that will cast the shadow is coming. + The plane onto which the new matrix should flatten geometry so as to cast a shadow. + A new matrix that can be used to flatten geometry onto the specified plane from the specified direction. + + + Creates a translation matrix from the specified 3-dimensional vector. + The amount to translate in each axis. + The translation matrix. + + + Creates a translation matrix from the specified X, Y, and Z components. + The amount to translate on the X axis. + The amount to translate on the Y axis. + The amount to translate on the Z axis. + The translation matrix. + + + Creates a world matrix with the specified parameters. + The position of the object. + The forward direction of the object. + The upward direction of the object. Its value is usually [0, 1, 0]. + The world matrix. + + + Attempts to extract the scale, translation, and rotation components from the given scale, rotation, or translation matrix. The return value indicates whether the operation succeeded. + The source matrix. + When this method returns, contains the scaling component of the transformation matrix if the operation succeeded. + When this method returns, contains the rotation component of the transformation matrix if the operation succeeded. + When the method returns, contains the translation component of the transformation matrix if the operation succeeded. + true if matrix was decomposed successfully; otherwise, false. + + + Returns a value that indicates whether this instance and another 4x4 matrix are equal. + The other matrix. + true if the two matrices are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Calculates the determinant of the current 4x4 matrix. + The determinant. + + + Returns the hash code for this instance. + The hash code. + + + Gets the multiplicative identity matrix. + Gets the multiplicative identity matrix. + + + Inverts the specified matrix. The return value indicates whether the operation succeeded. + The matrix to invert. + When this method returns, contains the inverted matrix if the operation succeeded. + true if matrix was converted successfully; otherwise, false. + + + Indicates whether the current matrix is the identity matrix. + true if the current matrix is the identity matrix; otherwise, false. + + + Performs a linear interpolation from one matrix to a second matrix based on a value that specifies the weighting of the second matrix. + The first matrix. + The second matrix. + The relative weighting of matrix2. + The interpolated matrix. + + + The first element of the first row. + + + + The second element of the first row. + + + + The third element of the first row. + + + + The fourth element of the first row. + + + + The first element of the second row. + + + + The second element of the second row. + + + + The third element of the second row. + + + + The fourth element of the second row. + + + + The first element of the third row. + + + + The second element of the third row. + + + + The third element of the third row. + + + + The fourth element of the third row. + + + + The first element of the fourth row. + + + + The second element of the fourth row. + + + + The third element of the fourth row. + + + + The fourth element of the fourth row. + + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Adds each element in one matrix with its corresponding element in a second matrix. + The first matrix. + The second matrix. + The matrix that contains the summed values. + + + Returns a value that indicates whether the specified matrices are equal. + The first matrix to compare. + The second matrix to care + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether the specified matrices are not equal. + The first matrix to compare. + The second matrix to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the matrix that results from scaling all the elements of a specified matrix by a scalar factor. + The matrix to scale. + The scaling value to use. + The scaled matrix. + + + Returns the matrix that results from multiplying two matrices together. + The first matrix. + The second matrix. + The product matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Negates the specified matrix by multiplying all its values by -1. + The matrix to negate. + The negated matrix. + + + Subtracts each element in a second matrix from its corresponding element in a first matrix. + The first matrix. + The second matrix. + The matrix containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this matrix. + The string representation of this matrix. + + + Transforms the specified matrix by applying the specified Quaternion rotation. + The matrix to transform. + The rotation t apply. + The transformed matrix. + + + Gets or sets the translation component of this matrix. + The translation component of the current instance. + + + Transposes the rows and columns of a matrix. + The matrix to transpose. + The transposed matrix. + + + Represents a three-dimensional plane. + + + Creates a object from a specified four-dimensional vector. + A vector whose first three elements describe the normal vector, and whose defines the distance along that normal from the origin. + + + Creates a object from a specified normal and the distance along the normal from the origin. + The plane&#39;s normal vector. + The plane&#39;s distance from the origin along its normal vector. + + + Creates a object from the X, Y, and Z components of its normal, and its distance from the origin on that normal. + The X component of the normal. + The Y component of the normal. + The Z component of the normal. + The distance of the plane along its normal from the origin. + + + Creates a object that contains three specified points. + The first point defining the plane. + The second point defining the plane. + The third point defining the plane. + The plane containing the three points. + + + The distance of the plane along its normal from the origin. + + + + Calculates the dot product of a plane and a 4-dimensional vector. + The plane. + The four-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the normal vector of this plane plus the distance () value of the plane. + The plane. + The 3-dimensional vector. + The dot product. + + + Returns the dot product of a specified three-dimensional vector and the vector of this plane. + The plane. + The three-dimensional vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another plane object are equal. + The other plane. + true if the two planes are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + The normal vector of the plane. + + + + Creates a new object whose normal vector is the source plane&#39;s normal vector normalized. + The source plane. + The normalized plane. + + + Returns a value that indicates whether two planes are equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are equal; otherwise, false. + + + Returns a value that indicates whether two planes are not equal. + The first plane to compare. + The second plane to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the string representation of this plane object. + A string that represents this object. + + + Transforms a normalized plane by a 4x4 matrix. + The normalized plane to transform. + The transformation matrix to apply to plane. + The transformed plane. + + + Transforms a normalized plane by a Quaternion rotation. + The normalized plane to transform. + The Quaternion rotation to apply to the plane. + A new plane that results from applying the Quaternion rotation. + + + Represents a vector that is used to encode three-dimensional physical rotations. + + + Creates a quaternion from the specified vector and rotation parts. + The vector part of the quaternion. + The rotation part of the quaternion. + + + Constructs a quaternion from the specified components. + The value to assign to the X component of the quaternion. + The value to assign to the Y component of the quaternion. + The value to assign to the Z component of the quaternion. + The value to assign to the W component of the quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Concatenates two quaternions. + The first quaternion rotation in the series. + The second quaternion rotation in the series. + A new quaternion representing the concatenation of the value1 rotation followed by the value2 rotation. + + + Returns the conjugate of a specified quaternion. + The quaternion. + A new quaternion that is the conjugate of value. + + + Creates a quaternion from a vector and an angle to rotate about the vector. + The vector to rotate around. + The angle, in radians, to rotate around the vector. + The newly created quaternion. + + + Creates a quaternion from the specified rotation matrix. + The rotation matrix. + The newly created quaternion. + + + Creates a new quaternion from the given yaw, pitch, and roll. + The yaw angle, in radians, around the Y axis. + The pitch angle, in radians, around the X axis. + The roll angle, in radians, around the Z axis. + The resulting quaternion. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Calculates the dot product of two quaternions. + The first quaternion. + The second quaternion. + The dot product. + + + Returns a value that indicates whether this instance and another quaternion are equal. + The other quaternion. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Gets a quaternion that represents no rotation. + A quaternion whose values are (0, 0, 0, 1). + + + Returns the inverse of a quaternion. + The quaternion. + The inverted quaternion. + + + Gets a value that indicates whether the current instance is the identity quaternion. + true if the current instance is the identity quaternion; otherwise, false. + + + Calculates the length of the quaternion. + The computed length of the quaternion. + + + Calculates the squared length of the quaternion. + The length squared of the quaternion. + + + Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion. + The first quaternion. + The second quaternion. + The relative weight of quaternion2 in the interpolation. + The interpolated quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Divides each component of a specified by its length. + The quaternion to normalize. + The normalized quaternion. + + + Adds each element in one quaternion with its corresponding element in a second quaternion. + The first quaternion. + The second quaternion. + The quaternion that contains the summed values of value1 and value2. + + + Divides one quaternion by a second quaternion. + The dividend. + The divisor. + The quaternion that results from dividing value1 by value2. + + + Returns a value that indicates whether two quaternions are equal. + The first quaternion to compare. + The second quaternion to compare. + true if the two quaternions are equal; otherwise, false. + + + Returns a value that indicates whether two quaternions are not equal. + The first quaternion to compare. + The second quaternion to compare. + true if value1 and value2 are not equal; otherwise, false. + + + Returns the quaternion that results from scaling all the components of a specified quaternion by a scalar factor. + The source quaternion. + The scalar value. + The scaled quaternion. + + + Returns the quaternion that results from multiplying two quaternions together. + The first quaternion. + The second quaternion. + The product quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Reverses the sign of each component of the quaternion. + The quaternion to negate. + The negated quaternion. + + + Interpolates between two quaternions, using spherical linear interpolation. + The first quaternion. + The second quaternion. + The relative weight of the second quaternion in the interpolation. + The interpolated quaternion. + + + Subtracts each element in a second quaternion from its corresponding element in a first quaternion. + The first quaternion. + The second quaternion. + The quaternion containing the values that result from subtracting each element in value2 from its corresponding element in value1. + + + Returns a string that represents this quaternion. + The string representation of this quaternion. + + + The rotation component of the quaternion. + + + + The X value of the vector component of the quaternion. + + + + The Y value of the vector component of the quaternion. + + + + The Z value of the vector component of the quaternion. + + + + Represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. + The vector type. T can be any primitive numeric type. + + + Creates a vector whose components are of a specified type. + The numeric type that defines the type of the components in the vector. + + + Creates a vector from a specified array. + A numeric array. + values is null. + + + Creates a vector from a specified array starting at a specified index position. + A numeric array. + The starting index position from which to create the vector. + values is null. + index is less than zero. + -or- + The length of values minus index is less than . + + + Copies the vector instance to a specified destination array. + The array to receive a copy of the vector values. + destination is null. + The number of elements in the current vector is greater than the number of elements available in the destination array. + + + Copies the vector instance to a specified destination array starting at a specified index position. + The array to receive a copy of the vector values. + The starting index in destination at which to begin the copy operation. + destination is null. + The number of elements in the current instance is greater than the number of elements available from startIndex to the end of the destination array. + index is less than zero or greater than the last index in destination. + + + Returns the number of elements stored in the vector. + The number of elements stored in the vector. + Access to the property getter via reflection is not supported. + + + Returns a value that indicates whether this instance is equal to a specified vector. + The vector to compare with this instance. + true if the current instance and other are equal; otherwise, false. + + + Returns a value that indicates whether this instance is equal to a specified object. + The object to compare with this instance. + true if the current instance and obj are equal; otherwise, false. The method returns false if obj is null, or if obj is a vector of a different type than the current instance. + + + Returns the hash code for this instance. + The hash code. + + + Gets the element at a specified index. + The index of the element to return. + The element at index index. + index is less than zero. + -or- + index is greater than or equal to . + + + Returns a vector containing all ones. + A vector containing all ones. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Returns a new vector by performing a bitwise And operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise And of left and right. + + + Returns a new vector by performing a bitwise Or operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise Or of the elements in left and right. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Returns a value that indicates whether each pair of elements in two specified vectors are equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a new vector by performing a bitwise XOr operation on each of the elements in two vectors. + The first vector. + The second vector. + The vector that results from the bitwise XOr of the elements in left and right. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Reinterprets the bits of the specified vector into a vector of type . + The vector to reinterpret. + The reinterpreted vector. + + + Returns a value that indicates whether any single pair of elements in the specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if any element pairs in left and right are equal. false if no element pairs are equal. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar value. + The source vector. + A scalar value. + The scaled vector. + + + Multiplies a vector by the given scalar. + The scalar value. + The source vector. + The scaled vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The one&#39;s complement vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates a given vector. + The vector to negate. + The negated vector. + + + Returns the string representation of this vector using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Returns the string representation of this vector using default formatting. + The string representation of this vector. + + + Returns the string representation of this vector using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns a vector containing all zeroes. + A vector containing all zeroes. + + + Provides a collection of static convenience methods for creating, manipulating, combining, and converting generic vectors. + + + Returns a new vector whose elements are the absolute values of the given vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The absolute value vector. + + + Returns a new vector whose values are the sum of each pair of elements from two given vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The summed vector. + + + Returns a new vector by performing a bitwise And Not operation on each pair of corresponding elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a double-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of signed bytes. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a single-precision floating-point vector. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned 16-bit integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Reinterprets the bits of a specified vector into those of a vector of unsigned long integers. + The source vector. + The vector type. T can be any primitive numeric type. + The reinterpreted vector. + + + Returns a new vector by performing a bitwise And operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector by performing a bitwise Or operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Creates a new single-precision vector with elements selected between two specified single-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new double-precision vector with elements selected between two specified double-precision source vectors based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The new vector with elements selected based on the mask. + + + Creates a new vector of a specified type with elements selected between two specified source vectors of the same type based on an integral mask vector. + The integral mask vector used to drive selection. + The first source vector. + The second source vector. + The vector type. T can be any primitive numeric type. + The new vector with elements selected based on the mask. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose values are the result of dividing the first vector&#39;s elements by the corresponding elements in the second vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The divided vector. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The dot product. + + + Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether each pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left and right are equal; otherwise, false. + + + Returns a value that indicates whether any single pair of elements in the given vectors is equal. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element pair in left and right is equal; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are greater than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are greater than their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than their corresponding elements in the second vector of the same time. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the single-precision floating-point second vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are greater than or equal to their corresponding elements in the second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are greater than or equal to their corresponding elements in the second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one vector are greater than or equal to their corresponding elements in the second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector of a specified type are greater than or equal to their corresponding elements in the second vector of the same type. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are greater than or equal to all the corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all elements in left are greater than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is greater than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is greater than or equal to the corresponding element in right; otherwise, false. + + + Gets a value that indicates whether vector operations are subject to hardware acceleration through JIT intrinsic support. + true if vector operations are subject to hardware acceleration; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less than their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision vector are less than their corresponding elements in a second single-precision vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector of a specified type whose elements signal whether the elements in one vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all of the elements in the first vector are less than their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than the corresponding element in right; otherwise, false. + + + Returns a new integral vector whose elements signal whether the elements in one double-precision floating-point vector are less than or equal to their corresponding elements in a second double-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new integral vector whose elements signal whether the elements in one integral vector are less than or equal to their corresponding elements in a second integral vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new long integer vector whose elements signal whether the elements in one long integer vector are less or equal to their corresponding elements in a second long integer vector. + The first vector to compare. + The second vector to compare. + The resulting long integer vector. + + + Returns a new integral vector whose elements signal whether the elements in one single-precision floating-point vector are less than or equal to their corresponding elements in a second single-precision floating-point vector. + The first vector to compare. + The second vector to compare. + The resulting integral vector. + + + Returns a new vector whose elements signal whether the elements in one vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a value that indicates whether all elements in the first vector are less than or equal to their corresponding elements in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if all of the elements in left are less than or equal to the corresponding elements in right; otherwise, false. + + + Returns a value that indicates whether any element in the first vector is less than or equal to the corresponding element in the second vector. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + true if any element in left is less than or equal to the corresponding element in right; otherwise, false. + + + Returns a new vector whose elements are the maximum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The maximum vector. + + + Returns a new vector whose elements are the minimum of each pair of elements in the two given vectors. + The first vector to compare. + The second vector to compare. + The vector type. T can be any primitive numeric type. + The minimum vector. + + + Returns a new vector whose values are a scalar value multiplied by each of the values of a specified vector. + The scalar value. + The vector. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + Returns a new vector whose values are the product of each pair of elements in two specified vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The product vector. + + + Returns a new vector whose values are the values of a specified vector each multiplied by a scalar value. + The vector. + The scalar value. + The vector type. T can be any primitive numeric type. + The scaled vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector whose elements are the negation of the corresponding element in the specified vector. + The source vector. + The vector type. T can be any primitive numeric type. + The negated vector. + + + Returns a new vector whose elements are obtained by taking the one&#39;s complement of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Returns a new vector whose elements are the square roots of a specified vector&#39;s elements. + The source vector. + The vector type. T can be any primitive numeric type. + The square root vector. + + + Returns a new vector whose values are the difference between the elements in the second vector and their corresponding elements in the first vector. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The difference vector. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a new vector by performing a bitwise exclusive Or (XOr) operation on each pair of elements in two vectors. + The first vector. + The second vector. + The vector type. T can be any primitive numeric type. + The resulting vector. + + + Represents a vector with two single-precision floating-point values. + + + Creates a new object whose two elements have the same value. + The value to assign to both elements. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of the vector. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 2 elements are equal to one. + A vector whose two elements are equal to one (that is, it returns the vector (1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 3x2 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 3x2 matrix. + The source vector. + The matrix. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0). + The vector (1,0). + + + Gets the vector (0,1). + The vector (0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + Returns a vector whose 2 elements are equal to zero. + A vector whose two elements are equal to zero (that is, it returns the vector (0,0). + + + Represents a vector with three single-precision floating-point values. + + + Creates a new object whose three elements have the same value. + The value to assign to all three elements. + + + Creates a new object from the specified object and the specified value. + The vector with two elements. + The additional value to assign to the field. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the cross product of two vectors. + The first vector. + The second vector. + The cross product. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 3 elements are equal to one. + A vector whose three elements are equal to one (that is, it returns the vector (1,1,1). + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns the reflection of a vector off a surface that has the specified normal. + The source vector. + The normal of the surface being reflected off. + The reflected vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a vector normal by the given 4x4 matrix. + The source vector. + The matrix. + The transformed vector. + + + Gets the vector (1,0,0). + The vector (1,0,0). + + + Gets the vector (0,1,0). + The vector (0,1,0).. + + + Gets the vector (0,0,1). + The vector (0,0,1). + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 3 elements are equal to zero. + A vector whose three elements are equal to zero (that is, it returns the vector (0,0,0). + + + Represents a vector with four single-precision floating-point values. + + + Creates a new object whose four elements have the same value. + The value to assign to all four elements. + + + Constructs a new object from the specified object and a W component. + The vector to use for the X, Y, and Z components. + The W component. + + + Creates a new object from the specified object and a Z and a W component. + The vector to use for the X and Y components. + The Z component. + The W component. + + + Creates a vector whose elements have the specified values. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + The value to assign to the field. + + + Returns a vector whose elements are the absolute values of each of the specified vector&#39;s elements. + A vector. + The absolute value vector. + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Restricts a vector between a minimum and a maximum value. + The vector to restrict. + The minimum value. + The maximum value. + The restricted vector. + + + Copies the elements of the vector to a specified array. + The destination array. + array is null. + The number of elements in the current instance is greater than in the array. + array is multidimensional. + + + Copies the elements of the vector to a specified array starting at a specified index position. + The destination array. + The index at which to copy the first element of the vector. + array is null. + The number of elements in the current instance is greater than in the array. + index is less than zero. + -or- + index is greater than or equal to the array length. + array is multidimensional. + + + Computes the Euclidean distance between the two given points. + The first point. + The second point. + The distance. + + + Returns the Euclidean distance squared between two specified points. + The first point. + The second point. + The distance squared. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector resulting from the division. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The vector that results from the division. + + + Returns the dot product of two vectors. + The first vector. + The second vector. + The dot product. + + + Returns a value that indicates whether this instance and another vector are equal. + The other vector. + true if the two vectors are equal; otherwise, false. + + + Returns a value that indicates whether this instance and a specified object are equal. + The object to compare with the current instance. + true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false. + + + Returns the hash code for this instance. + The hash code. + + + Returns the length of this vector object. + The vector&#39;s length. + + + Returns the length of the vector squared. + The vector&#39;s length squared. + + + Performs a linear interpolation between two vectors based on the given weighting. + The first vector. + The second vector. + A value between 0 and 1 that indicates the weight of value2. + The interpolated vector. + + + Returns a vector whose elements are the maximum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The maximized vector. + + + Returns a vector whose elements are the minimum of each of the pairs of elements in two specified vectors. + The first vector. + The second vector. + The minimized vector. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiplies a vector by a specified scalar. + The vector to multiply. + The scalar value. + The scaled vector. + + + Multiplies a scalar value by a specified vector. + The scaled value. + The vector. + The scaled vector. + + + Negates a specified vector. + The vector to negate. + The negated vector. + + + Returns a vector with the same direction as the specified vector, but with a length of one. + The vector to normalize. + The normalized vector. + + + Gets a vector whose 4 elements are equal to one. + Returns . + + + Adds two vectors together. + The first vector to add. + The second vector to add. + The summed vector. + + + Divides the first vector by the second. + The first vector. + The second vector. + The vector that results from dividing left by right. + + + Divides the specified vector by a specified scalar value. + The vector. + The scalar value. + The result of the division. + + + Returns a value that indicates whether each pair of elements in two specified vectors is equal. + The first vector to compare. + The second vector to compare. + true if left and right are equal; otherwise, false. + + + Returns a value that indicates whether two specified vectors are not equal. + The first vector to compare. + The second vector to compare. + true if left and right are not equal; otherwise, false. + + + Multiplies two vectors together. + The first vector. + The second vector. + The product vector. + + + Multiples the specified vector by the specified scalar value. + The vector. + The scalar value. + The scaled vector. + + + Multiples the scalar value by the specified vector. + The vector. + The scalar value. + The scaled vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The vector that results from subtracting right from left. + + + Negates the specified vector. + The vector to negate. + The negated vector. + + + Returns a vector whose elements are the square root of each of a specified vector&#39;s elements. + A vector. + The square root vector. + + + Subtracts the second vector from the first. + The first vector. + The second vector. + The difference vector. + + + Returns the string representation of the current instance using default formatting. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements. + A or that defines the format of individual elements. + The string representation of the current instance. + + + Returns the string representation of the current instance using the specified format string to format individual elements and the specified format provider to define culture-specific formatting. + A or that defines the format of individual elements. + A format provider that supplies culture-specific formatting information. + The string representation of the current instance. + + + Transforms a four-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a four-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a three-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a two-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Transforms a two-dimensional vector by the specified Quaternion rotation value. + The vector to rotate. + The rotation to apply. + The transformed vector. + + + Transforms a three-dimensional vector by a specified 4x4 matrix. + The vector to transform. + The transformation matrix. + The transformed vector. + + + Gets the vector (0,0,0,1). + The vector (0,0,0,1). + + + Gets the vector (1,0,0,0). + The vector (1,0,0,0). + + + Gets the vector (0,1,0,0). + The vector (0,1,0,0).. + + + Gets a vector whose 4 elements are equal to zero. + The vector (0,0,1,0). + + + The W component of the vector. + + + + The X component of the vector. + + + + The Y component of the vector. + + + + The Z component of the vector. + + + + Gets a vector whose 4 elements are equal to zero. + A vector whose four elements are equal to zero (that is, it returns the vector (0,0,0,0). + + + \ No newline at end of file diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/uap10.0.16299/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/uap10.0.16299/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/xamarinios10/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/xamarinios10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/xamarinmac20/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/xamarinmac20/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/xamarintvos10/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/xamarintvos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/ref/xamarinwatchos10/_._ b/packages/System.Numerics.Vectors.4.5.0/ref/xamarinwatchos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/useSharedDesignerContext.txt b/packages/System.Numerics.Vectors.4.5.0/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Numerics.Vectors.4.5.0/version.txt b/packages/System.Numerics.Vectors.4.5.0/version.txt new file mode 100644 index 000000000..47004a02b --- /dev/null +++ b/packages/System.Numerics.Vectors.4.5.0/version.txt @@ -0,0 +1 @@ +30ab651fcb4354552bd4891619a0bdd81e0ebdbf diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/.signature.p7s b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/.signature.p7s new file mode 100644 index 000000000..0b25909d7 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/.signature.p7s differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/LICENSE.TXT b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/System.Runtime.CompilerServices.Unsafe.4.5.3.nupkg b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/System.Runtime.CompilerServices.Unsafe.4.5.3.nupkg new file mode 100644 index 000000000..8519daa5a Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/System.Runtime.CompilerServices.Unsafe.4.5.3.nupkg differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/THIRD-PARTY-NOTICES.TXT b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..db542ca24 --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,309 @@ +.NET Core uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Core software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +http://www.unicode.org/copyright.html#License + +Copyright © 1991-2017 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/net461/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/net461/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..de9e12447 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/net461/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/net461/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/net461/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/net461/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..e71751092 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..b50dbc4df Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..b17135bc9 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/net461/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/net461/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..ac64866d6 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/net461/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/net461/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/net461/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/net461/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..7f71a4be0 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..50bf25927 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..6a7cfcffe --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,200 @@ + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + true if left and right point to the same location; otherwise, false. + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type TTo. + The reference to reinterpret. + The type of reference to reinterpret.. + The desired type of the reference. + A reference to a value of type TTo. + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given location as a reference to a value of type T. + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type T. + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. target - origin. + + + Copies a value of type T to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies a value of type T to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address +without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value +without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Reads a value of type T from the given location. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Reads a value of type T from the given location +without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type T read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type T. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subraction of offset from pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + + The type of reference. + A new reference that reflects the subraction of byte offset from pointer. + + + Writes a value of type T to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type T to the given location +without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/useSharedDesignerContext.txt b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/version.txt b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/version.txt new file mode 100644 index 000000000..8d6cdd69c --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.4.5.3/version.txt @@ -0,0 +1 @@ +7601f4f6225089ffb291dc7d58293c7bbf5c5d4f diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/.signature.p7s b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/.signature.p7s new file mode 100644 index 000000000..5e41892c9 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/.signature.p7s differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/Icon.png b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/Icon.png new file mode 100644 index 000000000..a0f1fdbf4 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/Icon.png differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/LICENSE.TXT b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/System.Runtime.CompilerServices.Unsafe.5.0.0.nupkg b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/System.Runtime.CompilerServices.Unsafe.5.0.0.nupkg new file mode 100644 index 000000000..426776aa0 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/System.Runtime.CompilerServices.Unsafe.5.0.0.nupkg differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/THIRD-PARTY-NOTICES.TXT b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..111dcf586 --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,884 @@ +.NET Runtime uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Runtime software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for ASP.NET +------------------------------- + +Copyright (c) .NET Foundation. All rights reserved. +Licensed under the Apache License, Version 2.0. + +Available at +https://github.com/aspnet/AspNetCore/blob/master/LICENSE.txt + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +https://www.unicode.org/license.html + +Copyright © 1991-2020 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in https://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + +License notice for Json.NET +------------------------------- + +https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md + +The MIT License (MIT) + +Copyright (c) 2007 James Newton-King + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized base64 encoding / decoding +-------------------------------------------------------- + +Copyright (c) 2005-2007, Nick Galbreath +Copyright (c) 2013-2017, Alfred Klomp +Copyright (c) 2015-2017, Wojciech Mula +Copyright (c) 2016-2017, Matthieu Darbois +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for RFC 3492 +--------------------------- + +The punycode implementation is based on the sample code in RFC 3492 + +Copyright (C) The Internet Society (2003). All Rights Reserved. + +This document and translations of it may be copied and furnished to +others, and derivative works that comment on or otherwise explain it +or assist in its implementation may be prepared, copied, published +and distributed, in whole or in part, without restriction of any +kind, provided that the above copyright notice and this paragraph are +included on all such copies and derivative works. However, this +document itself may not be modified in any way, such as by removing +the copyright notice or references to the Internet Society or other +Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for +copyrights defined in the Internet Standards process must be +followed, or as required to translate it into languages other than +English. + +The limited permissions granted above are perpetual and will not be +revoked by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an +"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING +TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING +BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION +HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF +MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +License notice for Algorithm from Internet Draft document "UUIDs and GUIDs" +--------------------------------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, or Digital Equipment Corporation be used in advertising +or publicity pertaining to distribution of the software without +specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment +Corporation makes any representations about the suitability of +this software for any purpose. + +Copyright(C) The Internet Society 1997. All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works.However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. + +License notice for Algorithm from RFC 4122 - +A Universally Unique IDentifier (UUID) URN Namespace +---------------------------------------------------- + +Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. +Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & +Digital Equipment Corporation, Maynard, Mass. +Copyright (c) 1998 Microsoft. +To anyone who acknowledges that this file is provided "AS IS" +without any express or implied warranty: permission to use, copy, +modify, and distribute this file for any purpose is hereby +granted without fee, provided that the above copyright notices and +this notice appears in all source code copies, and that none of +the names of Open Software Foundation, Inc., Hewlett-Packard +Company, Microsoft, or Digital Equipment Corporation be used in +advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Neither Open Software +Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital +Equipment Corporation makes any representations about the +suitability of this software for any purpose." + +License notice for The LLVM Compiler Infrastructure +--------------------------------------------------- + +Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.org + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal with +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE +SOFTWARE. + +License notice for Bob Jenkins +------------------------------ + +By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this +code any way you wish, private, educational, or commercial. It's free. + +License notice for Greg Parker +------------------------------ + +Greg Parker gparker@cs.stanford.edu December 2000 +This code is in the public domain and may be copied or modified without +permission. + +License notice for libunwind based code +---------------------------------------- + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for Printing Floating-Point Numbers (Dragon4) +------------------------------------------------------------ + +/****************************************************************************** + Copyright (c) 2014 Ryan Juckett + http://www.ryanjuckett.com/ + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. +******************************************************************************/ + +License notice for Printing Floating-point Numbers (Grisu3) +----------------------------------------------------------- + +Copyright 2012 the V8 project authors. All rights reserved. +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of Google Inc. nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for xxHash +------------------------- + +xxHash Library +Copyright (c) 2012-2014, Yann Collet +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Berkeley SoftFloat Release 3e +------------------------------------------------ + +https://github.com/ucb-bar/berkeley-softfloat-3 +https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt + +License for Berkeley SoftFloat Release 3e + +John R. Hauser +2018 January 20 + +The following applies to the whole of SoftFloat Release 3e as well as to +each source file individually. + +Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the +University of California. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xorshift RNGs +-------------------------------- + +George Marsaglia +2003-07-04 +Journal of Statistical Software +License: http://creativecommons.org/licenses/by/3.0/ + +https://www.jstatsoft.org/article/view/v008i14 +https://www.jstatsoft.org/index.php/jss/article/view/v008i14/xorshift.pdf + +License notice for Xorshift (Wikipedia) +--------------------------------------- + +https://en.wikipedia.org/wiki/Xorshift +License: https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License + +License for fastmod (https://github.com/lemire/fastmod) +-------------------------------------- + + Copyright 2018 Daniel Lemire + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +License notice for The C++ REST SDK +----------------------------------- + +C++ REST SDK + +The MIT License (MIT) + +Copyright (c) Microsoft Corporation + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for MessagePack-CSharp +------------------------------------- + +MessagePack for C# + +MIT License + +Copyright (c) 2017 Yoshifumi Kawai + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for lz4net +------------------------------------- + +lz4net + +Copyright (c) 2013-2017, Milosz Krajewski + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Nerdbank.Streams +----------------------------------- + +The MIT License (MIT) + +Copyright (c) Andrew Arnott + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +License notice for RapidJSON +---------------------------- + +Tencent is pleased to support the open source community by making RapidJSON available. + +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. + +Licensed under the MIT License (the "License"); you may not use this file except +in compliance with the License. You may obtain a copy of the License at + +http://opensource.org/licenses/MIT + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +License notice for DirectX Math Library +--------------------------------------- + +https://github.com/microsoft/DirectXMath/blob/master/LICENSE + + The MIT License (MIT) + +Copyright (c) 2011-2020 Microsoft Corp + +Permission is hereby granted, free of charge, to any person obtaining a copy of this +software and associated documentation files (the "Software"), to deal in the Software +without restriction, including without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be included in all copies +or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for ldap4net +--------------------------- + +The MIT License (MIT) + +Copyright (c) 2018 Alexander Chermyanin + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for vectorized sorting code +------------------------------------------ + +MIT License + +Copyright (c) 2020 Dan Shechter + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/net45/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/net45/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..1908d925a Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/net45/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/net45/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/net45/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/net45/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..487e7f0f4 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..187a8aabd Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..51974c748 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/net461/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/net461/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..ad4fbbaa6 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/net461/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/net461/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/net461/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/net461/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..5a66048f7 Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..288e1801f Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll new file mode 100644 index 000000000..537f4c7bf Binary files /dev/null and b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll differ diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.xml b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.xml new file mode 100644 index 000000000..b5dd21bfb --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.xml @@ -0,0 +1,258 @@ + + + + System.Runtime.CompilerServices.Unsafe + + + + Contains generic, low-level functionality for manipulating pointers. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of offset to pointer. + + + Adds an element offset to the given void pointer. + The void pointer to add the offset to. + The offset to add. + The type of void pointer. + A new void pointer that reflects the addition of offset to the specified pointer. + + + Adds a byte offset to the given reference. + The reference to add the offset to. + The offset to add. + The type of reference. + A new reference that reflects the addition of byte offset to pointer. + + + Determines whether the specified references point to the same location. + The first reference to compare. + The second reference to compare. + The type of reference. + + if and point to the same location; otherwise, . + + + Casts the given object to the specified type. + The object to cast. + The type which the object will be cast to. + The original object, casted to the given type. + + + Reinterprets the given reference as a reference to a value of type . + The reference to reinterpret. + The type of reference to reinterpret. + The desired type of the reference. + A reference to a value of type . + + + Returns a pointer to the given by-ref parameter. + The object whose pointer is obtained. + The type of object. + A pointer to the given value. + + + Reinterprets the given read-only reference as a reference. + The read-only reference to reinterpret. + The type of reference. + A reference to a value of type . + + + Reinterprets the given location as a reference to a value of type . + The location of the value to reference. + The type of the interpreted location. + A reference to a value of type . + + + Determines the byte offset from origin to target from the given references. + The reference to origin. + The reference to target. + The type of reference. + Byte offset from origin to target i.e. - . + + + Copies a value of type to the given location. + The location to copy to. + A pointer to the value to copy. + The type of value to copy. + + + Copies a value of type to the given location. + The location to copy to. + A reference to the value to copy. + The type of value to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. + The destination address to copy to. + The source address to copy from. + The number of bytes to copy. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. + The address of the start of the memory block to initialize. + The value to initialize the block to. + The number of bytes to initialize. + + + Returns a value that indicates whether a specified reference is greater than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is greater than ; otherwise, . + + + Returns a value that indicates whether a specified reference is less than another specified reference. + The first value to compare. + The second value to compare. + The type of the reference. + + if is less than ; otherwise, . + + + + + + + + + + Reads a value of type from the given location. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. + The location to read from. + The type to read. + An object of type read from the given location. + + + Returns the size of an object of the given type parameter. + The type of object whose size is retrieved. + The size of an object of type . + + + Bypasses definite assignment rules for a given value. + The uninitialized object. + The type of the uninitialized object. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of offset from pointer. + + + Subtracts an element offset from the given void pointer. + The void pointer to subtract the offset from. + The offset to subtract. + The type of the void pointer. + A new void pointer that reflects the subtraction of offset from the specified pointer. + + + Subtracts a byte offset from the given reference. + The reference to subtract the offset from. + The offset to subtract. + The type of reference. + A new reference that reflects the subtraction of byte offset from pointer. + + + Returns a to a boxed value. + The value to unbox. + The type to be unboxed. + + is , and is a non-nullable value type. + + is not a boxed value type. + +-or- + + is not a boxed . + + cannot be found. + A to the boxed value . + + + Writes a value of type to the given location. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. + The location to write to. + The value to write. + The type of value to write. + + + \ No newline at end of file diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/useSharedDesignerContext.txt b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/version.txt b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/version.txt new file mode 100644 index 000000000..0a6d216f5 --- /dev/null +++ b/packages/System.Runtime.CompilerServices.Unsafe.5.0.0/version.txt @@ -0,0 +1 @@ +cf258a14b70ad9069470a108f13765e0e5988f51 diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/.signature.p7s b/packages/System.Threading.Tasks.Extensions.4.5.4/.signature.p7s new file mode 100644 index 000000000..e0ee9f435 Binary files /dev/null and b/packages/System.Threading.Tasks.Extensions.4.5.4/.signature.p7s differ diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/LICENSE.TXT b/packages/System.Threading.Tasks.Extensions.4.5.4/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/System.Threading.Tasks.Extensions.4.5.4.nupkg b/packages/System.Threading.Tasks.Extensions.4.5.4/System.Threading.Tasks.Extensions.4.5.4.nupkg new file mode 100644 index 000000000..a608bc53b Binary files /dev/null and b/packages/System.Threading.Tasks.Extensions.4.5.4/System.Threading.Tasks.Extensions.4.5.4.nupkg differ diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/THIRD-PARTY-NOTICES.TXT b/packages/System.Threading.Tasks.Extensions.4.5.4/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..db542ca24 --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,309 @@ +.NET Core uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Core software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +http://www.unicode.org/copyright.html#License + +Copyright © 1991-2017 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoAndroid10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoAndroid10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoTouch10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoTouch10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.dll b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.dll new file mode 100644 index 000000000..eeec92852 Binary files /dev/null and b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.dll differ diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.xml b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.xml new file mode 100644 index 000000000..5e02a99d7 --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.xml @@ -0,0 +1,166 @@ + + + System.Threading.Tasks.Extensions + + + + + + + + + + + + + + + + + + + Provides a value type that wraps a and a TResult, only one of which is used. + The result. + + + Initializes a new instance of the class using the supplied task that represents the operation. + The task. + The task argument is null. + + + Initializes a new instance of the class using the supplied result of a successful operation. + The result. + + + Retrieves a object that represents this . + The object that is wrapped in this if one exists, or a new object that represents the result. + + + Configures an awaiter for this value. + true to attempt to marshal the continuation back to the captured context; otherwise, false. + The configured awaiter. + + + Creates a method builder for use with an async method. + The created builder. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Creates an awaiter for this value. + The awaiter. + + + Returns the hash code for this instance. + The hash code for the current object. + + + Gets a value that indicates whether this object represents a canceled operation. + true if this object represents a canceled operation; otherwise, false. + + + Gets a value that indicates whether this object represents a completed operation. + true if this object represents a completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a successfully completed operation. + true if this object represents a successfully completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a failed operation. + true if this object represents a failed operation; otherwise, false. + + + Compares two values for equality. + The first value to compare. + The second value to compare. + true if the two values are equal; otherwise, false. + + + Determines whether two values are unequal. + The first value to compare. + The seconed value to compare. + true if the two values are not equal; otherwise, false. + + + Gets the result. + The result. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netcoreapp2.1/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netcoreapp2.1/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll new file mode 100644 index 000000000..dfc4cdf62 Binary files /dev/null and b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll differ diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml new file mode 100644 index 000000000..5e02a99d7 --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml @@ -0,0 +1,166 @@ + + + System.Threading.Tasks.Extensions + + + + + + + + + + + + + + + + + + + Provides a value type that wraps a and a TResult, only one of which is used. + The result. + + + Initializes a new instance of the class using the supplied task that represents the operation. + The task. + The task argument is null. + + + Initializes a new instance of the class using the supplied result of a successful operation. + The result. + + + Retrieves a object that represents this . + The object that is wrapped in this if one exists, or a new object that represents the result. + + + Configures an awaiter for this value. + true to attempt to marshal the continuation back to the captured context; otherwise, false. + The configured awaiter. + + + Creates a method builder for use with an async method. + The created builder. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Creates an awaiter for this value. + The awaiter. + + + Returns the hash code for this instance. + The hash code for the current object. + + + Gets a value that indicates whether this object represents a canceled operation. + true if this object represents a canceled operation; otherwise, false. + + + Gets a value that indicates whether this object represents a completed operation. + true if this object represents a completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a successfully completed operation. + true if this object represents a successfully completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a failed operation. + true if this object represents a failed operation; otherwise, false. + + + Compares two values for equality. + The first value to compare. + The second value to compare. + true if the two values are equal; otherwise, false. + + + Determines whether two values are unequal. + The first value to compare. + The seconed value to compare. + true if the two values are not equal; otherwise, false. + + + Gets the result. + The result. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll new file mode 100644 index 000000000..dfab23478 Binary files /dev/null and b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll differ diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.xml b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.xml new file mode 100644 index 000000000..5e02a99d7 --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.xml @@ -0,0 +1,166 @@ + + + System.Threading.Tasks.Extensions + + + + + + + + + + + + + + + + + + + Provides a value type that wraps a and a TResult, only one of which is used. + The result. + + + Initializes a new instance of the class using the supplied task that represents the operation. + The task. + The task argument is null. + + + Initializes a new instance of the class using the supplied result of a successful operation. + The result. + + + Retrieves a object that represents this . + The object that is wrapped in this if one exists, or a new object that represents the result. + + + Configures an awaiter for this value. + true to attempt to marshal the continuation back to the captured context; otherwise, false. + The configured awaiter. + + + Creates a method builder for use with an async method. + The created builder. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Creates an awaiter for this value. + The awaiter. + + + Returns the hash code for this instance. + The hash code for the current object. + + + Gets a value that indicates whether this object represents a canceled operation. + true if this object represents a canceled operation; otherwise, false. + + + Gets a value that indicates whether this object represents a completed operation. + true if this object represents a completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a successfully completed operation. + true if this object represents a successfully completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a failed operation. + true if this object represents a failed operation; otherwise, false. + + + Compares two values for equality. + The first value to compare. + The second value to compare. + true if the two values are equal; otherwise, false. + + + Determines whether two values are unequal. + The first value to compare. + The seconed value to compare. + true if the two values are not equal; otherwise, false. + + + Gets the result. + The result. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll new file mode 100644 index 000000000..dfc4cdf62 Binary files /dev/null and b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll differ diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml new file mode 100644 index 000000000..5e02a99d7 --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml @@ -0,0 +1,166 @@ + + + System.Threading.Tasks.Extensions + + + + + + + + + + + + + + + + + + + Provides a value type that wraps a and a TResult, only one of which is used. + The result. + + + Initializes a new instance of the class using the supplied task that represents the operation. + The task. + The task argument is null. + + + Initializes a new instance of the class using the supplied result of a successful operation. + The result. + + + Retrieves a object that represents this . + The object that is wrapped in this if one exists, or a new object that represents the result. + + + Configures an awaiter for this value. + true to attempt to marshal the continuation back to the captured context; otherwise, false. + The configured awaiter. + + + Creates a method builder for use with an async method. + The created builder. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Determines whether the specified object is equal to the current object. + The object to compare with the current object. + true if the specified object is equal to the current object; otherwise, false. + + + Creates an awaiter for this value. + The awaiter. + + + Returns the hash code for this instance. + The hash code for the current object. + + + Gets a value that indicates whether this object represents a canceled operation. + true if this object represents a canceled operation; otherwise, false. + + + Gets a value that indicates whether this object represents a completed operation. + true if this object represents a completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a successfully completed operation. + true if this object represents a successfully completed operation; otherwise, false. + + + Gets a value that indicates whether this object represents a failed operation. + true if this object represents a failed operation; otherwise, false. + + + Compares two values for equality. + The first value to compare. + The second value to compare. + true if the two values are equal; otherwise, false. + + + Determines whether two values are unequal. + The first value to compare. + The seconed value to compare. + true if the two values are not equal; otherwise, false. + + + Gets the result. + The result. + + + Returns a string that represents the current object. + A string that represents the current object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinios10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinios10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinmac20/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinmac20/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarintvos10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarintvos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinwatchos10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinwatchos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoAndroid10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoAndroid10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoTouch10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoTouch10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/netcoreapp2.1/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/netcoreapp2.1/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinios10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinios10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinmac20/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinmac20/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarintvos10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarintvos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinwatchos10/_._ b/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinwatchos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/useSharedDesignerContext.txt b/packages/System.Threading.Tasks.Extensions.4.5.4/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.Threading.Tasks.Extensions.4.5.4/version.txt b/packages/System.Threading.Tasks.Extensions.4.5.4/version.txt new file mode 100644 index 000000000..8d6cdd69c --- /dev/null +++ b/packages/System.Threading.Tasks.Extensions.4.5.4/version.txt @@ -0,0 +1 @@ +7601f4f6225089ffb291dc7d58293c7bbf5c5d4f diff --git a/packages/System.ValueTuple.4.5.0/.signature.p7s b/packages/System.ValueTuple.4.5.0/.signature.p7s new file mode 100644 index 000000000..355e38418 Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/.signature.p7s differ diff --git a/packages/System.ValueTuple.4.5.0/LICENSE.TXT b/packages/System.ValueTuple.4.5.0/LICENSE.TXT new file mode 100644 index 000000000..984713a49 --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/LICENSE.TXT @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) .NET Foundation and Contributors + +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/System.ValueTuple.4.5.0/System.ValueTuple.4.5.0.nupkg b/packages/System.ValueTuple.4.5.0/System.ValueTuple.4.5.0.nupkg new file mode 100644 index 000000000..595280b82 Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/System.ValueTuple.4.5.0.nupkg differ diff --git a/packages/System.ValueTuple.4.5.0/THIRD-PARTY-NOTICES.TXT b/packages/System.ValueTuple.4.5.0/THIRD-PARTY-NOTICES.TXT new file mode 100644 index 000000000..db542ca24 --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/THIRD-PARTY-NOTICES.TXT @@ -0,0 +1,309 @@ +.NET Core uses third-party libraries or other resources that may be +distributed under licenses different than the .NET Core software. + +In the event that we accidentally failed to list a required notice, please +bring it to our attention. Post an issue or email us: + + dotnet@microsoft.com + +The attached notices are provided for information only. + +License notice for Slicing-by-8 +------------------------------- + +http://sourceforge.net/projects/slicing-by-8/ + +Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + + +This software program is licensed subject to the BSD License, available at +http://www.opensource.org/licenses/bsd-license.html. + + +License notice for Unicode data +------------------------------- + +http://www.unicode.org/copyright.html#License + +Copyright © 1991-2017 Unicode, Inc. All rights reserved. +Distributed under the Terms of Use in http://www.unicode.org/copyright.html. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Unicode data files and any associated documentation +(the "Data Files") or Unicode software and any associated documentation +(the "Software") to deal in the Data Files or Software +without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, and/or sell copies of +the Data Files or Software, and to permit persons to whom the Data Files +or Software are furnished to do so, provided that either +(a) this copyright and permission notice appear with all copies +of the Data Files or Software, or +(b) this copyright and permission notice appear in associated +Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS +NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL +DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THE DATA FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder +shall not be used in advertising or otherwise to promote the sale, +use or other dealings in these Data Files or Software without prior +written authorization of the copyright holder. + +License notice for Zlib +----------------------- + +https://github.com/madler/zlib +http://zlib.net/zlib_license.html + +/* zlib.h -- interface of the 'zlib' general purpose compression library + version 1.2.11, January 15th, 2017 + + Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +*/ + +License notice for Mono +------------------------------- + +http://www.mono-project.com/docs/about-mono/ + +Copyright (c) .NET Foundation Contributors + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the Software), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License notice for International Organization for Standardization +----------------------------------------------------------------- + +Portions (C) International Organization for Standardization 1986: + Permission to copy in any form is granted for use with + conforming SGML systems and applications as defined in + ISO 8879, provided this notice is included in all copies. + +License notice for Intel +------------------------ + +"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License notice for Xamarin and Novell +------------------------------------- + +Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Copyright (c) 2011 Novell, Inc (http://www.novell.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Third party notice for W3C +-------------------------- + +"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE +Status: This license takes effect 13 May, 2015. +This work is being provided by the copyright holders under the following license. +License +By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. +Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: +The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. +Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. +Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." +Disclaimers +THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." + +License notice for Bit Twiddling Hacks +-------------------------------------- + +Bit Twiddling Hacks + +By Sean Eron Anderson +seander@cs.stanford.edu + +Individually, the code snippets here are in the public domain (unless otherwise +noted) — feel free to use them however you please. The aggregate collection and +descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are +distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and +without even the implied warranty of merchantability or fitness for a particular +purpose. + +License notice for Brotli +-------------------------------------- + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +compress_fragment.c: +Copyright (c) 2011, Google Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +decode_fuzzer.c: +Copyright (c) 2015 The Chromium Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." + diff --git a/packages/System.ValueTuple.4.5.0/lib/MonoAndroid10/_._ b/packages/System.ValueTuple.4.5.0/lib/MonoAndroid10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/MonoTouch10/_._ b/packages/System.ValueTuple.4.5.0/lib/MonoTouch10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/net461/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/lib/net461/System.ValueTuple.dll new file mode 100644 index 000000000..1cadbf3ee Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/lib/net461/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/lib/net461/System.ValueTuple.xml b/packages/System.ValueTuple.4.5.0/lib/net461/System.ValueTuple.xml new file mode 100644 index 000000000..6dcce66fd --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/lib/net461/System.ValueTuple.xml @@ -0,0 +1,1299 @@ + + + + System.ValueTuple + + + + + Indicates that the use of on a member is meant to be treated as a tuple with element names. + + + + + Initializes a new instance of the class. + + + Specifies, in a pre-order depth-first traversal of a type's + construction, which occurrences are + meant to carry element names. + + + This constructor is meant to be used on types that contain an + instantiation of that contains + element names. For instance, if C is a generic type with + two type parameters, then a use of the constructed type C{, might be intended to + treat the first type argument as a tuple with element names and the + second as a tuple without element names. In which case, the + appropriate attribute specification should use a + transformNames value of { "name1", "name2", null, null, + null }. + + + + + Specifies, in a pre-order depth-first traversal of a type's + construction, which elements are + meant to carry element names. + + + + + Provides extension methods for instances to interop with C# tuples features (deconstruction syntax, converting from and to ). + + + + + Deconstruct a properly nested with 1 elements. + + + + + Deconstruct a properly nested with 2 elements. + + + + + Deconstruct a properly nested with 3 elements. + + + + + Deconstruct a properly nested with 4 elements. + + + + + Deconstruct a properly nested with 5 elements. + + + + + Deconstruct a properly nested with 6 elements. + + + + + Deconstruct a properly nested with 7 elements. + + + + + Deconstruct a properly nested with 8 elements. + + + + + Deconstruct a properly nested with 9 elements. + + + + + Deconstruct a properly nested with 10 elements. + + + + + Deconstruct a properly nested with 11 elements. + + + + + Deconstruct a properly nested with 12 elements. + + + + + Deconstruct a properly nested with 13 elements. + + + + + Deconstruct a properly nested with 14 elements. + + + + + Deconstruct a properly nested with 15 elements. + + + + + Deconstruct a properly nested with 16 elements. + + + + + Deconstruct a properly nested with 17 elements. + + + + + Deconstruct a properly nested with 18 elements. + + + + + Deconstruct a properly nested with 19 elements. + + + + + Deconstruct a properly nested with 20 elements. + + + + + Deconstruct a properly nested with 21 elements. + + + + + Make a properly nested from a properly nested with 1 element. + + + + + Make a properly nested from a properly nested with 2 elements. + + + + + Make a properly nested from a properly nested with 3 elements. + + + + + Make a properly nested from a properly nested with 4 elements. + + + + + Make a properly nested from a properly nested with 5 elements. + + + + + Make a properly nested from a properly nested with 6 elements. + + + + + Make a properly nested from a properly nested with 7 elements. + + + + + Make a properly nested from a properly nested with 8 elements. + + + + + Make a properly nested from a properly nested with 9 elements. + + + + + Make a properly nested from a properly nested with 10 elements. + + + + + Make a properly nested from a properly nested with 11 elements. + + + + + Make a properly nested from a properly nested with 12 elements. + + + + + Make a properly nested from a properly nested with 13 elements. + + + + + Make a properly nested from a properly nested with 14 elements. + + + + + Make a properly nested from a properly nested with 15 elements. + + + + + Make a properly nested from a properly nested with 16 elements. + + + + + Make a properly nested from a properly nested with 17 elements. + + + + + Make a properly nested from a properly nested with 18 elements. + + + + + Make a properly nested from a properly nested with 19 elements. + + + + + Make a properly nested from a properly nested with 20 elements. + + + + + Make a properly nested from a properly nested with 21 elements. + + + + + Make a properly nested from a properly nested with 1 element. + + + + + Make a properly nested from a properly nested with 2 elements. + + + + + Make a properly nested from a properly nested with 3 elements. + + + + + Make a properly nested from a properly nested with 4 elements. + + + + + Make a properly nested from a properly nested with 5 elements. + + + + + Make a properly nested from a properly nested with 6 elements. + + + + + Make a properly nested from a properly nested with 7 elements. + + + + + Make a properly nested from a properly nested with 8 elements. + + + + + Make a properly nested from a properly nested with 9 elements. + + + + + Make a properly nested from a properly nested with 10 elements. + + + + + Make a properly nested from a properly nested with 11 elements. + + + + + Make a properly nested from a properly nested with 12 elements. + + + + + Make a properly nested from a properly nested with 13 elements. + + + + + Make a properly nested from a properly nested with 14 elements. + + + + + Make a properly nested from a properly nested with 15 elements. + + + + + Make a properly nested from a properly nested with 16 elements. + + + + + Make a properly nested from a properly nested with 17 elements. + + + + + Make a properly nested from a properly nested with 18 elements. + + + + + Make a properly nested from a properly nested with 19 elements. + + + + + Make a properly nested from a properly nested with 20 elements. + + + + + Make a properly nested from a properly nested with 21 elements. + + + + + Helper so we can call some tuple methods recursively without knowing the underlying types. + + + + + The ValueTuple types (from arity 0 to 8) comprise the runtime implementation that underlies tuples in C# and struct tuples in F#. + Aside from created via language syntax, they are most easily created via the ValueTuple.Create factory methods. + The System.ValueTuple types differ from the System.Tuple types in that: + - they are structs rather than classes, + - they are mutable rather than readonly, and + - their members (such as Item1, Item2, etc) are fields rather than properties. + + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if is a . + + + Returns a value indicating whether this instance is equal to a specified value. + An instance to compare to this instance. + true if has the same value as this instance; otherwise, false. + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + Returns the hash code for this instance. + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (). + + + + Creates a new struct 0-tuple. + A 0-tuple. + + + Creates a new struct 1-tuple, or singleton. + The type of the first component of the tuple. + The value of the first component of the tuple. + A 1-tuple (singleton) whose value is (item1). + + + Creates a new struct 2-tuple, or pair. + The type of the first component of the tuple. + The type of the second component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + A 2-tuple (pair) whose value is (item1, item2). + + + Creates a new struct 3-tuple, or triple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + A 3-tuple (triple) whose value is (item1, item2, item3). + + + Creates a new struct 4-tuple, or quadruple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + A 4-tuple (quadruple) whose value is (item1, item2, item3, item4). + + + Creates a new struct 5-tuple, or quintuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + A 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). + + + Creates a new struct 6-tuple, or sextuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + A 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). + + + Creates a new struct 7-tuple, or septuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The type of the seventh component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + The value of the seventh component of the tuple. + A 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). + + + Creates a new struct 8-tuple, or octuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The type of the seventh component of the tuple. + The type of the eighth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + The value of the seventh component of the tuple. + The value of the eighth component of the tuple. + An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). + + + Represents a 1-tuple, or singleton, as a value type. + The type of the tuple's only component. + + + + The current instance's first component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its field + is equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1), + where Item1 represents the value of . If the field is , + it is represented as . + + + + + Represents a 2-tuple, or pair, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + + Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method. + + The object to compare with this instance. + An object that defines the method to use to evaluate whether the two objects are equal. + if the current instance is equal to the specified object; otherwise, . + + + This member is an explicit interface member implementation. It can be used only when the + instance is cast to an interface. + + The implementation is called only if other is not , + and if it can be successfully cast (in C#) or converted (in Visual Basic) to a + whose components are of the same types as those of the current instance. The IStructuralEquatable.Equals(Object, IEqualityComparer) method + first passes the values of the objects to be compared to the + implementation. If this method call returns , the method is + called again and passed the values of the two instances. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2), + where Item1 and Item2 represent the values of the + and fields. If either field value is , + it is represented as . + + + + + Represents a 3-tuple, or triple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3). + If any field value is , it is represented as . + + + + + Represents a 4-tuple, or quadruple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4). + If any field value is , it is represented as . + + + + + Represents a 5-tuple, or quintuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5). + If any field value is , it is represented as . + + + + + Represents a 6-tuple, or sixtuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6). + If any field value is , it is represented as . + + + + + Represents a 7-tuple, or sentuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + The type of the tuple's seventh component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + The current instance's seventh component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + The value of the tuple's seventh component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7). + If any field value is , it is represented as . + + + + + Represents an 8-tuple, or octuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + The type of the tuple's seventh component. + The type of the tuple's eighth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + The current instance's seventh component. + + + + + The current instance's eighth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + The value of the tuple's seventh component. + The value of the tuple's eight component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Rest). + If any field value is , it is represented as . + + + + diff --git a/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.dll new file mode 100644 index 000000000..4ce28fdea Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.xml b/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.xml new file mode 100644 index 000000000..1151832fc --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.xml @@ -0,0 +1,8 @@ + + + + System.ValueTuple + + + + diff --git a/packages/System.ValueTuple.4.5.0/lib/netcoreapp2.0/_._ b/packages/System.ValueTuple.4.5.0/lib/netcoreapp2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/netstandard1.0/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/lib/netstandard1.0/System.ValueTuple.dll new file mode 100644 index 000000000..65fa9eeea Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/lib/netstandard1.0/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/lib/netstandard1.0/System.ValueTuple.xml b/packages/System.ValueTuple.4.5.0/lib/netstandard1.0/System.ValueTuple.xml new file mode 100644 index 000000000..6dcce66fd --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/lib/netstandard1.0/System.ValueTuple.xml @@ -0,0 +1,1299 @@ + + + + System.ValueTuple + + + + + Indicates that the use of on a member is meant to be treated as a tuple with element names. + + + + + Initializes a new instance of the class. + + + Specifies, in a pre-order depth-first traversal of a type's + construction, which occurrences are + meant to carry element names. + + + This constructor is meant to be used on types that contain an + instantiation of that contains + element names. For instance, if C is a generic type with + two type parameters, then a use of the constructed type C{, might be intended to + treat the first type argument as a tuple with element names and the + second as a tuple without element names. In which case, the + appropriate attribute specification should use a + transformNames value of { "name1", "name2", null, null, + null }. + + + + + Specifies, in a pre-order depth-first traversal of a type's + construction, which elements are + meant to carry element names. + + + + + Provides extension methods for instances to interop with C# tuples features (deconstruction syntax, converting from and to ). + + + + + Deconstruct a properly nested with 1 elements. + + + + + Deconstruct a properly nested with 2 elements. + + + + + Deconstruct a properly nested with 3 elements. + + + + + Deconstruct a properly nested with 4 elements. + + + + + Deconstruct a properly nested with 5 elements. + + + + + Deconstruct a properly nested with 6 elements. + + + + + Deconstruct a properly nested with 7 elements. + + + + + Deconstruct a properly nested with 8 elements. + + + + + Deconstruct a properly nested with 9 elements. + + + + + Deconstruct a properly nested with 10 elements. + + + + + Deconstruct a properly nested with 11 elements. + + + + + Deconstruct a properly nested with 12 elements. + + + + + Deconstruct a properly nested with 13 elements. + + + + + Deconstruct a properly nested with 14 elements. + + + + + Deconstruct a properly nested with 15 elements. + + + + + Deconstruct a properly nested with 16 elements. + + + + + Deconstruct a properly nested with 17 elements. + + + + + Deconstruct a properly nested with 18 elements. + + + + + Deconstruct a properly nested with 19 elements. + + + + + Deconstruct a properly nested with 20 elements. + + + + + Deconstruct a properly nested with 21 elements. + + + + + Make a properly nested from a properly nested with 1 element. + + + + + Make a properly nested from a properly nested with 2 elements. + + + + + Make a properly nested from a properly nested with 3 elements. + + + + + Make a properly nested from a properly nested with 4 elements. + + + + + Make a properly nested from a properly nested with 5 elements. + + + + + Make a properly nested from a properly nested with 6 elements. + + + + + Make a properly nested from a properly nested with 7 elements. + + + + + Make a properly nested from a properly nested with 8 elements. + + + + + Make a properly nested from a properly nested with 9 elements. + + + + + Make a properly nested from a properly nested with 10 elements. + + + + + Make a properly nested from a properly nested with 11 elements. + + + + + Make a properly nested from a properly nested with 12 elements. + + + + + Make a properly nested from a properly nested with 13 elements. + + + + + Make a properly nested from a properly nested with 14 elements. + + + + + Make a properly nested from a properly nested with 15 elements. + + + + + Make a properly nested from a properly nested with 16 elements. + + + + + Make a properly nested from a properly nested with 17 elements. + + + + + Make a properly nested from a properly nested with 18 elements. + + + + + Make a properly nested from a properly nested with 19 elements. + + + + + Make a properly nested from a properly nested with 20 elements. + + + + + Make a properly nested from a properly nested with 21 elements. + + + + + Make a properly nested from a properly nested with 1 element. + + + + + Make a properly nested from a properly nested with 2 elements. + + + + + Make a properly nested from a properly nested with 3 elements. + + + + + Make a properly nested from a properly nested with 4 elements. + + + + + Make a properly nested from a properly nested with 5 elements. + + + + + Make a properly nested from a properly nested with 6 elements. + + + + + Make a properly nested from a properly nested with 7 elements. + + + + + Make a properly nested from a properly nested with 8 elements. + + + + + Make a properly nested from a properly nested with 9 elements. + + + + + Make a properly nested from a properly nested with 10 elements. + + + + + Make a properly nested from a properly nested with 11 elements. + + + + + Make a properly nested from a properly nested with 12 elements. + + + + + Make a properly nested from a properly nested with 13 elements. + + + + + Make a properly nested from a properly nested with 14 elements. + + + + + Make a properly nested from a properly nested with 15 elements. + + + + + Make a properly nested from a properly nested with 16 elements. + + + + + Make a properly nested from a properly nested with 17 elements. + + + + + Make a properly nested from a properly nested with 18 elements. + + + + + Make a properly nested from a properly nested with 19 elements. + + + + + Make a properly nested from a properly nested with 20 elements. + + + + + Make a properly nested from a properly nested with 21 elements. + + + + + Helper so we can call some tuple methods recursively without knowing the underlying types. + + + + + The ValueTuple types (from arity 0 to 8) comprise the runtime implementation that underlies tuples in C# and struct tuples in F#. + Aside from created via language syntax, they are most easily created via the ValueTuple.Create factory methods. + The System.ValueTuple types differ from the System.Tuple types in that: + - they are structs rather than classes, + - they are mutable rather than readonly, and + - their members (such as Item1, Item2, etc) are fields rather than properties. + + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if is a . + + + Returns a value indicating whether this instance is equal to a specified value. + An instance to compare to this instance. + true if has the same value as this instance; otherwise, false. + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + Returns the hash code for this instance. + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (). + + + + Creates a new struct 0-tuple. + A 0-tuple. + + + Creates a new struct 1-tuple, or singleton. + The type of the first component of the tuple. + The value of the first component of the tuple. + A 1-tuple (singleton) whose value is (item1). + + + Creates a new struct 2-tuple, or pair. + The type of the first component of the tuple. + The type of the second component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + A 2-tuple (pair) whose value is (item1, item2). + + + Creates a new struct 3-tuple, or triple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + A 3-tuple (triple) whose value is (item1, item2, item3). + + + Creates a new struct 4-tuple, or quadruple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + A 4-tuple (quadruple) whose value is (item1, item2, item3, item4). + + + Creates a new struct 5-tuple, or quintuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + A 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). + + + Creates a new struct 6-tuple, or sextuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + A 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). + + + Creates a new struct 7-tuple, or septuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The type of the seventh component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + The value of the seventh component of the tuple. + A 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). + + + Creates a new struct 8-tuple, or octuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The type of the seventh component of the tuple. + The type of the eighth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + The value of the seventh component of the tuple. + The value of the eighth component of the tuple. + An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). + + + Represents a 1-tuple, or singleton, as a value type. + The type of the tuple's only component. + + + + The current instance's first component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its field + is equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1), + where Item1 represents the value of . If the field is , + it is represented as . + + + + + Represents a 2-tuple, or pair, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + + Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method. + + The object to compare with this instance. + An object that defines the method to use to evaluate whether the two objects are equal. + if the current instance is equal to the specified object; otherwise, . + + + This member is an explicit interface member implementation. It can be used only when the + instance is cast to an interface. + + The implementation is called only if other is not , + and if it can be successfully cast (in C#) or converted (in Visual Basic) to a + whose components are of the same types as those of the current instance. The IStructuralEquatable.Equals(Object, IEqualityComparer) method + first passes the values of the objects to be compared to the + implementation. If this method call returns , the method is + called again and passed the values of the two instances. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2), + where Item1 and Item2 represent the values of the + and fields. If either field value is , + it is represented as . + + + + + Represents a 3-tuple, or triple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3). + If any field value is , it is represented as . + + + + + Represents a 4-tuple, or quadruple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4). + If any field value is , it is represented as . + + + + + Represents a 5-tuple, or quintuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5). + If any field value is , it is represented as . + + + + + Represents a 6-tuple, or sixtuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6). + If any field value is , it is represented as . + + + + + Represents a 7-tuple, or sentuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + The type of the tuple's seventh component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + The current instance's seventh component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + The value of the tuple's seventh component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7). + If any field value is , it is represented as . + + + + + Represents an 8-tuple, or octuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + The type of the tuple's seventh component. + The type of the tuple's eighth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + The current instance's seventh component. + + + + + The current instance's eighth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + The value of the tuple's seventh component. + The value of the tuple's eight component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Rest). + If any field value is , it is represented as . + + + + diff --git a/packages/System.ValueTuple.4.5.0/lib/netstandard2.0/_._ b/packages/System.ValueTuple.4.5.0/lib/netstandard2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/portable-net40+sl4+win8+wp8/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/lib/portable-net40+sl4+win8+wp8/System.ValueTuple.dll new file mode 100644 index 000000000..b63769a4e Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/lib/portable-net40+sl4+win8+wp8/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/lib/portable-net40+sl4+win8+wp8/System.ValueTuple.xml b/packages/System.ValueTuple.4.5.0/lib/portable-net40+sl4+win8+wp8/System.ValueTuple.xml new file mode 100644 index 000000000..6dcce66fd --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/lib/portable-net40+sl4+win8+wp8/System.ValueTuple.xml @@ -0,0 +1,1299 @@ + + + + System.ValueTuple + + + + + Indicates that the use of on a member is meant to be treated as a tuple with element names. + + + + + Initializes a new instance of the class. + + + Specifies, in a pre-order depth-first traversal of a type's + construction, which occurrences are + meant to carry element names. + + + This constructor is meant to be used on types that contain an + instantiation of that contains + element names. For instance, if C is a generic type with + two type parameters, then a use of the constructed type C{, might be intended to + treat the first type argument as a tuple with element names and the + second as a tuple without element names. In which case, the + appropriate attribute specification should use a + transformNames value of { "name1", "name2", null, null, + null }. + + + + + Specifies, in a pre-order depth-first traversal of a type's + construction, which elements are + meant to carry element names. + + + + + Provides extension methods for instances to interop with C# tuples features (deconstruction syntax, converting from and to ). + + + + + Deconstruct a properly nested with 1 elements. + + + + + Deconstruct a properly nested with 2 elements. + + + + + Deconstruct a properly nested with 3 elements. + + + + + Deconstruct a properly nested with 4 elements. + + + + + Deconstruct a properly nested with 5 elements. + + + + + Deconstruct a properly nested with 6 elements. + + + + + Deconstruct a properly nested with 7 elements. + + + + + Deconstruct a properly nested with 8 elements. + + + + + Deconstruct a properly nested with 9 elements. + + + + + Deconstruct a properly nested with 10 elements. + + + + + Deconstruct a properly nested with 11 elements. + + + + + Deconstruct a properly nested with 12 elements. + + + + + Deconstruct a properly nested with 13 elements. + + + + + Deconstruct a properly nested with 14 elements. + + + + + Deconstruct a properly nested with 15 elements. + + + + + Deconstruct a properly nested with 16 elements. + + + + + Deconstruct a properly nested with 17 elements. + + + + + Deconstruct a properly nested with 18 elements. + + + + + Deconstruct a properly nested with 19 elements. + + + + + Deconstruct a properly nested with 20 elements. + + + + + Deconstruct a properly nested with 21 elements. + + + + + Make a properly nested from a properly nested with 1 element. + + + + + Make a properly nested from a properly nested with 2 elements. + + + + + Make a properly nested from a properly nested with 3 elements. + + + + + Make a properly nested from a properly nested with 4 elements. + + + + + Make a properly nested from a properly nested with 5 elements. + + + + + Make a properly nested from a properly nested with 6 elements. + + + + + Make a properly nested from a properly nested with 7 elements. + + + + + Make a properly nested from a properly nested with 8 elements. + + + + + Make a properly nested from a properly nested with 9 elements. + + + + + Make a properly nested from a properly nested with 10 elements. + + + + + Make a properly nested from a properly nested with 11 elements. + + + + + Make a properly nested from a properly nested with 12 elements. + + + + + Make a properly nested from a properly nested with 13 elements. + + + + + Make a properly nested from a properly nested with 14 elements. + + + + + Make a properly nested from a properly nested with 15 elements. + + + + + Make a properly nested from a properly nested with 16 elements. + + + + + Make a properly nested from a properly nested with 17 elements. + + + + + Make a properly nested from a properly nested with 18 elements. + + + + + Make a properly nested from a properly nested with 19 elements. + + + + + Make a properly nested from a properly nested with 20 elements. + + + + + Make a properly nested from a properly nested with 21 elements. + + + + + Make a properly nested from a properly nested with 1 element. + + + + + Make a properly nested from a properly nested with 2 elements. + + + + + Make a properly nested from a properly nested with 3 elements. + + + + + Make a properly nested from a properly nested with 4 elements. + + + + + Make a properly nested from a properly nested with 5 elements. + + + + + Make a properly nested from a properly nested with 6 elements. + + + + + Make a properly nested from a properly nested with 7 elements. + + + + + Make a properly nested from a properly nested with 8 elements. + + + + + Make a properly nested from a properly nested with 9 elements. + + + + + Make a properly nested from a properly nested with 10 elements. + + + + + Make a properly nested from a properly nested with 11 elements. + + + + + Make a properly nested from a properly nested with 12 elements. + + + + + Make a properly nested from a properly nested with 13 elements. + + + + + Make a properly nested from a properly nested with 14 elements. + + + + + Make a properly nested from a properly nested with 15 elements. + + + + + Make a properly nested from a properly nested with 16 elements. + + + + + Make a properly nested from a properly nested with 17 elements. + + + + + Make a properly nested from a properly nested with 18 elements. + + + + + Make a properly nested from a properly nested with 19 elements. + + + + + Make a properly nested from a properly nested with 20 elements. + + + + + Make a properly nested from a properly nested with 21 elements. + + + + + Helper so we can call some tuple methods recursively without knowing the underlying types. + + + + + The ValueTuple types (from arity 0 to 8) comprise the runtime implementation that underlies tuples in C# and struct tuples in F#. + Aside from created via language syntax, they are most easily created via the ValueTuple.Create factory methods. + The System.ValueTuple types differ from the System.Tuple types in that: + - they are structs rather than classes, + - they are mutable rather than readonly, and + - their members (such as Item1, Item2, etc) are fields rather than properties. + + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if is a . + + + Returns a value indicating whether this instance is equal to a specified value. + An instance to compare to this instance. + true if has the same value as this instance; otherwise, false. + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + Returns the hash code for this instance. + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (). + + + + Creates a new struct 0-tuple. + A 0-tuple. + + + Creates a new struct 1-tuple, or singleton. + The type of the first component of the tuple. + The value of the first component of the tuple. + A 1-tuple (singleton) whose value is (item1). + + + Creates a new struct 2-tuple, or pair. + The type of the first component of the tuple. + The type of the second component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + A 2-tuple (pair) whose value is (item1, item2). + + + Creates a new struct 3-tuple, or triple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + A 3-tuple (triple) whose value is (item1, item2, item3). + + + Creates a new struct 4-tuple, or quadruple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + A 4-tuple (quadruple) whose value is (item1, item2, item3, item4). + + + Creates a new struct 5-tuple, or quintuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + A 5-tuple (quintuple) whose value is (item1, item2, item3, item4, item5). + + + Creates a new struct 6-tuple, or sextuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + A 6-tuple (sextuple) whose value is (item1, item2, item3, item4, item5, item6). + + + Creates a new struct 7-tuple, or septuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The type of the seventh component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + The value of the seventh component of the tuple. + A 7-tuple (septuple) whose value is (item1, item2, item3, item4, item5, item6, item7). + + + Creates a new struct 8-tuple, or octuple. + The type of the first component of the tuple. + The type of the second component of the tuple. + The type of the third component of the tuple. + The type of the fourth component of the tuple. + The type of the fifth component of the tuple. + The type of the sixth component of the tuple. + The type of the seventh component of the tuple. + The type of the eighth component of the tuple. + The value of the first component of the tuple. + The value of the second component of the tuple. + The value of the third component of the tuple. + The value of the fourth component of the tuple. + The value of the fifth component of the tuple. + The value of the sixth component of the tuple. + The value of the seventh component of the tuple. + The value of the eighth component of the tuple. + An 8-tuple (octuple) whose value is (item1, item2, item3, item4, item5, item6, item7, item8). + + + Represents a 1-tuple, or singleton, as a value type. + The type of the tuple's only component. + + + + The current instance's first component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its field + is equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1), + where Item1 represents the value of . If the field is , + it is represented as . + + + + + Represents a 2-tuple, or pair, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + + Returns a value that indicates whether the current instance is equal to a specified object based on a specified comparison method. + + The object to compare with this instance. + An object that defines the method to use to evaluate whether the two objects are equal. + if the current instance is equal to the specified object; otherwise, . + + + This member is an explicit interface member implementation. It can be used only when the + instance is cast to an interface. + + The implementation is called only if other is not , + and if it can be successfully cast (in C#) or converted (in Visual Basic) to a + whose components are of the same types as those of the current instance. The IStructuralEquatable.Equals(Object, IEqualityComparer) method + first passes the values of the objects to be compared to the + implementation. If this method call returns , the method is + called again and passed the values of the two instances. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2), + where Item1 and Item2 represent the values of the + and fields. If either field value is , + it is represented as . + + + + + Represents a 3-tuple, or triple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3). + If any field value is , it is represented as . + + + + + Represents a 4-tuple, or quadruple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4). + If any field value is , it is represented as . + + + + + Represents a 5-tuple, or quintuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5). + If any field value is , it is represented as . + + + + + Represents a 6-tuple, or sixtuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6). + If any field value is , it is represented as . + + + + + Represents a 7-tuple, or sentuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + The type of the tuple's seventh component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + The current instance's seventh component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + The value of the tuple's seventh component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7). + If any field value is , it is represented as . + + + + + Represents an 8-tuple, or octuple, as a value type. + + The type of the tuple's first component. + The type of the tuple's second component. + The type of the tuple's third component. + The type of the tuple's fourth component. + The type of the tuple's fifth component. + The type of the tuple's sixth component. + The type of the tuple's seventh component. + The type of the tuple's eighth component. + + + + The current instance's first component. + + + + + The current instance's second component. + + + + + The current instance's third component. + + + + + The current instance's fourth component. + + + + + The current instance's fifth component. + + + + + The current instance's sixth component. + + + + + The current instance's seventh component. + + + + + The current instance's eighth component. + + + + + Initializes a new instance of the value type. + + The value of the tuple's first component. + The value of the tuple's second component. + The value of the tuple's third component. + The value of the tuple's fourth component. + The value of the tuple's fifth component. + The value of the tuple's sixth component. + The value of the tuple's seventh component. + The value of the tuple's eight component. + + + + Returns a value that indicates whether the current instance is equal to a specified object. + + The object to compare with this instance. + if the current instance is equal to the specified object; otherwise, . + + The parameter is considered to be equal to the current instance under the following conditions: + + It is a value type. + Its components are of the same types as those of the current instance. + Its components are equal to those of the current instance. Equality is determined by the default object equality comparer for each component. + + + + + + Returns a value that indicates whether the current + instance is equal to a specified . + + The tuple to compare with this instance. + if the current instance is equal to the specified tuple; otherwise, . + + The parameter is considered to be equal to the current instance if each of its fields + are equal to that of the current instance, using the default comparer for that field's type. + + + + Compares this instance to a specified instance and returns an indication of their relative values. + An instance to compare. + + A signed number indicating the relative values of this instance and . + Returns less than zero if this instance is less than , zero if this + instance is equal to , and greater than zero if this instance is greater + than . + + + + + Returns the hash code for the current instance. + + A 32-bit signed integer hash code. + + + + Returns a string that represents the value of this instance. + + The string representation of this instance. + + The string returned by this method takes the form (Item1, Item2, Item3, Item4, Item5, Item6, Item7, Rest). + If any field value is , it is represented as . + + + + diff --git a/packages/System.ValueTuple.4.5.0/lib/uap10.0.16299/_._ b/packages/System.ValueTuple.4.5.0/lib/uap10.0.16299/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/xamarinios10/_._ b/packages/System.ValueTuple.4.5.0/lib/xamarinios10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/xamarinmac20/_._ b/packages/System.ValueTuple.4.5.0/lib/xamarinmac20/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/xamarintvos10/_._ b/packages/System.ValueTuple.4.5.0/lib/xamarintvos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/lib/xamarinwatchos10/_._ b/packages/System.ValueTuple.4.5.0/lib/xamarinwatchos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/MonoAndroid10/_._ b/packages/System.ValueTuple.4.5.0/ref/MonoAndroid10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/MonoTouch10/_._ b/packages/System.ValueTuple.4.5.0/ref/MonoTouch10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/net461/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/ref/net461/System.ValueTuple.dll new file mode 100644 index 000000000..ba8aeb6b6 Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/ref/net461/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/ref/net47/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/ref/net47/System.ValueTuple.dll new file mode 100644 index 000000000..ed3bd7bf2 Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/ref/net47/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/ref/netcoreapp2.0/_._ b/packages/System.ValueTuple.4.5.0/ref/netcoreapp2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/netstandard2.0/_._ b/packages/System.ValueTuple.4.5.0/ref/netstandard2.0/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/portable-net40+sl4+win8+wp8/System.ValueTuple.dll b/packages/System.ValueTuple.4.5.0/ref/portable-net40+sl4+win8+wp8/System.ValueTuple.dll new file mode 100644 index 000000000..8c72a7ae7 Binary files /dev/null and b/packages/System.ValueTuple.4.5.0/ref/portable-net40+sl4+win8+wp8/System.ValueTuple.dll differ diff --git a/packages/System.ValueTuple.4.5.0/ref/uap10.0.16299/_._ b/packages/System.ValueTuple.4.5.0/ref/uap10.0.16299/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/xamarinios10/_._ b/packages/System.ValueTuple.4.5.0/ref/xamarinios10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/xamarinmac20/_._ b/packages/System.ValueTuple.4.5.0/ref/xamarinmac20/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/xamarintvos10/_._ b/packages/System.ValueTuple.4.5.0/ref/xamarintvos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/ref/xamarinwatchos10/_._ b/packages/System.ValueTuple.4.5.0/ref/xamarinwatchos10/_._ new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/useSharedDesignerContext.txt b/packages/System.ValueTuple.4.5.0/useSharedDesignerContext.txt new file mode 100644 index 000000000..e69de29bb diff --git a/packages/System.ValueTuple.4.5.0/version.txt b/packages/System.ValueTuple.4.5.0/version.txt new file mode 100644 index 000000000..47004a02b --- /dev/null +++ b/packages/System.ValueTuple.4.5.0/version.txt @@ -0,0 +1 @@ +30ab651fcb4354552bd4891619a0bdd81e0ebdbf